Skip to content
All library documents

Constructing a Single-Period MACD from EMA and SMA

Article MQL5 code base

Summary

This note describes a MACD-style indicator built around the difference in responsiveness between an exponential moving average and a simple moving average. Its central idea is to use that speed difference with a single period, instead of the separate fast and slow averages used in a conventional MACD. A simple moving average serves as the signal line, and the indicator is presented as usable in the same way as other MACD variants.

The document offers a conceptual description but provides no formula, parameter settings, chart, trade rules, or performance evidence. It also does not explain how to interpret crosses or other signals, or how the indicator might behave across instruments and timeframes. Traders would need to establish those details and test the resulting signals before drawing conclusions about their value.

Key ideas

  • The indicator aims to exploit the faster response of an exponential moving average relative to a simple moving average.
  • It uses a single period rather than the two averaging periods in a conventional MACD.
  • A simple moving average is used to calculate the signal line.
  • The note provides no parameter values, explicit trading rules, or test results.

Tags

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