Concept
OBV Divergence
OBV Divergence is a Volume & Order Flow concept. The Library holds 4 implementations, each one a working definition you can pull into Quant.
Top OBV Divergence indicators
4 total
What is OBV Divergence?
OBV divergence is a disagreement between price and On-Balance Volume, the running total that adds a bar's entire volume when it closes above the prior close and subtracts it when it closes below. Because the line compounds direction and participation into one series, a fresh price extreme is ordinarily expected to come with a fresh OBV extreme. When price makes a higher high while OBV makes a lower high, the advance attracted less cumulative volume support: bearish divergence. A lower price low against a higher OBV low is the bullish mirror, read as selling pressure failing to expand.
The idea traces to Joseph Granville, who popularized OBV in 1963 and argued that changes in volume tend to precede changes in price. Divergence is that thesis in visual form: distribution showing up beneath a rising tape, accumulation beneath a falling one. Two honest caveats apply. OBV's all-or-nothing signing means a huge-volume bar that closes marginally lower counts as fully negative, so one outsized bar can distort the line. And divergences can persist through several further price extremes before mattering, so standard practice is to treat them as a warning that is only traded once price structure confirms.
How to identify OBV Divergence
OBV divergence is a swing-to-swing comparison, identified the same way as oscillator divergence.
- 1Plot OBV beneath price; its absolute value is meaningless, so only the line's swings and slope matter.
- 2Mark two successive swing highs on price in an advance, or two successive swing lows in a decline.
- 3Compare OBV at those same swing points: a price higher high with an OBV lower high is bearish divergence, and a price lower low with an OBV higher low is bullish.
- 4Require price confirmation, such as a reversal bar or a break of a swing point, before trading it, and apply extra caution when the feed reports tick volume rather than actual traded volume.
How traders use it
- As a reversal warning at swing extremes: bearish OBV divergence into resistance, or bullish divergence into support, flags a move to distrust, with entries taken on price confirmation rather than on the divergence itself.
- As a trend-confirmation filter: while OBV keeps printing new extremes alongside price, the trend is treated as supported and continuation setups get the benefit of the doubt.
- To vet breakouts: OBV pushing to new highs ahead of or alongside a price breakout suggests accumulation behind the move, while a breakout on diverging OBV is a candidate false breakout.
- Cross-checked against other volume-based measures such as the Accumulation/Distribution Line or Money Flow Index, since each treats volume differently and agreement across them is the stronger read.
OBV Divergence vs related concepts
OBV: OBV is the indicator, a cumulative volume line. OBV divergence is one specific pattern read on it against price swings; the line has other uses, such as trend confirmation and breakout vetting, beyond divergence.
Volume Divergence: Raw volume divergence compares price with unsigned volume magnitudes. OBV divergence compares price with a line that already encodes close direction, so it blends the two and can fire when raw volume looks unremarkable.
Regular Bullish/bearish Divergence: The swing logic is identical to oscillator divergence, but OBV is unbounded and cumulative, with no overbought or oversold zone, so divergence is essentially the only swing signal the line produces.
More OBV Divergence implementations
Related concepts · Cumulative flow lines
Concept family
Volume & Order Flow
87 concepts mapped · 62 in the Library
OBV Divergence FAQ
How reliable is OBV divergence?
There is no fixed reliability figure, and divergences can persist while the trend extends. Data sensitivity matters too: OBV built on tick counts, common in forex and some crypto feeds, behaves differently from OBV on reported share or contract volume. Most traders require price confirmation before treating a divergence as actionable.
What is the difference between OBV divergence and A/D line divergence?
OBV signs a bar's full volume by close-to-close direction, while the Accumulation/Distribution Line weights volume by where the close sits within the bar's range. A bar that closes down but near its high counts fully negative for OBV yet nearly positive for the A/D line, so the two lines can diverge from price at different times.
Does hidden divergence work with OBV?
Yes, the same swing comparisons apply. Hidden divergence, where price holds a higher low while OBV makes a lower low, or the bearish mirror, is read as trend continuation rather than reversal. It is screened for less often on OBV than on oscillators, but the construction is identical.
Build OBV Divergence your way.
Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.


