Skip to content
All library documents

Four-Strategy Forex Expert Advisor and Its Trend-Dependent Risks

Article MQL5 code base

Summary

This document describes a MetaTrader Expert Advisor that combines four strategies with separate money management settings. The strategies use RSI signals with moving-average exits and limited rebuys, timed breakout orders, a Monday-to-Friday stop-order approach, and trading around Monday price gaps. Positions use trailing stops, and the author recommends testing the system on the five-minute timeframe, originally for USDJPY and also potentially EURUSD.

The document offers caveats rather than robust performance evidence. It reports that the EA can lose money in ranging or triangular markets and describes a losing balance curve on EURUSD at one-minute resolution, despite equity being above balance. Other timeframes and instruments may perform poorly. It also notes that internal variables reset after a stop or restart, making continuous terminal operation necessary for the intended autonomous setup. The account of the strategies is brief and does not provide detailed backtest settings, transaction costs, or comparative results.

Key ideas

  • The Expert Advisor combines four distinct strategies and separate money management settings.
  • It uses RSI and moving averages, timed breakout orders, weekly stop orders, and Monday gap monitoring.
  • Trailing stops are used, and take-profit orders were removed after a scaling component was deleted.
  • The author warns that ranging markets can cause losses because the strategies are trend-oriented.
  • Performance claims are limited and depend on instrument, timeframe, and continuous operation.

Tags

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