The Wilder's Smoothing Average (WMA) indicator.

It has two input parameters:

  • Period - calculation period;
  • Applied price - price used for calculations.

Calculations:

WMA = (Applied price - PrevWMA) * k + PrevWMA

where:

k = 1/Period