The Basics
Cumulative volume (or on-balance volume) is used to confirm market moves based on buying and selling pressure.
Indicator Type
Volume study
Markets
All cash and futures, not options
Works Best
Active markets, usually in daily time frame
Formula
Cumulative total of daily volume on up days minus daily volume on down days. Each day’s volume may also be weighted by the price change for that day so that volume on days with large price moves is counted more heavily.
Parameters
Theory
On-balance volume is also known as Cumulative Volume. Supply and demand can be measured by the volume taking place on price increases (up periods) and the volume taking place on price decreases (down periods). Over time, cumulative volume and price should rise and fall in tandem.
Interpretation
On its own, cumulative volume does not provide many clues for predicting prices, but used with price chart, its usefulness becomes apparent. Divergence between the two may signal trading opportunities.
The iShares DJ Real Estate ETF rallied nicely in 2014 and on-balance volume reflected the same path. However, in August on-balance volume started top decline. The divergence between price and indicator suggested caution and in September the ETF broke down.
Math
A running total of volume on up-periods minus volume on down periods. Periods with no change have no effect.
∑volume * (direction of price change )
Value will change depending on span chosen but plot will look the same.