OBV — On-Balance Volume

A cumulative volume indicator that confirms price trends and reveals hidden divergences between volume flow and price action.

Volume
PRICE High 1 Higher High OBV OBV High Lower High Bearish Divergence BUY SELL OBV confirms trend ! Warning OBV — Trend Confirmation & Bearish Divergence

Bullish Signals

Bearish Signals

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

On-Balance Volume (OBV) is a cumulative volume-based indicator developed by Joseph Granville in 1963. It adds volume on up days and subtracts volume on down days, creating a running total that reflects buying and selling pressure. When OBV rises, buyers are in control. When OBV falls, sellers dominate. It is one of the oldest and most reliable volume indicators used in technical analysis.
OBV uses a simple cumulative calculation. If today's close is higher than yesterday's, today's volume is added to the running OBV total. If today's close is lower, today's volume is subtracted. If the close is unchanged, OBV stays the same. The absolute number does not matter; only the direction and slope of the OBV line are significant for analysis.
OBV divergence occurs when price and OBV move in opposite directions. Bearish divergence happens when price makes a higher high but OBV makes a lower high, suggesting that the price rally lacks volume support and may reverse. Bullish divergence happens when price makes a lower low but OBV makes a higher low, indicating accumulation is occurring despite falling prices. Divergence is the most powerful and actionable OBV signal.
OBV works on daily, weekly, and intraday charts, but it is most reliable on daily and weekly timeframes where volume data is most consistent and meaningful. On very short intraday timeframes, volume can be erratic and OBV may produce noisy signals. For intraday volume analysis, VWAP is often preferred over OBV because it accounts for both price and volume together.
OBV itself has no adjustable parameters since it is simply a cumulative sum of signed volume. However, many traders apply a moving average to the OBV line to smooth out noise. A 20-period SMA is the most common choice. When OBV crosses above its moving average, it signals building buying pressure. When it crosses below, selling pressure is increasing. Some traders also use a 10 EMA for faster signals.

Related Indicators

Related Tools & Guides

Part of our Technical Analysis Guide