MovAvgTriangular

Description

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.

Plots

Plot Description
AvgTri The Triangular Moving Average.

Example*

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