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.