As my divergences script became popular, I got few requests for making divergences scripts on other indicators.
One of most popular and requested indicators next to is OBV ( ) which measures buy and sell 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 divergences scripts:
Divergences - regular - Divergences - candle edition -
- 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 - Candle edition