OPEN-SOURCE SCRIPT
Updated

Price Divergence Detector V3 revised by JustUncleL

142822
This is a revised version of the original "Price Divergence Detector by RicardoSantos".
Description:
Price Divergence detection for various methods : RSI, MACD, STOCH, VOLUME, ACC-DIST, FISHER, CCI, BB %B and Ehlers IdealRSI. Both Hidden and Regular Divergences are detected.

Mofidifications:
Revision 3.0 by JustUncleL
  • Added option to disable/enable Hidden and Regular Divergence
  • Added new divergence method BB %B (close only)
  • Added new divergence mothos Ehlers IdealRSI (close only)


Revision 2.0 - by RicardoSantos

References:
Information on Divergence Trading:
Release Notes

Updated to Revision 3 of Pinescript
Updated with some RicardoSantos version 2.022 revisions.
Release Notes
..
Added Elders Force Index method.
Other small changes.
Release Notes
3.2 Update
  • Added Trend Volume Accumulation, this option really works only well with Renko and HA candles. You have the option to use EMA for trend direction change instead of candle bull/bear direction.
  • NOTE: Trader discretion is required to manually filter out invalid Divergence, there is no account made for the length of each trend when comparisons are made.

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.