Short answer: on balance volume is a running total of volume. It rises when price closes higher and falls when price closes lower. The OBV line ignores how far price moved and only records which way it closed. That makes it a blunt but honest gauge of whether buying pressure or selling pressure sits behind market trends. Traders mostly use it to confirm a trend and to spot divergence, where price makes a new extreme and OBV quietly refuses to follow.
This guide shows you how to compute the line by hand and read a divergence without wishful thinking. It also shows where OBV fits among your technical indicators and wider volume analysis.
How on balance volume is calculated
Compare each close with the previous close. If the close is higher, add the period's volume to the running total. If it is lower, subtract the volume. If it is unchanged, the total stays put. The starting value is arbitrary, so the absolute number on the OBV scale means nothing and only the slope matters.
A five-day example on an index CFD, volume in round contract counts:
| Day | Close | Volume | Close vs prior | OBV |
|---|---|---|---|---|
| 1 | 5,000 | 40,000 | start | 0 |
| 2 | 5,020 | 50,000 | higher | +50,000 |
| 3 | 5,010 | 30,000 | lower | +20,000 |
| 4 | 5,010 | 45,000 | unchanged | +20,000 |
| 5 | 5,035 | 60,000 | higher | +80,000 |
Notice day 3. Price slipped only 10 points, yet the full 30,000 was subtracted. That coarse treatment is deliberate. The indicator asks whether cumulative volume is flowing in or out, and never weighs how hard each move pushed.
On forex CFDs the volume field is tick volume. It tracks real activity roughly well enough for OBV to work, though the line looks lumpy in thin sessions.
Where the idea came from
Joseph Granville introduced OBV in the early 1960s in a book written for stock market investors. His core claim was that volume moves before price. Informed money, he argued, accumulates quietly before the crowd notices, and that accumulation shows in volume while price movements still look unremarkable. The tool survives because it is simple and because its question still matters. Is participation growing with the trend, or is the trend running on a threadbare crowd?
Reading OBV: confirmation and divergence
There are three readings worth learning, and only the timing is tricky.
- Confirmation. Price makes higher highs and OBV makes higher highs. Buying pressure is doing its job and the trend is ordinary and healthy.
- Bearish divergence. Price makes a higher high while OBV prints a lower high. Fewer contracts are paying up for the new high. This is a warning, never an entry.
- Bullish divergence. Price makes a lower low while OBV holds a higher low. Selling pressure is fading even though price still sags.
Divergences on a daily chart can sit there for weeks while price drifts stubbornly on. Treat the reading the way you would treat an RSI divergence: a reason to tighten a stop or halve size, never a standalone reversal signal.
A worked case. Gold rallies from 2,300 to 2,400 over three weeks with OBV rising in step. It then pushes to 2,420 on a jittery news day, and OBV fails to exceed its prior peak. A trader long from 2,320 could lift the stop from 2,280 to 2,380 and lock in most of the move. If price then breaks 2,380, the divergence was consequential. If it rallies on, the cost of the tighter stop is a slightly early exit. Either outcome is forgiving.
OBV versus other volume indicators
OBV belongs to a crowded family, and the differences matter when you choose.
| Indicator | What it adds up | Weights by move size? | Best use |
|---|---|---|---|
| OBV | Full volume, signed by close direction | No | Trend confirmation, divergence |
| Volume-price trend | Volume times percentage change | Yes | Same jobs, smoother line |
| Accumulation/distribution | Volume times close position within the bar | Partly | Spotting quiet accumulation |
| Cumulative volume delta | Aggressive buys minus aggressive sells | No | Intraday absorption at a level |
| Volume profile | Volume by price level rather than by time | Not applicable | Locating value areas |
OBV's advantage is bluntness: it needs only close and volume, so it works on any feed. Its weakness is the same thing, since a 1-point up close on heavy volume counts identically to a 50-point one. If that ambiguity bothers you, volume-price trend is the tidy fix. To know who crossed the spread, read our guide to cumulative volume delta, which needs tick data. To see where volume traded rather than when, volume profile answers that question.
Limitations and common mistakes
OBV is underused by some traders and needlessly overtrusted by others. The failures cluster around a few habits.
- Reading the absolute level. A value of 2 million means nothing. Compare peaks and troughs on the line.
- Trusting it in ranges. Sideways price with sluggish, patchy volume produces a wobbly line that flips sign on noise.
- Ignoring single-bar spikes. One violently high-volume bar, such as a central bank release, can distort the slope for days.
- Mixing data feeds. Tick volume from two brokers seldom matches, so a divergence on one platform can vanish on another.
- Short lookbacks. On a 1-minute chart the close-to-close rule is almost a coin flip, and the line turns skittish.
Bluntly, the indicator is weakest exactly when price is most disorderly, which is when a nervous trader wants reassurance most.
A strategy checklist for OBV in a prop firm evaluation
OBV is a filter rather than a system. Layered onto trading strategies you already trust, it keeps you out of stale trends. A common approach during an evaluation follows this checklist:
- Define the trend on a higher timeframe first. OBV on that timeframe should slope the same way.
- Only take breakouts where OBV makes a new high or low with price. A breakout with a lagging line gets skipped or sized down.
- On a divergence, cut position size in half rather than reversing.
- Skip the first bar after scheduled news and let the volume spike wash through.
- Log every divergence you acted on and every one you ignored, then review monthly.
A static total drawdown and a daily loss limit that resets each day are unforgiving of the lopsided trade that adds against a fading trend. Pivex states every loss parameter up front, before the first trade, with no minimum trading days and no time limit. That removes any pressure to force entries on days when OBV is flat. Spread and commission cost is the other quiet drag: overtrading a flat range can squander a week of gains.
Shortened sessions produce misleading volume bars, so cross-check the NYSE trading hours and holiday calendar before reading a quiet day as distribution.
Next step: put OBV under one chart you already trade, mark every divergence for 20 sessions, and note what price did afterwards. If the record earns your trust, take it into the one-step Pivex evaluation, where the built-in assistant tracks your daily loss limit and total drawdown for you.
Related guides: volume profile and RSI divergence.
Before participating, review Pivex's current program rules and decide whether a simulated proprietary trading evaluation fits your experience and risk limits. Participation does not guarantee a reward, income, or any particular trading result.