OBV
Indicator
On Balance Volume keeps a running total of volume: it adds a bar's volume on an up close and subtracts it on a down close. It shows whether volume backs a move.
Introduced by Joseph Granville in 1963. Reviewed by the ChartLabs team, updated Nov 2026.
OBV and price are both falling. Volume is behind the move down.
OBV 1.4K · 10 bars -7.6K
OBV and price are both falling. Volume is behind the move down.
OBV 1.4K · 10 bars -7.6K
Illustration on simulated data.
On Balance Volume (OBV)What is the OBV indicator?
OBV draws one blue line in its own panel. It has no fixed scale and no level lines; values print in K, M and B like volume.
Each bar looks only at the direction of its close. If the close is higher than the one before, the whole volume of the bar is added to the total. If it is lower, the whole volume is taken away. An unchanged close leaves the total where it was. The size of the move does not matter, only its direction and how much traded.
What counts is the slope. A rising OBV means more volume has landed on up closes than on down closes. A falling OBV means the reverse. The level itself depends on where the loaded history starts, so the same chart can show a different number on another platform.
Starting from zero
ChartLabs starts OBV at 0 on the first loaded bar. TradingView starts it further back, so the line can sit at a different height while every bar-to-bar change is the same.
Volume leads, sometimes
Granville's idea was that volume often shifts before price does. When price goes sideways and OBV drifts one way, many traders watch for the break in that direction. It is a lean, not a forecast.
OBV signalsFour patterns to know.
Rising with price
Price makes a new high and OBV makes one with it. Buyers are trading size on the way up.
Falling with price
Price and OBV fall together. Volume is heavier on the down bars, so sellers are in control.
OBV slips while price stalls
Price goes flat but OBV drifts lower. More volume is landing on down closes inside the range.
One heavy bar
A single high-volume bar moves OBV in one big step, whatever the size of the price change. Check whether the step is a one-off.
OBV formulaHow it is calculated.
Start the total
OBV is 0 on the first loaded bar, which has no previous close to compare with.
Compare the close
On every later bar, check whether the close is above, below or equal to the previous close.
Add or subtract the volume
Add the bar's full volume on an up close, subtract it on a down close, and keep the total on an unchanged close.
OBV settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Inputs | None | Fixed | OBV has no length or source. It always uses the close and the volume of each bar. |
| Line | Blue #2962FF, 1 px | Any colour and width | Colour and width of the OBV line. |
| Value format | K / M / B | Fixed | Large totals print as thousands, millions or billions, the same way volume does. |
- Setting
- Inputs
- Default
- None
- Range
- Fixed
- What it changes
- OBV has no length or source. It always uses the close and the volume of each bar.
- Setting
- Line
- Default
- Blue #2962FF, 1 px
- Range
- Any colour and width
- What it changes
- Colour and width of the OBV line.
- Setting
- Value format
- Default
- K / M / B
- Range
- Fixed
- What it changes
- Large totals print as thousands, millions or billions, the same way volume does.
OBV strategiesUse it in 3 setups.
New highs on both
Traders often look for OBV to confirm a breakout. A new price high on flat or falling OBV has less volume behind it.
OBV above its own average
Smoothing OBV with an average makes the slope easier to read. The orange 20-bar EMA here is drawn for illustration. On a chart, the OBV Oscillator gives the same read: OBV minus its 20-bar EMA, above or below zero.
Watch OBV inside a range
When price is flat, the direction OBV drifts shows which side is trading more volume. Many traders wait for price to confirm before acting.
OBV mistakesCommon mistakes.
Reading the OBV number itself
The value depends on where the loaded history starts. Compare the slope and the swings, not the number with another chart.
Treating a divergence as a turn
Here OBV made a higher low while price made a lower low, and price still fell hard afterwards. Divergence is a warning, not a timing signal.
Buying while OBV keeps falling
A bounce in price while OBV keeps sliding often has little volume behind it. Many traders wait for OBV to flatten or turn first.
OBV combinationsPair it with these.
OBV + Volume
The volume bars show which sessions made the big OBV steps.
OBV + EMA 200
The EMA gives the trend. OBV shows whether volume agrees with it.
OBV + RSI
RSI measures price momentum; OBV measures volume flow. Agreement between them carries more weight.
OBV + OBV Oscillator
OBV minus its average, centred on zero, for a quicker read of the slope.
OBV FAQQuestions traders ask.
What does OBV tell you?
Whether more volume is trading on up closes or on down closes. A rising line means up-close volume dominates; a falling line means down-close volume does.
Does the OBV value matter?
Not on its own. The level depends on where the data starts. Traders read the slope, the swings and whether OBV confirms price.
Why is my OBV different from TradingView?
TradingView starts the running total further back in history. ChartLabs starts it at 0 on the first loaded bar. The changes from bar to bar are the same, so the shape matches while the level differs.
Does OBV have any settings?
No. There is no length or source. Only the line colour and width can be changed.
What is an OBV divergence?
Price makes a new high or low that OBV does not match. It suggests volume is not backing the move, but price can keep going for some time.
Does OBV work on forex?
Only where the feed has real volume. Many spot forex feeds report tick counts or no volume at all, which makes OBV much less meaningful.
Does OBV work on crypto?
Yes. Exchange volume is reported on every bar. Volume differs between exchanges, so OBV on one exchange's chart can differ from another's.
OBV or Accumulation/Distribution?
OBV adds or subtracts the whole bar's volume based on the close versus the previous close. Accumulation/Distribution weights volume by where the close sits inside the bar's range.
Is OBV leading or lagging?
It is built from past bars, so it lags in the strict sense. Traders use it to spot volume shifting before price breaks out of a range.
Does OBV repaint?
No. Values on closed bars never change. The live bar moves until it closes.
Who created OBV?
Joseph Granville introduced it in his 1963 book Granville's New Key to Stock Market Profits.
Related indicatorsMore volume tools.
All volume indicatorsTry OBV on a live chart.
Free. No download.
Works in your browser and on iPhone too.