---
type: "Lesson"
title: "On-balance volume (OBV)"
description: "On-balance volume (OBV) is a running total of volume that adds a day's volume when the price closes higher and subtracts it when the price closes lower."
tags: ["obv","on balance volume","volume indicator","granville","accumulation","volume"]
sources: [{"id":"s1","resource":"https://en.wikipedia.org/wiki/On-balance_volume"}]
generated: {"by":"process:eqdoc-okf-export","at":"2026-10-25"}
stale_after: "2027-04-25"
x-eqdoc-id: "ta-on-balance-volume"
x-eqdoc-reviewed-at: "2026-10-25"
x-eqdoc-questions: ["What is on-balance volume?","How is OBV calculated?","How do I read the OBV line?"]
x-eqdoc-licence-note: "Written by eqdoc in its own words; facts checked against the CC BY-SA page listed"
---

On-balance volume (OBV) is a running total of volume that adds a day's volume when the price closes higher and subtracts it when the price closes lower.

- **Who.** Joseph Granville popularised it in the 1960s. The TA-Lib function is `OBV`.
- **How it is calculated.**
  `If Close today > Close yesterday: OBV = OBV yesterday + Volume today`
  `If Close today < Close yesterday: OBV = OBV yesterday - Volume today`
  `If the closes are equal: OBV is unchanged`
- **A made-up example.** Starting at zero: day 1 closes up on 10 lakh shares (OBV 10 lakh); day 2 closes down on 4 lakh (OBV 6 lakh); day 3 closes up on 7 lakh (OBV 13 lakh).
- **How analysts read it.** Only the direction of the line matters, not its number. A rising OBV describes more volume on up-days than down-days; a falling OBV the reverse. Analysts compare it with price: if price is flat but OBV has been rising, they describe volume as concentrated on up-days. When price makes a new high and OBV does not, they call it a divergence.
- **What it does not tell you.** The level depends entirely on the start date, so OBV values cannot be compared between charts or stocks. A whole day's volume is credited one way even if the close was up by just ₹0.05, so one large-volume day can swing the line. It does not show who traded or why, and it does not predict the next move.
- **India note.** Volume should be read on the exchange you are charting, NSE or BSE, or combined. Block deals and index rebalancing days can produce one-off volume spikes that distort OBV. Volume is not adjusted the way price is, so after a split or bonus the share count jumps; use adjusted volume if your source offers it.
