As my RSI divergences script became popular, I got few requests for making divergences scripts on other indicators. One of most popular and requested indicators next to RSI is OBV (on balance volume) which measures buy and sell volume based on candle close (green/red).
So finally, here it is, divergences script for OBV. I'll probably also make candle edition script after I iron out bugs on this one.
Have fun and good luck with trading.
Note for those that are not familiar, here you can find my RSI divergences scripts: RSI Divergences - regular - RSI Divergences - candle edition -
Release Notes
What new:
adapted script to new pine language version (v4)
removed 8 n/a value that were cluttering indicator interface next to RSI value (only possible with v4 pine language)
added option to have colored indicator background instead of BULL/BEAR labels
You can also check out my two other popular divergences scripts.
RSI divergences
RSI divergences - Candle edition
Release Notes
Small fix: Pivots didn't hide if you checked both "Hide pivot" and "Color background".
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.