Triangular Moving Average

The Triangular Moving Average (TMA) is a double smoothed simple moving average. This is calculated as follows TMA = SMA(SMA). The user may change the input (close), period (20) and shift (0). This indicator’s definition is further expressed in the condensed code given in the calculation below.

Triangular Moving Average

How To Trade Using the Triangular Moving Average (TMA)

TMA may be used as a moving average in conjunction with other indicators. No trading signals are given.

How To Access in MotiveWave

Go to the top menu, choose Study>Moving Average>Triangular Moving Average (TMA)

or go to the top menu, choose Add Study, start typing in this study name until you see it appear in the list, click on the study name, click OK.

Important Disclaimer: The information provided on this page is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security. Please see our Risk Disclosure and Performance Disclaimer Statement.

Calculation

//input = price, user defined, default is close
//period = user defined, default is 20
//shift = user defined, default is 0
//ma = moving average, index = current bar number

ma1 = ma("SMA", index, period, input);
Plot: tma[shift] = ma("SMA", index, period, MA1);