All markets

Gold trading bot for MT4 & MT5

Gold is the most popular market for MetaTrader bots: it trades almost around the clock, moves enough each day to be worth trading, and has decades of clean daily history to learn from.

Free market · Broker symbol: XAUUSD

What moves Gold

Gold moves with real interest rates (US Treasury yields minus inflation), the US dollar, central-bank buying, and safe-haven demand when markets get nervous. US inflation reports, jobs data and Federal Reserve decisions regularly cause its biggest daily moves.

How the AI builds a Gold bot

Describe your own idea, or start from a ready-made template. The AI turns it into precise rules, tells you which kinds of market it tends to suit, and writes an MT4 or MT5 bot with a stop loss on every trade. You also get a plain-English explanation of when it buys, when it sells and what one losing trade costs. Attach it to a Gold chart and test it on a demo account first.

Before you run a Gold bot

Most brokers quote gold as XAUUSD, often at 100 ounces per lot, so a small move in price is a big move in dollars. Spreads widen around the daily rollover and big US news, and gold can gap over the weekend. A bot should size each trade from its stop distance and leave room for those spikes.

Patterns to try on Gold

  • Oops! — Price gaps below yesterday's low, then trades back up through it — buy the reclaim.
  • Smash day — A day closes beyond the prior extreme, then gets rejected next day — fade the failed breakout.
  • Range compression — A day's range contracts below the N-day average — arm a breakout, because expansion follows contraction.

Related guides