Exponentially smoothed moving averages

An exponentially smoothed moving average is a weighted moving average in which the weight factors are powers of S, the smoothing constant. An exponentially smoothed moving average is computed over all the data accumulated so far instead of being chopped off after some number of days. For day d the exponentially smoothed moving average is:

But this is just a geometric sequence! The next term in such a sequence is given by:

Calculation is expedited and comprehension served if we substitute:

for S into the equation for the next term. Doing a little algebra, we discover:

This reformulation makes the operation of smoothing very intuitive. Every day, we take the old trend number Ad-\, calculate the difference between it and today's measurement Md, then add a percentage of that difference P to the old trend value obtain the new one. Obviously, the closer P is to 1 (and hence the closer S is to zero), the more influence the new measurement has upon the trend. If P = 1, the old trend value A^-i cancels out and the moving average tracks the data precisely.

For example, with the smoothing constant S = 0.9 we use on weight data, we calculate the new trend value Ag from the previous trend value Ad-\ and today's weight

In discussions of exponentially smoothed moving averages, particularly their financial applications, beware of confusing the smoothing constant S with the variant form P = (1 — S) introduced to simplify calculation and make the effect of the new data on the moving average more apparent. P is often referred to as the "smoothing percentage"; the term "10% smoothing" refers to a calculation in which P = 10/100 = 0.1 and hence 5 = 0.9.

0 0