Weighted Moving Average (WMA)
Moving average that linearly weights recent closes more than older ones — more responsive than SMA but smoother than raw price.
WMA = Σ(weight_i × Price_i) / Σ(weight_i), weight_i = n − (n − i)
The WMA assigns a weight of n to the most recent close, n − 1 to the prior close, and so on down to 1 for the oldest bar in the window. The weighted sum is then divided by the sum of all weights (n × (n + 1) / 2).
WMA is faster than SMA but slightly less reactive than EMA over the same period. It is less commonly seen in popular indicators but is the backbone of the Hull Moving Average and certain smoothed-momentum formulas.
