Skip to content
All library documents

A Five-Moving-Average Trend Strategy Filtered by ADX

Article MQL5 code base

Summary

The described Expert Advisor looks for directional alignment among five moving averages with periods of 10, 20, 50, 100, and 200. It opens a buy when the shorter averages are ordered above the longer ones, and a sell when their order is reversed. An ADX filter suppresses signals when ADX is below 20, aiming to avoid entries when trend strength is weak.

The document reports that the system was tested in tick-by-tick mode on hourly and daily charts, with separate stop-loss and take-profit settings for those timeframes. It names several yen and euro currency pairs but includes no readable performance results, so effectiveness cannot be assessed from the supplied text. The rules also leave details such as position sizing, exit behavior beyond the stated stops and targets, costs, and robustness across other instruments or periods unspecified.

Key ideas

  • The system uses the ordering of five moving averages to define long and short signals.
  • An ADX reading below 20 blocks new directional entries.
  • The described tests use hourly and daily forex charts with timeframe-specific stops and targets.
  • The text supplies no performance figures, limiting conclusions about profitability or robustness.

Tags

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