PROTECTED SOURCE SCRIPT
Updated

TDI Divergence

7 782
Script looks for divergencies on TDI. Divergencies are created by fast MA. First divergence leg has to be outside of volatility bands. After that, fast MA has to cross middle of volatility bands and then create second leg. When second leg is created, there have to be two candles with the same color in the direction of divergence.

Alerts are supported.
Release Notes
There have been added background colors on 1 and 2 candle in the direction of divergence when the divergence is found.

Disclaimer

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.