On Balance Volume (OBV)

On Balance Volume (OBV)

What Is On Balance Volume (OBV)?

The On Balance Volume (OBV) is an indicator that assesses a security's buying and selling pressure by analyzing cumulative volume. It adds volume on days when the price rises and subtracts it on days when the price declines.

OBV was originally developed by Joe Granville, and he first explained it in his 1963 book Granville's New Key to Stock Market Profits. The OBV is noteworthy because it was among the earliest metrics to track the inflow and outflow of volume. By comparing the OBV with price action, analysts can detect divergences that may forecast future price shifts, or they can use the OBV to confirm existing price trends.

How Is OBV Calculated?

The On Balance Volume (OBV) line is simply a running total of positive and negative volume. A period's volume is positive when the close is above the prior close and is negative when the close is below the prior close.

               
If the closing price is above the prior close price then: 
Current OBV = Previous OBV + Current Volume

If the closing price is below the prior close price then: 
Current OBV = Previous OBV  -  Current Volume

If the closing prices equals the prior close price then:
Current OBV = Previous OBV (no change)

Table 1  -  On Balance Volume

Data in the table above comes from Wal-Mart (WMT). Volume figures were rounded off and are shown in 1000's. In other words, 8,200 really equals 8,200,000 or 8.2 million shares. First, we must determine if Wal-Mart closed up (+1) or down (-1). This number is now used as the volume multiplier to compute positive or negative volume. The last column (OBV) forms the running total for positive/negative volume. Because OBV has to start somewhere, the first value (8200) is simply equal to the first period's positive/negative volume. The chart below shows Wal-Mart with volume and OBV.

Table 1  -  On Balance Volume

How Do You Interpret OBV?

Granville theorized that volume precedes price. OBV rises when volume on up days outpaces volume on down days. OBV falls when volume on down days is stronger. A rising OBV reflects positive volume pressure that can lead to higher prices. Conversely, falling OBV reflects negative volume pressure that can foreshadow lower prices. Granville noted in his research that OBV would often move before price. Expect prices to move higher if OBV is rising while prices are either flat or moving down. Expect prices to move lower if OBV is falling while prices are either flat or moving up.

The absolute value of OBV is not important. Chartists should instead focus on the characteristics of the OBV line. First, define the trend for OBV. Second, determine if the current trend matches the trend for the underlying security. Third, look for potential support or resistance levels. Once broken, the trend for OBV will change and these breaks can be used to generate signals. Also, notice that OBV is based on closing prices. Therefore, closing prices should be considered when looking for divergences or support/resistance breaks. Finally, volume spikes can sometimes throw off the indicator by causing a sharp move that will require a settling period.

How Do You Read OBV Divergences?

Bullish and bearish divergence signals can be used to anticipate a trend reversal. These signals are truly based on the theory that volume precedes prices. A bullish divergence forms when OBV moves higher or forms a higher low even as prices move lower or forge a lower low. A bearish divergence forms when OBV moves lower or forms a lower low even as prices move higher or forge a higher high. The divergence between OBV and price should alert chartists that a price reversal could be in the making.

The chart for Starbucks (SBUX) shows a bullish divergence forming in July. On the price chart, SBUX moved below its June low with a lower low in early July. OBV, on the other hand, held above its June low to form a bullish divergence. OBV went on to break resistance before SBUX broke resistance. This was a classic case of volume leading price. SBUX broke resistance a week later and continued above 20 for a 30+ percent gain. The second chart shows OBV moving higher as Texas Instruments (TXN) trades within a range. Rising OBV during a trading range indicates accumulation, which is bullish.

Chart 2  -  On Balance Volume

Chart 3  -  On Balance Volume

The chart for Medtronic (MDT) shows a bearish divergence with volume leading price lower. The blue dotted lines identify the divergence period. MDT moved higher (43 to 45) as OBV moved lower. Also, notice that OBV broke support during this divergence period. The uptrend in OBV reversed with the break below the February low. MDT, on the other hand, was still moving higher. Volume ultimately won the day as MDT followed volume lower with a decline into the low 30s. The second chart shows Valero Energy (VLO) with OBV forming a bearish divergence in April and a confirming support break in May.

Chart 4  -  On Balance Volume

Chart 5  -  On Balance Volume

How Do You Use OBV for Trend Confirmation?

OBV can be used to confirm a price trend, upside breakout or downside break. The chart for Best Buy (BBY) shows three confirming signals as well as confirmation of the price trend. OBV and BBY moved lower in December-January, higher from March to April, lower from May to August and higher from September to October. The trends in OBV matched the trend in BBY.

