Library · Indicators
OBV (On-Balance Volume)
On-Balance Volume is a running total that adds a period's volume when price closes higher and subtracts it when price closes lower.
Why it matters
Price shows where a market traded. Volume shows how much traded there. On-Balance Volume, or OBV, joins the two in one line by asking a single question each period: did this period’s volume arrive on a higher close or a lower close?
The idea was popularised by Joseph Granville in the 1960s. His reasoning was that volume shows how much participation stands behind a move. That reasoning is an interpretation, not a law. This page explains what the line records and where the interpretation runs out.
What it looks like
OBV is a single line in a separate panel. It has no fixed scale, no upper or lower limit and no reference levels. The number on the axis depends on where the calculation started, so a reading of 2,700 or 2,700,000 means nothing by itself. Only the direction and shape of the line carry information.
In plain words
Picture a scorekeeper at a tug-of-war. Each round, the scorekeeper adds the size of the crowd to the score if team Up won and subtracts it if team Down won. The score itself depends on when the counting began. What you can read is whether the score has been climbing or sinking, and whether it agrees with what you see on the field.
How it is calculated
- Compare closesIs this close above or below the previous close?
- Higher closeAdd the whole period's volume to the total.
- Lower closeSubtract the whole period's volume from the total.
- Same closeLeave the total unchanged.
Higher close: OBV = previous OBV + volumeLower close: OBV = previous OBV - volume. Same close: OBV = previous OBV.The first value is arbitrary. Many platforms start the total at zero or at the first period’s volume.
A hypothetical five-period tallyHypothetical illustration
Start the total at 0 on period 1. All prices and volumes are made up.
| Period | Close | Volume | Change in close | OBV |
|---|---|---|---|---|
| 1 | 100 | 1,000 | start | 0 |
| 2 | 102 | 1,500 | higher | 0 + 1,500 = 1,500 |
| 3 | 101 | 800 | lower | 1,500 - 800 = 700 |
| 4 | 101 | 600 | same | 700 |
| 5 | 104 | 2,000 | higher | 700 + 2,000 = 2,700 |
Had the tally started at 50,000 instead of 0, every value would be 50,000 higher and the line would have exactly the same shape.
Notice how blunt the rule is. A period that closes 0.01 higher adds its entire volume, exactly like a period that closes 5 higher. OBV records direction, not size.
Settings
OBV itself has no period setting. That makes it harder to tune than most indicators, which is a strength. Three choices still change what you see:
| Choice | Effect |
|---|---|
| Timeframe | Each timeframe has its own closes and volumes, so OBV on a 15-minute chart and on a daily chart are different lines |
| Starting point | Shifts the whole line up or down without changing its shape |
| Optional smoothing average | Some platforms draw a moving average of OBV; a shorter average reacts faster and crosses more often, a longer one is smoother and slower |
Adjusting the smoothing average until past crossings line up with past turns is overfitting. It describes the past chart, not the next one.
How to read it
AGREEMENT
Price and OBV make new highs (or new lows) together.
- Volume has been heavier in the direction of the move
- Commonly read as participation matching price
- Describes the past, not the next period
DISAGREEMENT
Price makes a new high but OBV does not, or the reverse.
- Called a divergence
- Commonly read as participation thinning
- Can persist for a long time without any turn
- Rising OBV means more volume has traded on higher closes than on lower closes. It is commonly interpreted as participation supporting an advance.
- Falling OBV means the opposite: volume has been heavier on lower closes.
- Flat OBV means volume has been roughly balanced between the two.
Because the level is meaningless, practitioners read OBV the way they read price: by its swing highs and swing lows. When price breaks out of a range and OBV also moves to a new high, the two agree. When price makes a new high and OBV does not, that is a divergence.
Going deeper
OBV is one of several participation tools. The Money Flow Index also blends price and volume but squeezes the result onto a 0-100 scale, and VWAP uses volume to weight an average price. All of them draw on the same volume column, so they tend to repeat each other.
Traders who use OBV usually treat it as a secondary check on something they already see in market structure, such as a breakout from a well-tested level. The structure sets the context. OBV only describes whether volume has leaned the same way.
What it does NOT mean
- Rising OBV does not mean buyers outnumber sellers. Every trade has a buyer and a seller. OBV only labels each period’s volume by whether the close was higher or lower.
- A divergence does not announce a reversal. Price can keep trending through long disagreements with OBV.
- The OBV value does not measure anything by itself. It depends on the starting point. Comparing the OBV number of two assets, or of two chart windows, is meaningless.
- OBV does not reveal who is trading. It cannot tell large participants from small ones, or new positions from closing ones.
Common mistakes
- Reading the number instead of the direction. Only the slope and the swings matter.
- Treating every divergence as a turning point. Divergences appear often and many lead nowhere.
- Forgetting the all-or-nothing rule. One huge-volume period with a tiny price change can shift the line permanently and distort its shape for a long time.
- Ignoring where the volume data comes from. In crypto, each exchange reports its own volume, so OBV can look different on different venues for the same asset.
- Tuning a smoothing average to fit history. Settings chosen with hindsight rarely hold up on new data.
Risks and limitations
- OBV is built entirely from past closes and past volume. It describes what has happened, not what comes next.
- It ignores the size of each price change and everything that happened inside the period.
- Reported volume can be incomplete or inflated on some venues, as explained in trading volume. OBV inherits every flaw in that data.
- Gaps, single news-driven spikes and thin trading can bend the line in ways that say little about ordinary participation.
Key takeaway
OBV is a running tally of volume, added on higher closes and subtracted on lower ones. Its direction describes whether volume has leaned with price or against it, and that description is context, never a signal.
Sources and further reading
- Granville's New Key to Stock Market Profits, Joseph E. Granville (1963). The book that popularised On-Balance Volume
- Technical Analysis of the Financial Markets, John J. Murphy (1999)