The Triangular Moving Average (TMA) is a study calculated as double-smoothed simple moving average (or SMA of SMA) of the price. The moving average is calculated for an interval being a half of the selected time period. This way, the emphasis is placed on the middle of the time period selected.

Input Parameters

Parameter Description
price The price used to calculate the average.
length The number of bars used to calculate the average.
displace The displacement of the TMA study, in bars. Positive values signify a backward displacement.


Plot Description
AvgTri The Triangular Moving Average.


*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.

You may also like
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
The Slow Relative Strength Index is a version of the classic Relative Strength Index (RSI), ...
The Four-Day Breakout LE strategy is designed by Ken Calhoun. The strategy adds a buy to ...