Skip to content
Algo Trade Analytics Docs

ta.obv - Pine Script Variable

On Balance Volume.

float

series

//@version=6
indicator("On Balance Volume")
plot(ta.obv, color=color.yellow)// the same on pinef_obv() => ta.cum(math.sign(ta.change(close)) * volume)
plot(f_obv())