OPEN-SOURCE SCRIPT
Bars Since Last EMA Touch

This indicator keeps track of how many bars since price touched any EMA last time. You can for example
set 200 EMA. Tell the script to send an alert if/when 400 bars has been reached away from the EMA 200.
- You can hide/show The EMA Line.
- You can hide/show bar Count.
- You can set X bars from EMA to get Alert.
- You can change color of The Badge and EMA line to fit your background colors.
Enjoy!
Another Indicator From The Hunter Trading Group
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.