On-Balance Volume (OBV) is one of the earliest volume-based technical indicators, developed by Joe Granville in 1963. Despite its age, it remains a staple of technical analysis because it is simple to calculate, easy to understand, and surprisingly effective at revealing whether institutional money is accumulating or distributing a stock before the price action confirms the trend. This guide explains how OBV works, how to read it, and how to use it as a confirmation and divergence tool.
Quick Answer: A Running Total That Adds Volume on Up Days and Subtracts It on Down Days
On-Balance Volume is a cumulative indicator that adds the day's volume to a running total when the stock CLOSES UP and subtracts the day's volume when the stock CLOSES DOWN. When the close is unchanged, the volume is ignored. The result is a single running total line that moves up on buying days and down on selling days.
The absolute value of OBV is meaningless (it depends on when you started calculating). What matters is the DIRECTION and the SLOPE of the OBV line, and whether it confirms or diverges from the price action.
**Key uses of OBV**: 1. **Trend confirmation**: when OBV is rising along with price, the uptrend is confirmed by volume. When OBV is flat or declining while price rises, the uptrend is NOT confirmed and is suspicious. 2. **Divergence detection**: when price makes new highs but OBV does not, this is a BEARISH divergence suggesting the rally is losing buyer conviction. When price makes new lows but OBV does not, this is a BULLISH divergence suggesting the decline is losing seller conviction. 3. **Early warning**: OBV often changes direction BEFORE price does, giving traders advance notice of trend changes. Granville called OBV "smart money" detection because institutional accumulation and distribution often show up in volume before they appear in price.
OBV is not a standalone trading system. It is a CONFIRMATION tool — you use it to validate or question what you see in the price action. Traders who use OBV as their only signal get caught in fakeouts; traders who use OBV alongside price patterns, trend analysis, and other indicators get a significant edge.
Screenshot any chart and Charted calculates OBV, identifies divergences, and flags when the volume signature supports or contradicts the price trend.
This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk of loss.
The OBV Calculation: How the Running Total Works
OBV is calculated one bar at a time based on whether the close is higher, lower, or unchanged compared to the previous close.
**The formula**: - If today's close > yesterday's close: OBV = yesterday's OBV + today's volume - If today's close < yesterday's close: OBV = yesterday's OBV − today's volume - If today's close = yesterday's close: OBV = yesterday's OBV (unchanged)
**Worked example**: Starting OBV = 0 (arbitrary starting point; absolute value doesn't matter).
| Day | Close | Volume | Change | OBV | |-----|-------|--------|--------|-----| | 1 | $100 | 1,000 | starting | 0 | | 2 | $102 | 1,500 | up | 0 + 1,500 = 1,500 | | 3 | $103 | 2,000 | up | 1,500 + 2,000 = 3,500 | | 4 | $101 | 1,800 | down | 3,500 − 1,800 = 1,700 | | 5 | $105 | 3,000 | up | 1,700 + 3,000 = 4,700 | | 6 | $104 | 1,200 | down | 4,700 − 1,200 = 3,500 | | 7 | $108 | 2,800 | up | 3,500 + 2,800 = 6,300 |
After 7 days, the OBV is 6,300. The absolute value is meaningless (it depends on where we started). What matters is the SHAPE of the OBV line compared to the price line over the same period.
**Key insight**: OBV treats all volume on an up day equally, regardless of how much the price moved. A stock that closes up 0.1% with 5 million shares of volume adds 5 million to OBV — the same as a stock that closes up 8% with 5 million shares. This simplification is both a strength (keeps OBV simple and avoids over-interpretation) and a weakness (ignores the magnitude of price moves).
More sophisticated variants of OBV (like Money Flow Volume or Accumulation/Distribution Line) weight volume by the price range within the bar. OBV itself is simpler and focuses purely on the direction of the close.
Reading OBV: Confirmation, Non-Confirmation, and Divergence
The real power of OBV is in comparing its movement to the price movement. Three scenarios matter:
**1. Confirmation (both rising)**: Price is making higher highs and higher lows (uptrend), and OBV is also making higher highs and higher lows. This means buying pressure is supporting the rally. The trend is healthy and likely to continue. Most high-probability uptrends show this pattern.
**2. Non-confirmation (price rising, OBV flat)**: Price is making higher highs, but OBV is flat or only slightly rising. This means the rally is happening on weak volume — the price is going up, but institutional money is not meaningfully participating. The rally is vulnerable to reversal when the limited buying pressure exhausts.
**3. Divergence (price rising, OBV falling)**: Price is making higher highs while OBV is actually making LOWER highs or even declining. This is a strong bearish divergence — the price is rising but volume is actually flowing out of the stock. Distribution is happening behind the scenes while the surface price action looks bullish. This is a classic warning sign of an impending reversal.
The same three scenarios apply in downtrends, with opposite meanings: - Downtrend with falling OBV = confirmed downtrend (healthy). - Downtrend with flat OBV = weak selling pressure, vulnerable to bounce. - Downtrend with RISING OBV = bullish divergence, accumulation happening during the decline.
**Famous examples in market history**: OBV has been particularly good at catching major tops and bottoms where divergence signals appear weeks or months before the price reversal. The 2007 market top, the 2000 dot-com top, and the March 2020 COVID bottom all showed OBV divergences before the major price moves. Of course, many OBV divergences do NOT lead to reversals — it is a signal, not a guarantee.
Charted identifies OBV divergences automatically and classifies them as weak, moderate, or strong based on the duration and magnitude of the divergence.
Practical Trading Setups With OBV
OBV is not typically used as a standalone entry signal. It is used to confirm or question signals from other sources. Here are the common practical setups:
**Setup 1: Breakout confirmation**. When a stock breaks out above resistance or a chart pattern (cup and handle, triangle, flag), check the OBV. If OBV is also breaking above its own recent highs on the same day, the breakout is confirmed by strong underlying buying. If OBV is lagging or flat, be skeptical of the breakout.
**Setup 2: Divergence at a trend extreme**. At the end of an extended uptrend, watch for OBV to fail to make new highs while price does. This bearish divergence is a warning to take profits or tighten stops. The same pattern at the bottom of a downtrend (OBV making higher lows while price makes lower lows) suggests accumulation and a potential reversal.
**Setup 3: Support / resistance alignment**. When a stock approaches a key support level, look at OBV. If OBV has been rising into the support test, buyers are accumulating and the support is likely to hold. If OBV has been falling, the support is weakening and more likely to break.
**Setup 4: Moving average on OBV**. Some traders apply a moving average (typically 20-period) to the OBV line to smooth it out and generate signals when OBV crosses above or below its moving average. A cross above the MA is a bullish signal; a cross below is bearish. This is a lagging but reliable approach.
**Setup 5: OBV trend line**. Draw trend lines directly on the OBV line (using the same principles as price trend lines — requires 3+ touches). When the OBV trend line is broken, it often precedes a price trend line break. This gives early warning of trend changes.
**Limitations**: - OBV cannot distinguish between genuine institutional accumulation and random market noise. Short-term OBV signals are often noise. - OBV works best on stocks with stable liquidity. Illiquid stocks with erratic volume produce erratic OBV signals. - Gap openings can distort OBV because the close is compared to the previous close, but the gap movement happened overnight without intraday volume. - OBV does not account for the magnitude of the price change — a tiny up day counts the same as a big up day.
OBV vs Other Volume Indicators
OBV is one of several volume-based indicators. Understanding how it differs from alternatives helps you choose the right tool for the right analysis.
**OBV vs Accumulation/Distribution Line (A/D)**: A/D weights volume by the position of the close within the bar's range. A bar that closes near the high of the range gets more volume added to A/D than a bar that closes in the middle. OBV treats all up-close volume equally. A/D is more nuanced; OBV is simpler. Both can produce divergence signals, but A/D is often considered more refined.
**OBV vs Money Flow Index (MFI)**: MFI is like RSI but uses both price and volume. It produces overbought/oversold readings on a 0-100 scale, which is easier to interpret than OBV's running total. MFI is useful for mean-reversion trading; OBV is better for trend confirmation.
**OBV vs Volume Weighted Average Price (VWAP)**: VWAP is the volume-weighted average price for the day or period. It is primarily used for intraday execution (institutional traders benchmark against VWAP) rather than trend analysis. OBV and VWAP are used for completely different purposes despite both being volume-based.
**OBV vs Chaikin Money Flow (CMF)**: CMF is similar to A/D but normalizes to a -1 to +1 range over a specific period (typically 20 days). It is easier to compare across stocks and periods than A/D. OBV is simpler but requires visual comparison with price.
For most retail traders, the choice between OBV, A/D, and CMF is a matter of personal preference. They all measure similar things (buying vs selling pressure) using slightly different math. OBV has the advantage of being the simplest and the most widely understood, which means more traders are watching the same signals.
Charted supports OBV, A/D, MFI, and CMF and can display multiple volume indicators simultaneously for cross-validation of signals.
When OBV Works and When It Fails
OBV works best in: - Medium and large cap stocks with consistent institutional participation - Longer timeframes (daily and weekly charts) where the running total has time to build meaningful patterns - Trending markets where divergences are meaningful - Confirmation of chart patterns like cup and handle, triangles, flags
OBV fails in: - Thin, illiquid stocks with erratic volume - Choppy, range-bound markets where divergence signals mean nothing - Intraday timeframes where noise dominates - Stocks with unusual volume distribution (earnings-driven stocks, news-driven stocks)
The consistent theme: OBV is a confirmation tool for traders already using price analysis and trend identification. It adds information about whether the volume is supporting or contradicting the price action. It is NOT a standalone trading system and should not be used to generate buy/sell signals without price-based context.
Many successful traders use OBV as a sanity check on every trade — before entering, they verify that OBV is aligned with the price signal, and they avoid trades where OBV is contradicting the apparent direction. This filter alone eliminates many fakeout trades and improves win rates significantly.
Charted includes OBV in its multi-indicator analysis and flags when OBV is supporting, neutral, or contradicting the price action for any trade setup you evaluate.