What I built

  • Trades gold (XAUUSD) on MetaTrader 5, written in MQL5.
  • At the start of every hour it reads a momentum oscillator on five timeframes (M15 to D1) and compares that picture with the AI reference patterns built into the EA.
  • A trade opens only when the market already leans clearly to one side and the closest matching pattern points the same way; otherwise the hour is skipped.
  • Every trade gets a stop loss and a take profit from the start, and a trailing stop locks in part of the gain once the trade is far enough in profit.
  • At most two trades are open at a time, and a buy is never opened while a sell is open.
  • Lot size grows with the account balance, with an optional ceiling. No grid, no martingale and no averaging.
  • By default it does not trade on Fridays and closes any open trade before the weekend.
  • Fully self-contained: the model is compiled into the EA, with no external file, indicator or connection.
  • Reads its open trades back from the account after a restart.
  • Its trades can be followed on a public MQL5 signal.
  • Published and sold on the MQL5 Market.

Tools

  • MQL5
  • MetaTrader 5
  • XAUUSD
  • Risk sizing

See it live

View on MQL5 Market →
Live signal on MQL5 →

Screenshots

Sigma7 AI Gold MT5 Strategy Tester backtest results, XAUUSD H1, 2026-04-01 to 2026-10-28
Sigma7 AI Gold MT5 Strategy Tester backtest balance graph, XAUUSD H1, 2026-04-01 to 2026-10-28
Sigma7 AI Gold chart panel on an XAUUSD H1 chart in MetaTrader 5

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