OPEN-SOURCE SCRIPT
Cumulative Volume Delta Divergence [TradingFinder] Periodic EMA

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.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
交个朋友
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
交个朋友
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.