OPEN-SOURCE SCRIPT

Cumulative Volume Delta Divergence [TradingFinder] Periodic EMA

977
1. Added a minimum price difference filter for divergence signals. A divergence will only be shown when the price difference between the two pivot highs or pivot lows is greater than 2.0.

2. Added protection against zero-range candles. If a candle has the same high and low price, the volume delta calculation will safely return zero instead of causing a calculation error.

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.