Chart 6  -  On Balance Volume

OBV also confirmed trend reversals in BBY. Notice how BBY broke its downtrend line in late February and OBV confirmed with a resistance breakout in March. BBY broke its uptrend line in late April and OBV confirmed with a support break in early May. BBY broke its downtrend line in early September and OBV confirmed with a trend line break a week later. These coincident signals indicated that positive and negative volume were in harmony with price.

Sometimes OBV moves step-for-step with the underlying security. In this case, OBV is confirming the strength of the underlying trend, be it down or up. The chart for Autozone (AZO) shows prices as a black line and OBV as a pink line. Both moved steadily higher from November 2009 until October 2010. Positive volume remained strong throughout the advance.

Chart 7  -  On Balance Volume

The Bottom Line

On Balance Volume (OBV) uses volume and price to measure buying and selling pressure. Buying pressure is evident when positive volume exceeds negative volume, and the OBV line rises. Selling pressure occurs when negative volume exceeds positive volume, and the OBV line falls. Analysts can use OBV to confirm the underlying trend or look for divergences that may foreshadow a price change. As with all indicators, it's important to use OBV in conjunction with other aspects of technical analysis. It's not a standalone indicator. OBV can be combined with basic pattern analysis or to confirm signals from momentum oscillators.

Using with SharpCharts

On Balance Volume (OBV) is available in SharpCharts as an indicator. After selecting, OBV can be positioned above, below or behind the price plot of the underlying security. Positioning it behind the plot makes it easy to compare OBV with the underlying security. Chartists can also add a moving average or another indicator to OBV by selecting Advanced options, which is to the right of the indicator position. Click here for a live chart with On Balance Volume.

SharpCharts  -  On Balance Volume

SharpCharts  -  On Balance Volume

Suggested Scans

Bullish Divergence in OBV and ADL

This scan starts with a base of stocks that are averaging at least $10 in price and 100,000 daily volume over the last 60 days. Potential bullish divergences are found by looking for stocks where price is BELOW the 65-day SMA and 20-day SMA, but OBV and the Accumulation Distribution Line are ABOVE the 65-day SMA and 20-day SMA.

[type = stock] AND [country = US] 
AND [Daily SMA(60,Daily Volume) > 100000] 
AND [Daily SMA(60,Daily Close) > 10] 

AND [Daily Close < Daily SMA(65,Daily Close)] 
AND [Daily AccDist > Daily AccDist Signal (65)] 
AND [Daily OBV > Daily OBV Signal(65)] 
AND [Daily Close < Daily SMA(20,Daily Close)] 
AND [Daily AccDist > Daily AccDist Signal (20)] 
AND [Daily OBV > Daily OBV Signal(20)]

Bearish divergence in OBV and ADL

This scan starts with a base of stocks that are averaging at least $10 in price and 100,000 daily volume over the last 60 days. Potential bearish divergences are found by looking for stocks where price is ABOVE the 65-day SMA and 20-day SMA, but OBV and the Accumulation Distribution Line are BELOW the 65-day SMA and 20-day SMA.

[type = stock] AND [country = US] 
AND [Daily SMA(60,Daily Volume) > 100000] 
AND [Daily SMA(60,Daily Close) > 10] 

AND [Daily Close > Daily SMA(65,Daily Close)] 
AND [Daily AccDist < Daily AccDist Signal (65)] 
AND [Daily OBV < Daily OBV Signal(65)] 
AND [Daily Close > Daily SMA(20,Daily Close)] 
AND [Daily AccDist < Daily AccDist Signal (20)] 
AND [Daily OBV < Daily OBV Signal(20)]

For more details on the syntax to use for OBV scans, please see our Scanning Indicator Reference in the Support Center.

Note: For the purposes of scanning, daily volume data is incomplete during the trading day. When running scans with volume-based indicators like OBV, be sure to base the scan on the “Last Market Close.” Examples of other volume-based indicators include Accumulation/Distribution, Chaikin Money Flow, and the PVO.

Further Study

John Murphy's Technical Analysis of the Financial Markets covers it all with explanations that are simple and clear. Murphy covers all the major charts patterns and indicators, including OBV. A complete chapter is devoted to understanding volume and open interest.

Technical Analysis of the Financial Markets
John J. Murphy
Buy Now

Additional Resources

Stocks & Commodities Magazine Articles

On-Balance Volume Indicator by Bruce R. Faber
Jun 1994 - Stocks & Commodities

On-Balance Volume by Stuart Evens
Apr 1999 - Stocks & Commodities

Daytrading with On-Balance Volume by D.W. Davies
Dec 2003 - Stocks & Commodities