Skip to content
All library documents

A Moving Average That Changes Its Period During Trends

Article MQL5 code base

Summary

The document describes d_XMA, an indicator whose moving-average period changes during a trend. It identifies the indicator’s author and notes that it was first published in the MQL4 Code Base before being adapted for MQL5. The implementation relies on a separate smoothing library, but the document does not explain the period adjustment rule or provide formula details.

The source offers only a caption referring to an indicator figure; it includes no performance results, trading rules, parameter guidance, or comparison with fixed-period averages. As a result, it introduces the idea of a trend-responsive moving average but is insufficient to assess how the indicator behaves or whether it improves trading decisions. Its usefulness is conceptual and limited without the referenced implementation details.

Key ideas

  • The indicator changes its moving-average period during a trend.
  • The document does not specify how the period is adjusted.
  • The implementation depends on a separate smoothing library.
  • No trading results or validation evidence are provided.

Tags

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