On-Balance Volume (OBV): Confirm Breakouts & Divergences
OBV adds volume on up days and subtracts it on down days to show whether money is flowing in or out. Learn the formula, divergences and how to confirm breakouts.
On-Balance Volume (OBV) is a cumulative volume indicator that adds a day's volume to a running total when the stock closes higher and subtracts it when the stock closes lower. The resulting line shows whether volume is flowing into or out of a stock, and traders use it to confirm breakouts and to spot divergences between volume and price.
This guide covers the formula, how to read OBV's trend, how to trade OBV divergences and breakout confirmation, and its limits. It is educational only, not financial advice. OBV is a lagging, imperfect tool, past results do not guarantee future ones, and all numbers are hypothetical.
Key takeaways
- OBV is a running total: add the day's volume on an up close, subtract it on a down close, and leave it unchanged when the close is flat.
- The level of OBV means nothing by itself; only its direction and its agreement or disagreement with price matter.
- A breakout where OBV also makes a new high is better supported than one where OBV lags behind.
- Bullish divergence (price makes a lower low while OBV makes a higher low) hints that selling is weakening, and bearish divergence hints the opposite; neither is a trigger alone.
- OBV treats all volume on an up day as buying, so one huge-volume day can distort it; always check the chart.
What is On-Balance Volume?
OBV was introduced by Joseph Granville in the 1960s on a simple idea: volume precedes price. If heavy volume keeps showing up on up days, accumulation may be happening even before price breaks out. If volume keeps showing up on down days, distribution may be underway.
The indicator condenses that into one line that sits beneath price. A rising OBV line means up-day volume is outweighing down-day volume. A falling line means the reverse.
How is OBV calculated?
Start with any number, then update each day based on the close:
- If today's close is higher than yesterday's close: OBV = previous OBV + today's volume.
- If today's close is lower: OBV = previous OBV - today's volume.
- If the close is unchanged: OBV = previous OBV.
Worked calculation (hypothetical)
| Day | Close | Volume | Change | OBV |
|---|---|---|---|---|
| 1 | $20.00 | 1.0M | start | 0 |
| 2 | $20.40 | 1.4M | up | +1.4M |
| 3 | $20.20 | 0.8M | down | +0.6M |
| 4 | $20.90 | 2.1M | up | +2.7M |
| 5 | $21.30 | 1.9M | up | +4.6M |
Here price is rising and OBV is rising with it, and the up days carry heavier volume than the down day. The absolute number depends on where the calculation started, so it is meaningless across charts. Compare the slope, not the level.
How do you read the OBV trend?
A rising OBV in a rising stock confirms the uptrend, and a flat or falling OBV in a rising stock is a warning. Look at OBV the way you read price: higher highs and higher lows are healthy, and lower highs and lower lows are not.
- OBV rising with price: volume supports the trend.
- OBV flat while price rises: the advance is not attracting additional volume. Be careful.
- OBV rising while price is flat: possible quiet accumulation inside a base.
- OBV falling while price is flat or rising: possible distribution.
Some traders add a moving average, such as a 20-day average of OBV, to make crossovers easier to spot. Others draw trendlines on the OBV line itself. A break of an OBV trendline sometimes comes before the price trendline breaks, though not reliably.
How do you use OBV to confirm a breakout?
A breakout is better supported when OBV moves to a new high at or before the price breakout. This means that buyers have been accumulating, so the price move is backed by volume and not a thin spike.
A practical confirmation checklist:
- Price closes above a clear resistance level or base high.
- OBV makes a new high for the base period on the same day or just before.
- The breakout day's volume is well above average; relative volume of 1.5x or more is a common benchmark.
- OBV did not collapse during the base. A base where OBV drifted up while price went sideways is more constructive than one where OBV fell.
The contrast with a weak breakout is useful: price clears resistance but OBV stays below its prior highs. That tells you buyers did not step up, and such breakouts fail more often. It is not a guarantee in either direction.
What is OBV divergence?
Divergence happens when price and OBV move in different directions. Bullish divergence is a lower low in price with a higher low in OBV; bearish divergence is a higher high in price with a lower high in OBV.
- Bullish OBV divergence: the stock makes a new low, but fewer shares trade on the down days, so OBV makes a higher low. Selling pressure may be exhausting.
- Bearish OBV divergence: the stock makes a new high, but OBV fails to confirm. Buying interest may be fading.
Divergences can persist for a long time, and stocks can keep trending against them. That is why traders wait for price to confirm before acting. See bullish divergence and bearish divergence for the RSI and MACD versions of the same idea.
Worked trade example (hypothetical)
A stock falls to a low of $18.00, bounces to $20.50, and falls again to $17.60, a lower low. On the second low, OBV makes a higher low than at the $18.00 low, a bullish divergence. A week later the stock closes above $20.50 on 1.8x average volume, with OBV at a new high.
- Entry: $20.65, just above the $20.50 resistance.
- Stop: $17.40, below the second low. Risk is $3.25 per share.
- Target: 2R is $20.65 + $6.50 = $27.15; you could also scale out near prior supply.
- Size: risking $500 on a $50,000 account gives about 153 shares ($500 divided by $3.25).
The divergence did not trigger the trade; the breakout above resistance did. OBV supplied context. If the stock reverses below $17.40, you take a loss of about 1R.
How does OBV compare with other volume indicators?
OBV is the simplest, which is both its strength and weakness. It counts all volume as bullish or bearish depending on the close.
| Indicator | How it treats volume | Key weakness |
|---|---|---|
| OBV | All volume goes to the up or down side of the close | Ignores where the close falls inside the day's range |
| Accumulation/Distribution | Weights volume by where the close sits in the range | Gaps can distort it |
| Plain volume bars | Raw activity for the day | No cumulative direction |
| Relative volume | Volume vs. its average | Says nothing about direction |
The Accumulation/Distribution line is the closest relative, and many traders look at both. When they agree, the signal is a little more robust.
What are the limits of OBV?
OBV is blunt. A one-cent up close with enormous volume adds all of that volume, even if sellers dominated the day. A single event day, such as an index rebalance or earnings gap, can dominate the line for weeks. OBV also has no fixed scale, so you cannot set thresholds, only compare trends.
It works best on liquid stocks where volume is meaningful. On thinly traded stocks, a handful of large prints can swing the line.
Common mistakes with OBV
- Reading the absolute number. The level depends on the start date.
- Trading divergence without a trigger. Wait for price to break a level.
- Ignoring one-day spikes. Check whether a single day explains a jump.
- Using OBV alone. Combine it with price structure, trend and risk rules.
- Comparing OBV across stocks. It is not normalized.
- Forgetting stops. Divergence does not remove the possibility of a continued trend.
The bottom line
OBV turns volume into a running line that shows whether buyers or sellers are doing the work. Use it as confirmation: a breakout with OBV at new highs is better supported than one without, and divergences are early hints that need price to confirm. It does not predict direction by itself.
StockSetups scans roughly 12,300 US stocks and ETFs after the close for chart patterns confirmed by candlestick signals, and its real-time engine flags volume bursts and relative volume intraday, which helps with the volume side of breakout confirmation. Patterns fail, so manage risk and do your own research.
Frequently asked questions
What does On-Balance Volume tell you?
It shows the cumulative flow of volume based on whether each day closed up or down. A rising OBV suggests buyers are driving volume, while a falling OBV suggests sellers are, and divergences from price can hint at a coming change.
How do you calculate OBV?
Add the day's volume to the previous OBV if the close is above the prior close, subtract it if the close is below, and leave OBV unchanged if the close is equal. The starting value is arbitrary.
Is OBV a leading or lagging indicator?
It is mostly lagging because it is built from past prices and volume, but changes in its trend sometimes appear before price moves. Treat it as a confirming tool, not a prediction.
Does OBV divergence work?
It can warn that a trend is losing support, but divergences often persist for a long time and fail. Most traders wait for price to break a key level before acting.
What is the difference between OBV and the Accumulation/Distribution line?
OBV assigns all of a day's volume to the up or down side depending on the close versus the previous close. The A/D line weights volume by where the close sits within the day's high-low range.
Sources & further reading
- Joseph E. Granville, Granville's New Key to Stock Market Profits (1963)
Try it free
Produced with AI assistance and published under the StockSetups editorial guidelines.
Get daily signals & real-time alerts.
StockSetups scans ~12,300 US stocks & ETFs after every close and sorts every long setup into four ranked lanes — each with a trade plan — plus an always-on engine firing 35+ real-time intraday alerts. Free for 7 days, no credit card.
Start free — 7-day trial, no card →Free daily signals by email. Top 3 setups per lane after every close. No account needed.
Unsubscribe anytime · Privacy