gb50k

On Balance Volume/Price

First, look at the chart, then read.

Use OBV/Price to see a price adjusted by 'On Balance Volume' - (OBV), a momentum indicator that measures positive and negative volume flow, was developed by Joseph Granville and introduced in 1963.

The indicator, together with trend lines, provides good entry/ exit points.
In the chart note the exit point before the crash.
Also, note the "wedge" - a bit lees optimistic that the 'price only' wedge for SPY.


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.

Disclaimer

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.

Want to use this script on a chart?
study(title="On Balance Volume/Price", shorttitle="OBV/PRICE")
src = close
obv = cum(change(src) > 0 ? volume : change(src) < 0 ? -volume : 0*volume)
plot(obv/src, color=blue, title="Price_OBV")