Return value of the Triple Exponential Moving Average indicator over the last N periods for selected price.
We calculate three exponential moving average with p period.
MA1 = exponential moving average of close over p period.
MA2 = exponential moving average of MA1 over p period.
MA3 = exponential moving average of MA2.
TEMA = 3 * (MA1-MA2)+MA3
This indicator is faster and more smoothed than a standard moving average. TEMA can be used with other indicators (MACD, stochastic oscillator).
mm = TEMA(close)
slope = momentum(mm-mm)