On-balance volume

obvvolumeForge API 1

Volume added on up closes and taken away on down closes.

Inputs

NameTypeDefault
volumevolumetick

Outputs

NameTypeRequiredDescription
obvvalueOptionalcolor theme.accent, style line, width 1
Warm-up
0 bars (0 at the defaults)
Repaints
No
Parity
TA-Lib, within 1e-9

Formula

A running total of volume, added on an up close and taken away on a down close, starting with the first bar's volume

It depends on where the data starts.