Moving averages, summation
|SYNTAX||wma( ARRAY, periods )|
|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()|
The WMA function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.