Skip to content
All library documents

Moving Average Crossover EA with Risk and Exit Controls

Article MQL5 code base

Summary

This expert advisor is described as a moving average crossover system that trades using the open candle’s price. Its settings cover fast and slow moving average periods, trade limits, fractal highs and lows, and use across time frames on major Forex pairs and NASDAQ stocks. The description also lists fixed or money- and percentage-based profit targets, stop losses, trailing stops, candle-based trailing, and break-even adjustments.

Position sizing can increase after losses through an adjustable factor, and equity-based controls are available to limit drawdown or close trades when conditions turn adverse. The page supplies parameter ranges and encourages demo use, but gives no precise crossover rules, backtest, or live performance evidence. Loss-based size increases can amplify exposure, so the settings alone do not establish that the system controls risk effectively.

Key ideas

  • The EA is described as trading moving average crossover signals using the open candle’s price.
  • It provides fixed, monetary, and percentage-based profit and loss controls.
  • Trailing-stop and break-even options offer several ways to manage exits.
  • Trade count, equity-stop, and drawdown-related settings control exposure.
  • An adjustable factor can increase position size after losses, which may magnify risk.

Tags

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