Skip to content
All library documents

Trading Signals from Changes in the X2MA Moving Average

Article MQL5 code base

Summary

The document describes an Expert Advisor that generates a signal when a bar closes and the direction of the X2MA universal moving average changes. It specifies that a compiled indicator file must be available in the terminal’s indicator directory, and says the tests shown used default Expert Advisor parameters without stop-loss or take-profit settings.

The text refers to historical deal examples and test charts for USDCHF on a four-hour timeframe in 2011, but does not provide numerical returns, drawdowns, trade counts, or other results in the excerpt. It therefore explains the signal rule and testing context without establishing whether the approach was profitable or robust. No position sizing, additional entry filters, or risk controls are described, and the lack of stop-loss and take-profit use is a material limitation of the stated test setup.

Key ideas

  • The Expert Advisor signals when the X2MA moving average changes direction at a bar close.
  • The described historical test used USDCHF on a four-hour chart during 2011.
  • The test setup used default Expert Advisor parameters and did not use stop-loss or take-profit settings.
  • The excerpt provides no numerical performance or risk results with which to assess the strategy.

Tags

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