OBV (On-Balance Volume) explained: how to read it

By Oalgo · Last reviewed

On-Balance Volume (OBV) is a running total of volume. A candle that closes higher than the one before adds its volume, a candle that closes lower subtracts it, and an unchanged close adds nothing.

Chart: example prices with On-Balance Volume below them: the OBV line and its 14-period EMA line. OBV climbs over runs of candles that close up and falls over runs that close down.PriceOBVOBV EMA 14
Example prices and volumes, made up for this page. OBV starts at 0.

How is OBV calculated?

#
  • Compare each close with the close before it.
  • Higher: add this candle's volume to the running total. Lower: subtract it. Equal: add nothing.
  • The first candle has no candle before it, so it adds nothing and OBV starts at 0.
  • OBV can be smoothed with an EMA of the OBV line, 14 candles by default.

What does a worked example look like?

#
CandleCloseVolumeAddsOBV
1502000 (first candle)0
251150+150150
350.5300−300−150
450.51200 (same close)−150
552250+250100

The OBV number itself means little, because it depends on where the series starts. What counts is its direction and whether it agrees with price.

How do you read OBV?

#
What you seeWhat it suggests
OBV rising along with priceVolume is adding up on candles that close higher.
OBV falling along with priceVolume is adding up on candles that close lower.
Price makes a new high but OBV does notThe rise has had less volume behind it than the earlier one. Often called a divergence.
OBV crosses above its EMAOBV has turned up compared with its recent average.
OBV crosses below its EMAOBV has turned down compared with its recent average.

How do people use OBV in rules?

#
  • OBV crossing above or below its EMA.
  • OBV higher than it was a set number of candles ago, as a check that volume agrees with a rise in price.
  • A new highest OBV of the last N candles at the same time as a price breakout.
  • OBV next to a trend indicator, so that two conditions must agree.

What can OBV not tell you?

#

OBV counts the whole volume of a candle as up or down, however small the price change was. A close up by a tiny amount adds as much as a close up by a large amount. It also says nothing about who was buying or selling. Chaikin Money Flow weights volume by where the close sits inside the candle instead. Test any OBV rule on past prices with a backtest, then forward test it.

In Oalgo you can tell Oalgo AI your OBV rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.

Read next