TREND, MOVING AVERAGES & STRUCTURE
Triangular MA
An average of an average — extra smooth, and slower to react.
spec id: trimalength (default 20)
What does Triangular MA measure?
An average of an average — extra smooth, and slower to react. Good for reading the underlying direction through noisy data.
How is Triangular MA calculated?
Take a simple average of the close over roughly half of 20 candles, then take a simple average OF that line over the other half.
Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.
How do I use Triangular MA in a bot?
In the builder, add an indicator of type trima (parameters: length, default 20). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.
Related indicators
- Time-series forecastWhere the recent trend line says the next candle should land — a one-step-ahead projection, not a prediction of the market.
- Typical priceOne representative price for the candle.
- Vertical horiz filterA trend-versus-range filter.
- VIDYAAn exponential average with an automatic gearbox: it speeds up when momentum is strong and coasts when the market is quiet.
Or browse all 158 indicators in the full library.