RicardoSantos

[RS]Price Divergence Detector V2

UPDATE: added CCI to the list of oscilators.
Release Notes: Update code to pinescript version3. Added filtering options, divergences that are within parameters will be marked with a F label, price change is a absolute value.
Release Notes: fixed some erroneous calculations on how the divergences were detected and filtered.
Release Notes: • Added RSI Stochastic.
• Adjusted some inputs.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

Great work Ricardo! I am using the RSI divergence using your tool on a 5-min chart, and have noticed that the signal appears after the 3rd candle. Is it possible to get the divergence signal at the time when the divergence takes place? Thanks again!
100 coins
+7 Reply
Hi! Could you please describe what your script do and how it helps to trade?
+34 Reply
Sir is there any way to get this indicator for MT4...
+6 Reply
Looks great. Is there any way to add alerts at all? Would appreciate your help, thanks
+5 Reply
Ricardo,

I am testing Divergence detector version 2. It seems indicator is not detecting all the divergence. In the image(path), please check the arrow mark. Is there any solution to fix this. I have given oscillator length as 7 and Method 0.

https://s30.postimg.org/mxglxki75/Image.png
+2 Reply
RicardoSantos ramkirshnavarma
is the rsi using low as source on the oscillator?
Reply
ramkirshnavarma RicardoSantos
I have updated the source from CLOSE to LOW . Please see the image below. But still not showing. Is there any other setting to be fixed

https://s13.postimg.org/rx4jnjucn/Source.png
Reply
HUGE contribution!! Thank you!!
+1 Reply
Thanks RicardoSantos
Its very nice. great work.
+1 Reply
Hi, Does it repaint?
ca.piyush90@gmail.com
+91-9879103634
Reply