Glossary
Weighted moving average (WMA)
A moving average that multiplies each of the last N prices by its recency, from N for the newest down to 1 for the oldest, then divides by the weight total.
A weighted moving average (WMA) is an average of the last N prices in which each price counts in proportion to how recent it is. In a 5-period WMA the newest close is multiplied by 5, the one before by 4, and so on down to 1, and the total is divided by 15, the sum of the weights. It turns sooner than a simple moving average of the same length. Unlike an exponential moving average, it drops a price completely once that price is more than N bars old.
Trade-offs
The weights fall in a straight line. In a 10-period WMA the newest close carries 10 ÷ 55 = 18.2% of the weight and the oldest only 1.8%. That cuts lag compared with an SMA, but every moving average trades speed for noise: a faster line also turns more often in sideways markets and produces more whipsaws. The WMA is also a building block of lower-lag averages such as the Hull moving average.
Related terms
Sources and further reading
- Robert W. Colby, The Encyclopedia of Technical Market Indicators, 2nd ed. (McGraw-Hill, 2003) — weighted moving averages
- TA-Lib — WMA function reference
