MT5 Triangular Moving Average (TMA)

1
Triangular Moving Average (TMA)

For MT4, please go here:
topic8423458.html
===========================================================================================
In Forex, TMA usually refers to the Triangular Moving Average —
a type of moving average that smooths price more strongly than SMA or EMA.

⭐ What is TMA (Triangular Moving Average)?
The Triangular Moving Average (TMA) is a moving average that applies double smoothing to price data:
  • First, it takes a Simple Moving Average (SMA).
  • Then, it takes another SMA of that first SMA.
This double-smoothing process creates a very smooth, low-noise, laggy line.
===========================================================================================
⭐ Why is it called ā€œTriangularā€?
Because the weighting of the price data forms a triangle shape:
Prices near the middle of the period get more weight.
Prices at the start and end get less weight.
Example for a 7-period TMA weight distribution:
1, 2, 3, 4, 3, 2, 1

This ā€œtriangleā€ of weights gives the name Triangular Moving Average.
===========================================================================================
⭐ What TMA is used for
Trend direction
Smoother signals with less noise
Support/resistance dynamic levels
Filtering out fake volatility spikes
Traders like it because it looks cleaner than many other moving averages.
===========================================================================================
āš ļø Important: Centered TMA vs Regular TMA
In Forex forums (especially Forex-Station), TMA often refers to Centered TMA, which recalculates historically because it uses future bars for smoothing.
Regular TMA = normal triangular MA (does not repaint)
Centered TMA = smoothed and shifted; recalculates (many people call it ā€œrepaintingā€)

Mladen explained:
ā€œCentered TMA recalculates; that’s not repainting. It’s just math that uses future data.ā€
This is why many TMA indicators appear to ā€œmoveā€ historically.


Re: MT5 Triangular Moving Average (TMA)

2
TMA Centered Bands (recalculated arrows)
(on/off button)
mladen wrote: Mon Feb 18, 2019 9:05 pm Guys,

Centered TMA does not "repaint". Repainting is a coding error
Centered TMA recalculates - as any extrapolation using code does
These users thanked the author Banzai for the post (total 3):
Krunal Gajjar, macd & rsi, Abdi