Skip to content
Day Trading: An Honest Definition and Survival Guide
TradeOlogy Academy
VolumeOBV

On-Balance Volume

A running total of volume, signed by the direction of each price change. Aims to show whether volume is accumulating into rallies or selling into declines.

GME1D
Loading GME...

On-Balance Volume on GME, daily candles. Data via Financial Modeling Prep, cached server-side.

Quick reference

Formula
If today's close > yesterday's, add today's volume to OBV. If less, subtract it. If equal, OBV unchanged.
Default settings
Cumulative - no period to set. Just plot it.
Best for
Confirming or contradicting price trends. OBV rising with price = healthy uptrend. OBV falling while price rises = distribution warning.
Signal
Bullish divergence: price makes lower lows, OBV makes higher lows. Bearish divergence: price makes higher highs, OBV does not confirm.
Common mistake
OBV is binary - it does not weight the size of the price change. A 0.01 percent up-day counts the same as a 10 percent up-day. Use Accumulation/Distribution when you need finer weighting.

On-Balance Volume (OBV) is a running total of volume, signed by whether each bar closed up or down. When OBV rises with price, volume confirms the trend. When OBV diverges from price, it warns the trend may be about to turn.

OBV was introduced by Joseph Granville in 1963. It is one of the oldest indicators in technical analysis and still useful for its specific purpose: showing whether volume is accumulating into rallies or selling into declines.

What OBV actually measures

OBV measures the net directional flow of volume over time. It is built on Joseph Granville's premise that volume precedes price: smart money accumulates ahead of price moves, leaving fingerprints in the volume data before the move shows up on the chart.

When volume is overwhelmingly happening on up-days, OBV rises persistently. When volume is overwhelmingly happening on down-days, OBV falls persistently. The slope of OBV reveals whether buying or selling has been dominant, integrated over the period you are looking at. Because OBV is cumulative, its absolute value is meaningless - it depends on when the data started. What matters is its slope and its divergence from price.

The formula

OBV has one rule, applied bar by bar:

Close vs prior closeOBV update
Close upOBV = prior OBV + today's volume
Close downOBV = prior OBV - today's volume
Close flatOBV = prior OBV (unchanged)

That is the entire formula. There is no smoothing, no period setting, no parameter to tune.

The result is a single line that walks up when price closes up on volume and walks down when price closes down on volume. The line's absolute value is arbitrary (it depends on the starting point of the data); the shape is what reveals the pattern.

A worked example

Assume the close before Day 1 was $49.50, so Day 1 closed up. OBV starts at 0.

DayCloseChangeVolumeOBV
1$50.00Up100,000100,000
2$51.20Up150,000250,000
3$50.80Down120,000130,000
4$50.80Flat180,000130,000
5$52.00Up200,000330,000
6$53.10Up90,000420,000
7$52.40Down110,000310,000

Price rose from $50.00 to $52.40 over the seven days, up 4.8%. OBV rose from 0 to 310,000. Volume on up-days totaled 540,000; volume on down-days totaled 230,000. Day 4 closed flat, so its 180,000 shares did not move OBV at all.

Now imagine price had barely moved during these seven days - ending roughly where it started. OBV would still have risen, because more volume traded on up-closes than down-closes. That is OBV catching a pattern (heavier buying than selling on a flat price chart) that the price line itself does not reveal. This is what "stealth accumulation" looks like on OBV.

On Balance Volume

OBV Calculator

Enter five closes and their volumes. OBV starts at 0 and adds volume on up-days, subtracts it on down-days, and ignores flat days.

Inputs
Result
OBV after Day 5
330,000
OBV starts at 0. Only the direction of the moves matters, not the absolute value.
Volume on up-days
450,000
Volume on down-days
120,000
DayCloseVolumeOBV
1$50.00100,000100,000
2$51.20150,000250,000
3$50.80120,000130,000
4$50.80180,000130,000
5$52.00200,000330,000
Day 4 closes flat at $50.80 in this example - the same as Day 3 - so its 180,000 shares add nothing to OBV. Change any close and watch the running total move.

How to read OBV in 3 steps

  1. Check the slope. Rising OBV means volume is happening mostly on up-days; falling OBV means volume is happening mostly on down-days. Flat OBV means buying and selling volume are balanced.
  2. Compare OBV to price. If price and OBV move together, the trend has volume behind it. If they move apart, that is divergence - OBV's highest-value signal.
  3. Look for the turn, not the level. OBV has no meaningful absolute value and no overbought or oversold level. What matters is a change in slope, a break of an OBV trendline, or a divergence against a new price high or low.

