What Is On-Balance Volume?
On-Balance Volume (OBV) is a cumulative volume indicator created by Joseph Granville and introduced in his 1963 book Granville's New Key to Stock Market Profits. It was one of the earliest indicators to incorporate volume into technical analysis, based on the premise that volume precedes price. When smart money is accumulating shares, volume increases on up days. When institutions are distributing, volume increases on down days.
OBV maintains a running total that adds volume on days the closing price is higher than the previous close and subtracts volume on days the close is lower. The resulting line creates a visual representation of cumulative buying and selling pressure. The absolute value of OBV is irrelevant; what matters is the direction and slope of the OBV line relative to price action. A rising OBV confirms bullish price action, while a falling OBV confirms bearish price action.
The true power of OBV emerges when it diverges from price, because this reveals a conflict between what price appears to be doing and what volume is actually doing beneath the surface. These divergences frequently precede significant trend reversals.
How OBV Is Calculated
The calculation is straightforward. Start with any arbitrary base number (often zero). Then for each trading day, apply one of three rules:
If today's close is above yesterday's close: OBV = Previous OBV + Today's Volume.
If today's close is below yesterday's close: OBV = Previous OBV - Today's Volume.
If today's close equals yesterday's close: OBV = Previous OBV (no change).
Because OBV is cumulative, its absolute value depends entirely on the starting point and has no inherent meaning. A stock with OBV at 50 million is not "better" than one at 5 million. The only thing that matters is the shape and direction of the OBV line. Is it trending upward? Are its peaks and troughs rising or falling? Does it agree with or diverge from the price chart? These are the questions that produce actionable signals.
How to Use OBV
Trend confirmation. The most basic use of OBV is to confirm that volume supports the current price trend. If price is making higher highs and OBV is also making higher highs, the uptrend has strong volume backing and is likely to continue. If price is making lower lows and OBV is also declining, the downtrend is confirmed.
Divergence detection. The most valuable OBV signal is divergence. Bearish divergence occurs when price makes a higher high but OBV fails to make a new high, as shown in the chart above. This means less volume is fueling the price advance, a warning sign that the rally may be exhausting. Bullish divergence is the mirror image: price makes a lower low, but OBV holds higher, suggesting accumulation is happening despite falling prices.
Breakout confirmation. When a stock breaks out of a consolidation pattern, check whether OBV is also breaking out. If OBV has been trending upward during the consolidation and breaks to new highs alongside price, the breakout has strong conviction. If OBV is flat or declining during the breakout, be cautious since the move may lack follow-through.
OBV with a moving average. Applying a 20-period SMA to the OBV line helps smooth out noise. When OBV crosses above its 20 SMA, it suggests building buying pressure. When it crosses below, selling pressure is increasing. This approach is especially useful on noisy intraday charts where raw OBV can be erratic.
Common Mistakes
Focusing on the absolute OBV value. Traders sometimes compare OBV levels between different stocks or different time periods. This is meaningless. OBV is a cumulative running total, and its value depends on the starting point. Only compare OBV's direction and slope to price, never its absolute number.
Ignoring the broader context. OBV divergence is a warning, not a timing signal. A bearish divergence can persist for weeks while price continues higher. Always wait for price confirmation, such as a break of a support level or a bearish candlestick pattern, before acting on a divergence signal.
Using OBV in isolation. OBV is a confirmation tool, not a standalone system. It works best when combined with price action analysis, support/resistance levels, and other indicators like MACD or RSI. Use OBV to validate what other tools are telling you, not as your sole decision-making input.
Applying OBV to low-volume assets. OBV is only as reliable as the volume data feeding it. Thinly traded stocks, ETFs with minimal volume, or after-hours data can produce misleading OBV readings. Stick to liquid instruments where volume genuinely reflects market participation.
Recommended Settings
| Configuration | Style | Best For |
|---|---|---|
| Raw OBV (no smoothing) | Default | Daily charts, divergence analysis, trend confirmation |
| OBV + 20 SMA | Smoothed | Noisy markets, crossover signals, intraday |
| OBV + 50 SMA | Conservative | Weekly charts, long-term accumulation/distribution |
| OBV + 10 EMA | Aggressive | Short-term swing trades, momentum confirmation |
Frequently Asked Questions
Related Indicators
Related Tools & Guides
Part of our Technical Analysis Guide