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.
You can backtest the amount of candles by set GAP as anything in settings. This way you may find good EMA's
and distances on all timeframes. There will be a badge where last amount set hit last time.
Example:
parthmyatra1
⋅
how about automatically finding avg finding avg .
The-Hunter
⋅
Hello @parthmyatra1, I do not use this indicators personally. So I will not develop it further. Thanks!