Skip to main content
Track Weighted moving average
18 / 20
Library

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.
Entries in this reading3 entries

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.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
18 of 20 in the Weighted moving average track
20051-4 pp.Next on Weighted moving averageConstructing a move, volume and recency weighted averageA moving-average of past values can serve as a directional forecast only after extra inputs are added whose changes are correlated with later changes in the series.
All readings on this track · 20 readings
  1. 1988Indicator smoothing: lookback, weight, and scale
  2. 1990Recency weighting in simple, linear, and exponential moving averages
  3. 1990Seed and recurrence construction for moving averages
  4. 1990Constructing a five-day step-weighted moving average
  5. 1992Constructing simple, weighted, and exponential moving averages
  6. 1992Constructing moving averages with weighting schemes and extra filters
  7. 1992Constructing a weighted-average TRIN10 with Bollinger envelopes
  8. 1992Constructing a banded weighted open-TRIN oscillator
  9. 1993Evaluating a weighted dual rate-of-change momentum filter
  10. 1993Constructing equal, linear and exponential moving averages
  11. 1993Constructing a general weighted moving average from one exponent
  12. 1993Calibrating the weighted-moving-average exponent
  13. 1993Constructing an exponent-weighted average of put-call ratios
  14. 1994Cycle-tuned momentum with spectral peaks
  15. 1999How a five-bar sine-weighted average is assembled
  16. 2003Same-scale trend filter from a rolling least-squares endpoint
  17. 2003How a rolling linear-regression endpoint is assembled as a moving-trend
  18. 2004Constructing a volume-weighted moving average as a forecast baseline
  19. 2005Constructing a move, volume and recency weighted average
  20. 2016MACD as a zero-line filter with dual moving averages
All 24 readings tagged Weighted moving average
Also on Weighted moving average5 readings