[RS]Price Divergence Detector V2

UPDATE: added CCI to the list of oscilators.
Jun 18
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.
Jun 19
Release Notes: fixed some erroneous calculations on how the divergences were detected and filtered.
Aug 04
Release Notes: • Added RSI Stochastic.
• Adjusted some inputs.
Remove from Favorite Scripts Add to Favorite Scripts
HUGE contribution!! Thank you!!
Looks great. Is there any way to add alerts at all? Would appreciate your help, thanks
Is it possible to get the indicator earlier than 2 candles as in my observation it indicates on the 3rd candle?
Could you add Stoch RSI to divergences? It would be very useful.
can"t add to chart, anyone else?
Very nice!

How can i make it show each divergences at the same time? currently you can only choose one indicator at a time
@jinny1, add it 2 times to the chart and setup each script individually as you see fit
+1 Reply
Hi! Could you please describe what your script do and how it helps to trade?
+13 Reply
This is priceless!! Thank RicardoSantos!
Sir is there any way to get this indicator for MT4...
+2 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out