Skip to content
Syed Ibrahim Omer edited this page Apr 13, 2026 · 1 revision

OBV (On-Balance Volume)

What it is

OBV is a cumulative volume indicator that adds volume on up closes and subtracts volume on down closes.

Output column

  • obv

Definition

For each row (t):

  • if (close_t > close_{t-1}), add volume
  • if (close_t < close_{t-1}), subtract volume
  • else add 0

OBV is the cumulative sum of that signed volume.

Configuration

OBV has no window parameter in the current implementation.

Related pages:

Clone this wiki locally