Triangular moving average ...

First the good old triangular moving average.

It's definition is fairly simple and one can be (among other places) be found here : Triangular Moving Average - Description of the Triangular Moving Average (TMA) . Here is how a normal triangular moving average looks like on a chart :

Now, at some stage of TA development people like Hurst and Brian Millard were thinking how can that be made better (since obviously there is a lag in the data that TMA is calculating - the most significant price in calculation is in the middle if the length so it is a half way from the current price, current price has less weight in that calculation) and they came to an idea that was already used in some other indicators : to "center" it.

Now centering is simply shifting values to the left on the chart by half length bars and after doing that it looks like this :

As it is obvious, by shifting it to the left, it fits perfectly the data but it starts lacking data from the right. And then comes in the centered version of triangular moving average ...

**Files:**

The purpose of this thread is more personal ...

At some stage (some 4 years ago, posted it at this post : https://www.mql5.com/en/forum/175938/page17I ) coded one variation of an indicator that I named TMA centered. After that somebody shortened it's name to TMA and ever since I am receiving emails and private messages about it in which people are asking me to make it non-recalculating, non-repainting, whatever ....

These few posts are going to explain what TMA is and what TMA is not ...