Skip to content
All library documents

A MACD Variant Comparing a Single-Period EMA and SMA

Article MQL5 code base

Summary

This brief indicator description defines a MACD-style measure using the difference between an exponential moving average and a simple moving average calculated with the same period. Its rationale is that the EMA responds more quickly to price changes than the SMA, so their spread can represent the relative movement of a faster and slower average without using the conventional MACD's separate fast and slow periods. The signal line is a simple moving average of this measure.

The document says the indicator can be used like other MACD variants, but it gives no precise parameter choices, entry or exit rules, market examples, or empirical tests. It therefore explains the construction idea but does not establish that the variant improves on standard MACD or is profitable. Its usefulness depends on implementation details and validation in the instrument and timeframe where it is applied.

Key ideas

  • The indicator compares an EMA and SMA calculated over one shared period.
  • The EMA–SMA spread is used as a MACD-style measure, with an SMA signal line.
  • The proposed rationale is that the EMA reacts faster to price changes than the SMA.
  • The document offers no parameter guidance, trading rules, or performance evidence.

Tags

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