How Can We Help?

Triangular Moving Average

You are here:
< All Topics

TriangularMovingAverage(Vector, Periods)
TMA(Vector, Periods)

MA Type Argument ID: TRIANGULAR

Overview
The Triangular Moving Average or TMA is similar to a Simple Moving Average, except that more weight is given to the price in the middle of the moving average periods.

Interpretation
A Moving Average is most often used to average values for a smoother
representation of the underlying price or indicator.

Example
set BUY = CLOSE > TMA(CLOSE, 30)
Evaluates to buy when the close is greater than a 30-day TMA.

Table of Contents