What I built

  • Trades gold (XAUUSD) on MetaTrader 5, written in MQL5.
  • Runs nine separate swing-breakout streams, each entering with resting stop orders.
  • Every trade opens with a hard stop loss and a take profit.
  • The stop loss moves to break-even once the trade is in profit.
  • No grid, no martingale and no averaging down.
  • Position sizing is built into the EA.
  • Published and sold on the MQL5 Market.

Tools

  • MQL5
  • MetaTrader 5
  • XAUUSD
  • Risk sizing

See it live

View on MQL5 Market →

Backtest results

MetaTrader 5 Strategy Tester, XAUUSD H1, 2026.01.08 to 2026.09.09, modeling: Every tick, deposit 1,000 USD, leverage 1:500. Risk 2% per trade, all nine streams (Trade frequency: Very high), NFP filter on.

Total net profit9,486.22 USD
Gross profit / gross loss16,221.55 / −6,735.33
Profit factor2.41
Recovery factor5.10
Sharpe ratio8.35
Expected payoff11.58
Total trades819
Profit trades692 (84.49%)
Short trades (won)398 (85.68%)
Long trades (won)421 (83.37%)
Balance drawdown maximal1,063.49 (12.76%)
Equity drawdown maximal1,860.69 (20.48%)
Equity drawdown relative28.94% (430.70)
Largest profit / loss trade1,201.10 / −223.46
Average profit / loss trade23.44 / −52.22
Maximum consecutive losses6 (−551.95)

Backtest results do not guarantee future results.

Screenshots

Sigma7 Gold Swing MT5 Strategy Tester backtest report, XAUUSD H1, 2026-01-08 to 2026-09-09 (1 of 2)
Sigma7 Gold Swing MT5 Strategy Tester backtest report, XAUUSD H1, 2026-01-08 to 2026-09-09 (2 of 2)

Related service

MT4 / MT5 Expert Advisors →

Have a bot, a backend or a strategy in mind?

Tell me what you want to build and where you are with it. Send a few lines about the project and I’ll reply with questions and next steps.

Rajshahi, Bangladesh