OBV Oss Divergence

Price/Oscillator Divergence Detector.

This detects the following divergences between price and the oscillator.
  • Regular Bullish Divergence: Price lower low | Oscillator higher low
  • Regular Bearish Divergence: Price higher high | Oscillator lower high
  • Hidden Bullish Divergence: Price higher low | Oscillator lower low
  • Hidden Bearish Divergence: Price lower high | Oscillator higher high

Settings and Options.

  • Lookback windows to identify pivot points .
  • -The signal will be delayed by the number of bars used in the right lookback window.
  • Maximum range to detect divergence is the largest distance allowed between two pivots for them to be considered.
  • Option to plot hidden and regular divergences.
  • Option to use the price bars or oscillator to detect pivot points . If using price, the source used to calculate the oscillator (default is close) or high/low can be used.

Code borrowed from LazyBear (he has a long list of useful indicators)
  • Price source.
  • Lookback window.

Note: Click the settings cog next to the indicator name to access all the settings after addition of the indicator to the chart.

Links to my other indicators
TD sequential indicator

RSI Divergences

MACD Divergences

OBV Oscillator Divergences

RSI with a horizontal line

Plot MAs

Average directional index with directional movement indicator

Market Hours

Referral Links
Bitmex 10% fee discount for 6 months
TradingView (50% off after trial period ends)

Tip Jar
LTC: LM9KsXz7GUxCN9g9EjTC8ayviDEmBK14rw

Release Notes: You can now specify lower and upper values of lookback range for divergence consideration.
Remove from Favorite Scripts Add to Favorite Scripts
May I have access to this indicator? Thank you!
Could i get this please :) ?
Hello. I would like to try your script. Can i have access to it? I would really appreciate it.
Thanks for your job.

please can i have access
Nice looking indicator. May I have access to it please?
Thank you!
Interesting indicator. Would you grant me access?. TY
jdlim ipazos
I gave you access to the new version, you should get a notification. Hers a video on how to set it up
Could you please give an access to the your script ? Your indicator is very helpful to me.
I will surely return next time. Thank you so much.
jdlim zzanguru
I gave you access to the new version, you should get a notification. Hers a video on how to set it up
I would really like to try out this indicator please, thanks.
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Get Help Ideas Published Followers Following Private Messages Chat Sign Out