Skip to content

TRIMA

Triangular MA — double smoothing of SMA with greater weight on the central points. Triangular Moving Average (TRIMA) is a double SMA: first an SMA over n/2 periods is calculated, then an SMA over the same period again. The central data receives greater weight, which smooths the curve and reduces the influence of extreme values. Smoother than SMA, but reacts more slowly.

Formula:

TRIMA = SMA(SMA(Close, ceil(period/2)), ceil(period/2))
ParameterTypeDefaultRange / Values
Periodint201-200
TriggerDirectionConditionDescription
Price crosses the line up🟢 BuyPrice crossed the indicator line from below to above.The closing price crossed the indicator line from below to above.
Price crosses the line down🔴 SellPrice crossed the indicator line from above to below.The closing price crossed an arbitrary indicator line (MA, Supertrend, etc.) from above to below.
Price above the line🟢 BuyThe closing price is above the indicator line.The closing price is above the indicator line (MA, Supertrend, etc.). Reflects the current position of price relative to the trend line.
Price below the line🔴 SellThe closing price is below the indicator line.The closing price is below the indicator line.