Home / Blog / Gold EA (XAUUSD EA): what an Expert Advisor for gold must…

Gold EA (XAUUSD EA): what an Expert Advisor for gold must handle, and how to choose one

In short: A gold EA, XAU bot or XAUUSD robot is an MT5 Expert Advisor that trades gold against the dollar by fixed rules. Gold moves in large steps, so a good one must cope with contract size, wide spreads at news, your account type and your broker's symbol name. Check those five before the strategy.

XAUUSD EA: 5 things a gold EA must handle: contract size, spread, news, account type, symbol
5 things a gold EA must handle: contract size, spread, news, account type, symbol

"Gold EA", "XAU bot", "XAUUSD robot" and "gold trading robot" are different names for one thing: a program in the MetaTrader terminal that sends gold orders without you. The strategy is a separate question (see gold trading bots for MT5). This page covers what is special about XAUUSD, because an EA built for it ignores these things at your cost.

On this page (5)

What makes gold harder for an EA than a currency pair?

Gold moves in dollars, not pips, and does so fast. A move of several dollars within minutes is ordinary around releases, and the price can gap over the weekend. For a grid or martingale EA that adds orders against the position, one long move is the main danger (martingale grid on gold: the arithmetic of stop-out).

What are the five things an XAUUSD EA must handle?

#TopicWhy it matters on goldWhere to check
1Contract size and lotA standard lot is commonly 100 ounces, so a $1 move is about $100 per lot; cent accounts divide this. Wrong size means wrong riskYour broker's contract specification; gold lot size calculator, margin calculator
2Spread and sessionsSpread widens at news and around the daily rollover; an EA tuned to a calm spread behaves differentlyXAUUSD hours, spread and swap, trading hours tool
3News daysNFP, CPI and FOMC can move gold sharply and skip pricesGold on news days
4Account typeA hedging account can hold opposite positions at once, a netting account keeps one position per symbol (MQL5 reference). An EA built for one fails on the otherHedging vs netting
5Symbol nameBrokers name gold XAUUSD, GOLD, XAUUSDm and so on. An EA coded for one name may not attach to anotherThe EA's documentation; your Market Watch

Contract size differs by broker, so use your own specification rather than a number from a web page, ours included.

How do you choose an XAUUSD EA?

  1. Match the requirements first. Platform, account type, symbol and leverage in writing, before any equity curve.
  2. Find the type. Single trade with a stop, trend, or grid. A grid needs the full-depth arithmetic.
  3. Ask for tests with their conditions: period, tick mode, spread, deposit and lot rule (free backtest on real ticks).
  4. Run your own checks following the step-by-step test and put the seller's answers next to 10 questions before you buy.
  5. Check the platform. An EA written for MT4 does not run in MT5 and the other way round; see MT4 or MT5 for an Expert Advisor.

What are Midas's answers on the five topics?

Midas is our gold EA, so this is a seller's answer. It is an MT5 Expert Advisor for XAUUSD only, with a martingale-style grid, a trailing exit and an optional one-order lock. It needs a hedging-type cent account and does not support netting (open a broker account). Lot, spread and news handling are settings in its panel, and the free emulator shows how your settings behave on real gold ticks since January 2025. With too small a deposit a stop-out is possible. Size your deposit with a safety margin (Risk, plainly).

FAQ

What is a gold EA, and is it the same as an XAU bot?

Yes. Gold EA, XAU bot, XAUUSD robot and gold trading robot all mean an Expert Advisor that trades gold on MT5 or MT4. The name says nothing about the strategy, which is what decides how it can lose.

Is there a free XAUUSD EA that works?

Free EAs exist, but ask the same questions you would of a paid one: who maintains it, its worst case at full depth, the account it needs, a record you can verify and its terms. Midas is paid ($99 a month or $399 once). Its emulator is free.

Does a gold EA work on a standard account?

It depends on the EA. Some are built for standard accounts and some for cent accounts; Midas needs a hedging-type cent account. A mismatch changes the lot size and the risk, so read the requirements first (what is a cent account).

Which timeframe does a gold EA use?

It depends on the EA and its documentation. Midas, for instance, is attached to an XAUUSD M1 chart (install guide).

Can a gold EA guarantee profit?

No. Gold can move far in one direction, spreads can widen and prices can gap. Past and simulated results do not guarantee future ones.

This page is a general explanation, not investment advice. Trading with leverage carries risk: if the deposit is too small, a stop-out is possible. Size your deposit with a safety margin.