What I built

  • Trades gold (XAUUSD) on MetaTrader 5, written in MQL5.
  • Five strategy slots are on by default (Touch, Wide, Breakout, Stretch and Deep), each on its own timeframe from M1 to M5; four extra slots can be turned on.
  • Each slot builds a trend band from two EMA and ATR channels and enters against a pullback inside that trend, most slots with an RSI check.
  • All entries are market orders, and only one position per strategy is held at a time.
  • Every trade has a money stop, which can also be sent to the broker as a hard stop, and a target or a profit trail.
  • After 3 hours a trade that is not losing is closed, and after 4 hours a trade with only a small loss is closed.
  • Lot size is fixed, or a risk % of the balance based on each strategy's stop.
  • Pauses around the weekend, the daily rollover, big price gaps, outside the broker's sessions and around news.
  • Fully self-contained, with no outside connection.
  • Its trades can be followed on a public MQL5 signal.

Tools

  • MQL5
  • MetaTrader 5
  • XAUUSD
  • Risk sizing

See it live

Live signal on MQL5 →

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