OPEN-SOURCE SCRIPT
EMA Cross (with HTF Option)

Apply this indicator to your chart.
On any timeframe (especially 1m):
Make sure “Use fixed HTF for EMA 1 & 2?” = ON
Set HTF Resolution = "3"
EMA 1 (black) and EMA 2 (red) will now be the 3m 9 & 20 EMAs, even on the 1m chart.
EMA 3 & 4 stay as your normal local EMAs (50 & 200, or whatever you want).
On any timeframe (especially 1m):
Make sure “Use fixed HTF for EMA 1 & 2?” = ON
Set HTF Resolution = "3"
EMA 1 (black) and EMA 2 (red) will now be the 3m 9 & 20 EMAs, even on the 1m chart.
EMA 3 & 4 stay as your normal local EMAs (50 & 200, or whatever you want).
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.