Indicators

Triangular Moving Average (TRIMA) Indicator Explained

How the Triangular Moving Average double-smooths with center weighting for maximum stability, and how to automate TRIMA in Setup.Cash.

By Setup.Cash TeamLast updated 2026-07-032 min read215 words

Featured image placeholder

/og/setup-cash-og.svg

The Triangular Moving Average (TRIMA) is an SMA of an SMA — which concentrates the weight in the middle of the window, in a triangle shape. It is deliberately the slowest, calmest average in the toolbox: nothing short of a real trend change moves it.

How It Works

  • Double simple smoothing gives midpoint-weighted bars the most influence.
  • Noise at the leading edge of the window has almost no effect, so the line barely reacts to single bars.
  • The trade-off is lag: TRIMA confirms trends late by design.

How to Trade It

Use TRIMA as the anchor of the system, never the trigger: a higher-timeframe TRIMA slope as the master regime filter, or price-vs-TRIMA as a slow bias while faster tools time entries. It's the average you want deciding whether to trade, not when.

Building It in Setup.Cash

Add Triangular Moving Average (TRIMA) in the strategy builder — the length input controls its sensitivity — and use its value in any entry, exit, or filter condition. You can also combine it with other tools in the Indicators Lab or via the AI indicator generator. Need speed instead? See HMA, DEMA and TEMA. For the full category overview, see the advanced trend library guide.

Trend tools reward patience: pick one, pair it with a volatility or regime filter, and backtest before trading it live.

Not financial advice. Trading involves risk. Use backtesting and paper trading before risking real capital.

Related Posts

View all

Start here

Build your trading bot workflow with structure

Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.