Tillson T3 Moving Average

The Tillson T3 Moving Average (T3) of Tim Tillson (1998) applies a generalized DEMA three times, for an average that is both smooth and quick.

The formula for the Tillson T3 Moving Average applies the EMA over n periods six times in turn, \(E_{1}\) to \(E_{6}\), each to the one before, starting from the close:

\[E_{1} = \text{EMA}(\text{Close}, n)\] \[E_{k} = \text{EMA}(E_{k-1}, n)\]

The volume factor a, between 0 and 1, sets how much of the lag reduction of the DEMA each step takes, and gives the weights of the last four EMAs:

\[c_{1} = -a^{3}\] \[c_{2} = 3 \cdot a^{2} + 3 \cdot a^{3}\] \[c_{3} = -6 \cdot a^{2} - 3 \cdot a - 3 \cdot a^{3}\] \[c_{4} = 1 + 3 \cdot a + a^{3} + 3 \cdot a^{2}\]

The T3 is the weighted sum of those EMAs:

\[T_{3} = c_{1} \cdot E_{6} + c_{2} \cdot E_{5} + c_{3} \cdot E_{4} + c_{4} \cdot E_{3}\]

Where EMA(x, n) is the exponential moving average of x over n periods, with \(\alpha = 2 / (n + 1)\), and k runs from 2 to 6. A volume factor of 0 makes it the EMA applied three times, 1 the DEMA applied three times; Tillson uses 0.7. The T3 is smoother than the DEMA and TEMA and overshoots the price less after a sharp move.

A moving average smooths the price by averaging it over the last n periods, so that the trend shows through the noise of single periods. It is the oldest and most widely used trend indicator: the direction of the average shows the direction of the trend, the price above (below) it an uptrend (downtrend), and other indicators, from the MACD to the Bollinger Bands, are built on it. Every moving average trades smoothness against lag: the more periods it averages, the smoother it is and the later it turns after the price. The averages differ in how they weight the prices within the window and whether they adapt their speed to the market, each a different answer to that trade-off.

Also known as: T3, Tillson T3, T3 moving average.

In the Finance Toolkit this is get_moving_average with method="t3", the same function as Moving Average.

Example · ^GSPC · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_moving_average:

from financetoolkit import Toolkit

toolkit = Toolkit(
    tickers=["^GSPC"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.technicals.get_moving_average(method="t3", window=50)

Which returns:

References

  • Paper Tillson, T. (1998). “Smoothing Techniques for More Accurate Signals.” Technical Analysis of Stocks & Commodities, 16(1).
  • Library Referenced against TA-Lib’s T3 (Tillson T3 Moving Average)
  • Library Referenced against pandas-ta-classic’s t3 (Tillson T3 Moving Average)
Share