How traders actually use OBV

Six uses, in order of reliability. The first three generate consistent edge. The last three are supporting reads, not standalone signals.

1. Divergence

OBV's highest-value signal. Two flavors:

  • Bullish divergence: price makes a lower low, OBV makes a higher low. The new low in price happened on less down-volume than the prior one - sellers are exhausted. Confluent with structure (a break of the prior swing high), this is a high-conviction long setup.
  • Bearish divergence: price makes a higher high, OBV makes a lower high. The new high happened on less up-volume - buyers losing conviction. Confluent with structure breaking down, a high-conviction short setup.

Daily OBV divergence is more reliable than intraday. The longer the timeframe, the more meaningful the volume pattern.

PRICEOBVDay 1Day 10lower lowhigher low
Bullish divergence in on balance volume: price makes a lower low while OBV makes a higher low.
PRICEOBVDay 1Day 10higher highlower high
Bearish divergence in on balance volume: price makes a higher high while OBV makes a lower high.

2. Trend confirmation

The simple version. Price is in an uptrend; OBV is also trending up. Volume is supporting the move - the trend is healthy. Price is in an uptrend; OBV is flat or trending down. The trend is being driven by something other than broad participation - usually short-covering or low-volume drift, neither of which is durable.

OBV trending in agreement with price is a green light. OBV trending against price is a yellow light to tighten stops or reduce size.

PRICEOBVDay 1Day 10
On balance volume confirming price: both the price line and the OBV line make higher highs and higher lows.

3. Stealth accumulation / distribution

The most interesting OBV pattern. Price is sideways or even slightly down, but OBV is rising. Volume is happening on up-days even though price is not making progress. This suggests informed buyers are absorbing supply at current prices ahead of an eventual breakout.

The reverse pattern: price is holding sideways or slightly up, but OBV is falling. Sellers are unloading into strength, often ahead of a breakdown.

These setups have lead times of weeks. They do not produce immediate signals. They are watchlist criteria - "this stock looks like it is being accumulated; watch for the breakout when it comes."

4. OBV breakout

When OBV breaks above its prior swing high while price is still below resistance, volume is leading price. Traders watch for price to follow through the resistance. The reverse holds at lows: OBV breaking below its prior swing low while price still holds support warns that the support is likely to fail.

5. OBV trendline

Draw a trendline on the OBV line itself, the same way you would on price. A break of a rising OBV trendline says buying momentum is fading even if price has not turned yet. A break of a falling OBV trendline says selling pressure is easing. OBV trendline breaks often print a few bars before the equivalent break in price.

6. 20-day moving average crossover

Plot a 20-day moving average on OBV. OBV crossing above its own average says short-term volume flow has turned positive; crossing below says it has turned negative. This is a lagging read - the average smooths OBV, so the signal arrives after the turn - but it gives a mechanical rule for traders who want one. Do not trade the crossover alone; use it to confirm a divergence or breakout read.

OBV by market

OBV is only as good as the volume data underneath it.

MarketHow reliable is OBV?
Stocks and ETFsMost reliable. Exchange-reported volume on liquid names is clean and hard to fake.
FuturesReliable on the most active contract. Avoid thin, back-month contracts where volume is sparse.
ForexLess reliable. There is no central exchange, so platforms report tick volume (number of price changes), not traded volume. Direction is roughly right; size is not.
CryptoReliable on major exchanges only. Bitcoin and Ethereum on large venues have usable OBV. Avoid wash-traded altcoins, where reported volume is mostly fake.

OBV vs other volume indicators

IndicatorHow it weights volumeBounded?Best for
OBVFull volume, signed by close directionNoDivergence and trend confirmation
Accumulation/DistributionVolume weighted by close position within the bar's rangeNoFiner-grained accumulation reads
Money Flow Index (MFI)Volume weighted by price change, RSI-styleYes, 0-100Overbought and oversold volume signals
Volume-Price TrendVolume weighted by percent price changeNoCumulative momentum with size weighting
Chaikin Money FlowVolume weighted by close position, fixed lookbackYes, -1 to +1Systematic buying and selling pressure

vs Accumulation/Distribution Line. A/D weights each bar's volume by the close's position within the bar's range. A bar that closes near its high gets more positive weight; a bar that closes near its low gets more negative weight. OBV treats every up-bar equally. A/D is finer-grained; OBV is simpler.

vs Money Flow Index (MFI). MFI is bounded 0-100 like RSI and weights volume by price changes. MFI handles "how big was the move" while OBV ignores it. MFI produces overbought/oversold signals; OBV does not.

