TransparentTrader wrote: Wed Dec 10, 2025 4:38 pm
I have access to the January and February 1994 issues where Patrick introduces the DEMA in the January issue, followed by the TEMA in the February issue. I've attached both of them to this post.
I think you meant to say Patrick developed the Triple Exponential Moving Average, because I can't find anything about a Triangular EMA under his name.
Yeah, think you are right, also about the Triangular EMA seems if I remember correctly have seen a version in Trading View only.
Have seen online TMA being called just a moving average simply smoothed with a another moving average and coded that way, but from what I can tell that is partially correct and not the same as Ehlers version.
Calculating the Triangular Moving Average
To calculate the Triangular Moving Average (TMA), you'll first need to select a time period. This can be any length, depending on your trading style and preferences. Once you have determined the time period, follow these steps to calculate the TMA:
Start by calculating the Simple Moving Average (SMA) for the selected time period.
The formula of the SMA is as below:
SMA=n∑i=1nPi
Next, calculate the average of the SMA values for both the first and second halves of the time period.
Finally, calculate the TMA by taking the average of the two averages calculated in the previous step.
The formula of the TMA is as below:
TMA=(∑m/i=1 SMAi)/m
Where m is the number of SMA values used to calculate the TMA. For an even number of periods, the calculation might slightly adjust to account for the even distribution, often by taking an average that includes half-period weights at the beginning and end of the period range.