Moving averages, summation
|SYNTAX||ema( ARRAY, periods )|
|FUNCTION||Calculates a periods exponential moving average of ARRAY|
|EXAMPLE||ema( close, 5 )|
|SEE ALSO||MA() function , TEMA() function , AMA() function , AMA2() function , DEMA() function , WMA() function , WILDERS() function|
rho [at] bigpond.com
|See the comments attached to DEMA for a discussion on the differences in the way EMA and others are initialised.|
EMA is initialised from a simple MA of equivalent length. (For compatability with some other strange TA software.) The others are initialised from the first value.
The EMA function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.