Volume bars themselves show per-period volume and are useful for spotting individual high-volume events. OBV integrates direction into volume to produce a cumulative line, which is useful for spotting cumulative patterns instead.

vs Chaikin Money Flow. CMF combines OBV-style cumulative volume with bar-position weighting (similar to A/D) over a fixed lookback. CMF is bounded and easier to read for systematic strategies. OBV is unbounded and useful for divergence reads on longer horizons.

How to add OBV in TradingView

  1. Open a chart and click Indicators at the top.
  2. Search for On Balance Volume.
  3. Click the result to add it to the chart. It plots in a pane below price.
  4. There are no settings to change. OBV is parameter-free - no period, no smoothing, nothing to tune.

The trap most retail traders fall into

OBV at "5 million" tells you nothing on its own. The number depends entirely on when the data series began. A chart showing OBV at 100 million on Stock A and OBV at 50 thousand on Stock B does not mean Stock A has "more buying" - it means Stock A has more data history.

What matters with OBV is its slope (rising? falling? flat?) and its relationship to price (confirming? diverging?). The absolute number is just a coordinate on the line.

The second trap: trading OBV crosses through zero or other arbitrary levels. There are no meaningful threshold levels in OBV. The indicator has no natural overbought or oversold.

The third trap: using OBV on instruments with poor volume data. Volume on small-cap stocks, illiquid futures contracts, or thin altcoins can be wildly inaccurate or manipulated. OBV computed on bad volume data is garbage. Stick to liquid instruments with reliable exchange-reported volume.

When to use OBV and when not to

Use OBV when:

  • You are looking for volume divergence between OBV and price on a daily or weekly chart
  • You are scanning for stealth accumulation / distribution patterns
  • You want a simple, parameter-free volume confirmation tool

Skip OBV when:

  • You are trading instruments with unreliable volume data (microcaps, low-volume futures contracts, sketchy crypto exchanges)
  • You need a bounded indicator with overbought / oversold levels - use MFI instead
  • You want bar-position-weighted volume - use A/D Line instead

Common questions

Why does OBV look different on two platforms?
Two reasons: the starting point of the calculation (platforms begin OBV at different dates depending on their data archive) and how they handle flat closes. Most platforms correctly leave OBV unchanged on flat closes; some incorrectly add a small amount.
Should I change any settings on OBV?
There are no settings to change. OBV is parameter-free - no period to set, no smoothing constant to tune. You either plot it or you do not.
Does OBV work on intraday charts?
It can, but with limitations. Intraday volume is more erratic than daily volume (gaps, opens, market-on-close orders). OBV computed bar-by-bar on a 1-minute chart picks up a lot of noise. The most reliable OBV reads are on daily and weekly charts.
Can OBV predict reversals?
It can identify them earlier than price alone, via divergence. It cannot reliably predict them in isolation. Combine with price structure and at least one other indicator.
What is the difference between OBV and money flow?
"Money flow" can mean either the simple typical-price-times-volume calculation (which underlies A/D and MFI) or the general concept of cumulative volume-direction. OBV is one specific implementation of cumulative direction; "money flow" indicators are a family of related but distinct measures.
Is OBV useful in crypto?
Yes, but only on instruments with reliable exchange-reported volume. Bitcoin and Ethereum on major exchanges have usable OBV. Small-cap altcoins with self-reported or wash-traded volume have OBV readings that are essentially garbage.
Is OBV a leading or lagging indicator?
OBV is mostly leading at turning points and lagging in trends. Divergence can print before price turns, which is a leading read. But OBV is built from past closes and past volume, so its slope only confirms what already happened. Treat divergence as an early warning and trend confirmation as a lagging check.
What is the best OBV setting?
There is no setting. OBV has no period, no smoothing, and no inputs to tune. If a platform shows an OBV period setting, it is the period of an optional moving average drawn on OBV, not OBV itself. A 20-day moving average on OBV is a common choice for that overlay.
Can you use OBV for day trading?
Yes, but with lower reliability than on daily charts. Use 5-minute or 15-minute bars, not 1-minute bars, and only on liquid names during regular session hours. Intraday OBV is most useful for spotting divergence into the close and for confirming whether a morning breakout has volume behind it. Do not trade intraday OBV alone.
Does OBV work on forex and crypto?
On forex, only loosely. There is no central exchange, so what platforms call volume is tick volume - a count of price changes, not traded size. OBV direction is roughly right, but do not trust the magnitude. On crypto, OBV works on Bitcoin and Ethereum on major exchanges with real reported volume. On small altcoins with wash-traded volume, OBV is not usable.

Related volume indicators