Skip to content
All library documents

Configurable Triple Exponential Moving Average for Trading Indicators

Article MQL5 code base

Summary

The document describes a configurable Triple Exponential Moving Average indicator intended as a lower-lag alternative to conventional moving averages. It explains that the indicator combines single, double, and triple smoothing stages, and exposes separate settings for each stage’s smoothing method, length, and phase, alongside applied price and chart shifts. The implementation is presented for MetaTrader and relies on a separate smoothing-algorithm library.

The description notes that phase settings do not mean the same thing across smoothing algorithms: their effect depends on the selected method, and some methods ignore them. It also calls out specific parameter interpretations for JMA, T3, VIDYA, and AMA. This is implementation guidance rather than a tested trading strategy; the document gives no market results, signal rules, or comparison of lag and noise across parameter choices. Users would need to understand the underlying smoothing methods and validate any use in their own market and timeframe.

Key ideas

  • TEMA combines single, double, and triple smoothing to reduce lag relative to the component averages.
  • The indicator allows separate smoothing methods and lengths for its three stages.
  • Phase parameters have method-dependent meanings and may have no effect for some algorithms.
  • The implementation requires an external smoothing library in a MetaTrader environment.
  • The document provides no trading rules or performance evidence for the indicator.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.