|
This indicator is a variation of the more basic simple moving average indicator. It lends more weight to recent data than the simple moving average, which actually drops old data from its sample. In this case the historical data is always carried forward by using the result from the prior period as a basis for the calculation.
EMA = EMAp + {K * (Price EMAp)}
EMA = exponential moving average
EMAp = the previous period exponential moving average
K = smoothing constant
Price = current price
K the smoothing constant is derived from the time period selected by the user according to the following formula
K = 2/n+1
Where n is the period chosen by the user
In the example below the shortest period is represented by the blue line (n = 4), the next is the red line (n = 9) and the longest period is the green line (n = 14). These parameters (4, 9, 14) can be selected by the user and in this example appear overlayed on a daily chart.
|