WMA
- weighted moving average

Moving averages, summation
(AmiBroker 40)


SYNTAX wma( ARRAY, periods )
RETURNS ARRAY
FUNCTION Calculates weighted average. 5 day weighted average gives weight of 5 to the most recent quote, 4 to the previous quote, downto 1 for the 5-bar back quote. The function accepts time-variable periods.
EXAMPLE WMA( Close, 5 )
SEE ALSO MA(), EMA(), WMA(), DEMA()

References:

The WMA function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.