TREND, MOVING AVERAGES & STRUCTURE
TEMA
An even quicker version of the double exponential average — about as responsive as a smoothed line gets before it starts chasing noise.
spec id: temalength (default 20)
What does TEMA measure?
An even quicker version of the double exponential average — about as responsive as a smoothed line gets before it starts chasing noise.
How is TEMA calculated?
Take an exponential average of the close, then one of that, then one of that again. Combine the three so the lag from each layer largely cancels: three times the first, minus three times the second, plus the third.
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 TEMA in a bot?
In the builder, add an indicator of type tema (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
- Triangular MAAn average of an average — extra smooth, and slower to react.
- 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.
Or browse all 158 indicators in the full library.