Closed r-matsuzaka closed 2 years ago
TEMA:
/* For an explanation of this function, please read:
*
* Stocks & Commodities V. 12:1 (11-19):
* Smoothing Data With Faster Moving Averages
* Stocks & Commodities V. 12:2 (72-80):
* Smoothing Data With Less Lag
*
* Both magazine articles written by Patrick G. Mulloy
*
* Essentially, a TEMA of time serie 't' is:
* EMA1 = EMA(t,period)
* EMA2 = EMA(EMA(t,period),period)
* EMA3 = EMA(EMA(EMA(t,period),period))
* TEMA = 3*EMA1 - 3*EMA2 + EMA3
*
* TEMA offers a moving average with less lags then the
* traditional EMA.
*
* Do not confuse a TEMA with EMA3. Both are called "Triple EMA"
* in the litterature.
*
* DEMA is very similar (and from the same author).
*/
T3:
/* For an explanation of this function, please read:
*
* Magazine articles written by Tim Tillson
*
* Essentially, a T3 of time serie 't' is:
* EMA1(x,Period) = EMA(x,Period)
* EMA2(x,Period) = EMA(EMA1(x,Period),Period)
* GD(x,Period,vFactor) = (EMA1(x,Period)*(1+vFactor)) - (EMA2(x,Period)*vFactor)
* T3 = GD (GD ( GD(t, Period, vFactor), Period, vFactor), Period, vFactor);
*
* T3 offers a moving average with less lags then the
* traditional EMA.
*
* Do not confuse a T3 with EMA3. Both are called "Triple EMA"
* in the litterature.
*
*/
Thank you very much!
Both are Triple Exponential Moving Average. What is the difference between TEMA and T3?