2004issue C031-11
Constructing a volume-weighted moving average as a forecast baseline
A volume-weighted moving average is assembled by weighting each price with the volume on the same bar over a chosen lookback. This article shows how that forecast is built from an explicit price series and window length, why the volume weight differs from a simple moving average on the same lookback, and how that construction is separate from a triangle pattern rank in volume-price analysis.
- A volume-weighted moving average sums each bar's price multiplied by that bar's volume over a chosen lookback, then divides by the total volume in the same lookback.
- The construction takes the price series being averaged and the number of bars in the averaging window as explicit inputs.
- The stated purpose of the volume weight is to make the average more responsive during periods of higher volume than a simple unweighted moving average on the same lookback.
- A triangle pattern rank from a mechanical volume-price analysis procedure is a separate formation score, not the volume-weighted moving-average baseline.
How the average is assembled
A volume-weighted moving average is a moving average that weights each price observation by the volume observed on the same bar. It is constructed by summing each bar's price multiplied by that bar's volume over a chosen lookback, then dividing by the total volume in the same lookback.
The construction takes two explicit inputs: the price series being averaged and the number of bars in the averaging window. Volume is the weight applied to each price inside that window.
Why the volume weight differs from a simple moving average
The stated purpose of the volume weight is to make the average more responsive during periods of higher volume than a simple unweighted moving average on the same lookback.
Editorial note: hold that lookback fixed and treat the volume-weighted moving average as an explicit forecast baseline beside the simple moving average. The contrast is in how the average is assembled, not in a result.
A separate triangle pattern rank
Volume-price analysis can use a different mechanical procedure. A triangular-formation routine identifies a zigzag-defined window, fits a linear regression to closes in that window, then fits secondary regressions to positive and negative residuals around that line.
That procedure also applies a crossover count and a declining-volume test, then sums the scored factors into a triangle pattern rank. A triangle pattern rank is a summed score of several mechanical tests used to rank a candidate triangular formation.
In one supplied implementation, the volume-slope factor adds to the rank only when the linear-regression slope of volume over the zigzag window is negative. The same implementation scores the window length, residual standard error, and retracement size as additional additive rank components before any trade-window logic is applied.
Editorial note: that rank is not the volume-weighted moving average. Keep the pattern score apart from the moving-average baseline comparison on a shared lookback.
All readings on this track · 20 readings
- 1988Indicator smoothing: lookback, weight, and scale
- 1990Recency weighting in simple, linear, and exponential moving averages
- 1990Seed and recurrence construction for moving averages
- 1990Constructing a five-day step-weighted moving average
- 1992Constructing simple, weighted, and exponential moving averages
- 1992Constructing moving averages with weighting schemes and extra filters
- 1992Constructing a weighted-average TRIN10 with Bollinger envelopes
- 1992Constructing a banded weighted open-TRIN oscillator
- 1993Evaluating a weighted dual rate-of-change momentum filter
- 1993Constructing equal, linear and exponential moving averages
- 1993Constructing a general weighted moving average from one exponent
- 1993Calibrating the weighted-moving-average exponent
- 1993Constructing an exponent-weighted average of put-call ratios
- 1994Cycle-tuned momentum with spectral peaks
- 1999How a five-bar sine-weighted average is assembled
- 2003Same-scale trend filter from a rolling least-squares endpoint
- 2003How a rolling linear-regression endpoint is assembled as a moving-trend
- 2004Constructing a volume-weighted moving average as a forecast baseline
- 2005Constructing a move, volume and recency weighted average
- 2016MACD as a zero-line filter with dual moving averages