CALCULATING TEMA1 AND DEMA1 by Technical Analysis, Inc.
These Excel spreadsheets (sidebar Figures 1 and 2) present the calculation of TEMA1 (column H) and
DEMA1 (column N). TEMA1 uses a multiple linear regression over a 52-week period of closing prices to
calculate the coefficients a2, a1 and a0 in cells I2, J2 and K2, respectively. The weekly closing price for
NASDAQ is in column B. Column C has the values for X (representing the value t) and column D is X^2
(representing t^2) for the regression formula.