Try TT Now

X_STUDY®

Triangular Moving Average (TRIMA)

Description

The Triangular Moving Average (TRIMA) represents an average of prices, but places weight on the middle prices of the time period. The calculations double-smooth the data using a window width that is one-half the length of the series.

Formula

MA = ( SMA ( SMAm, Nm ) ) / Nm

Where:

  • N = Time periods + 1
  • Nm = Round ( N / 2 )
  • SMAm = ( Sum ( Price, Nm ) ) / Nm
Example