Skip to content
All library documents

NEMA MACD: Varying EMA Depth Across MACD Components

Article MQL5 code base

Summary

This indicator calculates MACD with NEMA, a configurable family of moving averages whose depth determines the calculation. Depth one corresponds to EMA, while depths two and three correspond to DEMA and TEMA; the document says the series continues to a maximum depth of 50. The same depth is used for the fast, slow, and signal calculations.

At depth one, the result matches the original Gerald Appel MACD. Other depths produce a different MACD variant. The indicator also includes alerts and multi-timeframe support. The description explains the available calculation choices, but gives no trading rules, performance evidence, or comparison showing whether deeper settings improve signals. Traders would need to evaluate those choices for their own markets and timeframes.

Key ideas

  • NEMA depth one uses EMA, while depths two and three correspond to DEMA and TEMA.
  • The indicator supports depths up to 50.
  • Fast, slow, and signal calculations all use the selected NEMA depth.
  • Only depth one reproduces the original Gerald Appel MACD.
  • The description mentions alerts and multi-timeframe operation but provides no performance evaluation.

Tags

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