Skip to content
All library documents

Two-Moving-Average Crossover Expert Advisor with Virtual Stops

Article MQL5 code base

Summary

The document outlines an Expert Advisor built around the intersection of two moving averages. It states that take-profit and stop-loss levels are virtual, and that the moving-average parameters are hard coded rather than adjustable. Thus, the described strategy is a basic crossover system with limited user configurability and internally managed exit levels.

The text reports testing on the five-minute timeframe, with optimization based on balance and maximum Sharpe ratio over a period beginning in January 2017 and ending in February 2017. It also mentions a test of all pairs with default parameters on a fifteen-minute timeframe, but supplies no results, pair list, or details of the testing procedure. The information is too limited to assess profitability, robustness, transaction costs, or out-of-sample performance; it describes the EA and testing setup without demonstrating that the crossover is a reliable trading signal.

Key ideas

  • The Expert Advisor enters trades based on the intersection of two moving averages.
  • Its take-profit and stop-loss levels are virtual, and its indicator parameters are fixed in the code.
  • The document mentions optimization and tests on five-minute and fifteen-minute timeframes.
  • It gives no numerical performance results or enough methodology to assess robustness.

Tags

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