hedgefund.wiki — institutional knowledge base

On-Balance Volume

Technical Analysis · intermediate · CC-BY-4.0

On-Balance Volume (OBV) is a cumulative momentum indicator that relates daily trading volume to price direction: volume is added to the running total on days when a security closes higher than the previous day, and subtracted on days when it closes lower, measuring whether volume is flowing into or out of a security.

Key takeaways

Explanation

On-Balance Volume was introduced by Joseph Granville in his 1963 book 'Granville's New Key to Stock Market Profits,' based on the principle that volume precedes price. The fundamental insight is that large investors (institutions, funds) cannot hide their activity in the volume data — if a major buyer is accumulating a stock over several weeks, more volume will accompany up-days than down-days, causing OBV to rise even while the stock price may be flat or slightly declining. This rising OBV signals that a breakout is imminent.

The calculation is straightforward: begin with an arbitrary starting OBV value (often zero or the first day's volume). On each subsequent day: if close > prior close, add today's volume to OBV; if close < prior close, subtract today's volume from OBV; if close = prior close, OBV is unchanged. The resulting cumulative line tracks the directional flow of volume over time. The absolute value of OBV is meaningless; only the direction and divergences from price carry analytical significance.

OBV divergence analysis is the primary application. Bullish divergence occurs when a security's price makes a new low, but OBV makes a higher low — suggesting that selling volume has diminished on the most recent leg lower, and that buyers are absorbing supply. This often precedes a reversal or a period of consolidation that resolves to the upside. The inverse — bearish divergence, where price makes a new high but OBV fails to confirm — suggests that the price advance is not supported by expanding volume, signaling potential weakness ahead.

In the context of breakouts and breakdowns, OBV provides a critical validation layer. A technical breakout above resistance on high volume should be accompanied by a new OBV high — confirming that the breakout reflects genuine buying interest rather than a low-volume, easily reversible move. Similarly, a breakdown through support accompanied by expanding OBV to the downside suggests significant distribution that is likely to sustain the bearish move. Many technical traders will not act on a price breakout unless OBV simultaneously confirms the move.

OBV is most powerful when used in conjunction with price trend indicators (such as exponential moving averages) and volatility measures (such as Average True Range). A breakout signal with confirming OBV, occurring after ATR has expanded from low volatility (a 'volatility squeeze'), and with the short-term EMA crossing above the long-term EMA, represents a multi-factor confirmation that significantly improves signal reliability over any single indicator in isolation.

Formula

OBVₜ = OBVₜ₋₁ + Volumeₜ if Closeₜ > Closeₜ₋₁; OBVₜ₋₁ − Volumeₜ if Closeₜ < Closeₜ₋₁; OBVₜ₋₁ if Closeₜ = Closeₜ₋₁

Example

A technical analyst examines an energy stock over a 20-day period. Over the first 10 days, the stock trades sideways between $45 and $47, but OBV trends steadily higher — from 1.2M to 1.8M — as large-volume up-days outnumber down-days despite flat prices. This OBV accumulation pattern suggests institutional buying. On Day 15, the stock breaks above the $47 resistance level on volume of 3.5M shares (versus a 20-day average of 1.2M shares per day). OBV surges to 3.1M — a new 20-day high, decisively confirming the breakout. The analyst enters a long position at $47.50 with a stop-loss at $45.80 (below the prior range support). The stock subsequently rallies to $54 over the next three weeks, with OBV continuing to confirm the trend by making new highs on every major up-day.

Related terms

Average True Range Breakdown Breakout Exponential Moving Average Momentum Indicator Resistance Level Reversal Stock Volatility