Skip to content
Free toolCheck your prop firm daily loss limit in 10 seconds →

Best gold EA for MT5 (XAUUSD): what to check before you buy

The best gold EA is one built for gold’s costs and speed. It states the spread and commission it needs and trades the sessions where XAUUSD moves. It also puts a stop on every trade and has a live record through fast markets. Check those before you look at the return.

Gold is the most popular market for expert advisors, and also the easiest to get wrong. XAUUSD usually moves further in a day than EURUSD, its spread jumps at the daily rollover and around US data, and many gold EAs quietly use grids to smooth their curves. This guide covers what makes gold different, the arithmetic of lot size and costs, and a checklist for choosing the best gold EA for your account.

Why gold behaves differently from currency pairs

  • Bigger moves. Gold often travels many dollars in a single session, so stops need to be wider in price terms than on major pairs.
  • Losing runs arrive faster. The same volatility that makes gold attractive means drawdowns build in hours, not weeks.
  • Costs change through the day. Spreads widen at the daily rollover, in thin Asian hours and around US releases such as payrolls, inflation and Federal Reserve decisions.
  • Sessions matter. Most volume trades between the London open and the New York afternoon.

Lot size and dollar risk on XAUUSD

At most brokers one standard lot of XAUUSD is 100 troy ounces, the same size as a COMEX gold futures contract. A $1 move in the gold price is then worth $100 per lot, or $1 per 0.01 lot. Some brokers use a different contract size, so open the symbol specification in MetaTrader and check it.

Worked example: on a $10,000 account risking 1% per trade, you can lose $100. With a $5 stop, one lot would lose $500, so the right size is 100 ÷ 500 = 0.20 lots. The gold lot size calculator does this for any balance, risk and stop, including accounts in other currencies.

Spread and commission: the gold EA killer

Costs on gold are quoted in dollars per ounce, so they look small until you multiply by the contract size. The figures below are examples to show the arithmetic, not any broker’s prices.

Account typeSpreadCommission (round turn)Cost per lotShare of a $2 target
Raw spread$0.15$7$2211%
Standard$0.35None$3517.5%
Standard at rollover$1.00None$10050%

A gold scalper aiming for a $2 move can be profitable on the first row and lose money on the third. That is why a serious gold EA has a maximum-spread setting, and why you should ask which account type its live record runs on.

Gold trading sessions and what they mean for an EA

SessionApproximate UK timeGold behaviour
Asian00:00–08:00Quieter, wider spreads at the start; ranges form
London08:00–16:30Volume rises; breakouts of the Asian range are common
New York overlap13:00–16:30Most liquid; US data releases cause fast moves
RolloverAround 22:00 (5 pm New York)Spreads widen sharply for several minutes

Times shift by an hour when the UK or US changes the clocks. Your broker’s server time (often GMT+2 or GMT+3) decides what an EA’s session inputs mean, so check it before you set trading hours.

Types of gold EA

  • Session breakout EAs trade the break of the Asian range at the London or New York open, with a stop on the other side of the range.
  • Trend EAs on H1 or H4 charts follow larger moves with wider stops and fewer trades.
  • Scalpers on M1 to M15 take many small trades and depend heavily on costs and execution.
  • Grid and martingale EAs are common on gold because they produce smooth curves in ranges. They are also the ones that fail fastest when gold trends hard. See how grid and martingale EAs lose.

Checklist: choosing the best gold EA

  1. A live record through fast markets. Ideally a year or more that includes big US data days and trending months.
  2. A stop loss on every trade. Or a hard equity stop on any basket of trades.
  3. A maximum-spread filter and, ideally, a pause around the rollover and high-impact news.
  4. Stated broker conditions: account type, contract size, server time and the symbol name it expects (XAUUSD, GOLD or a suffixed name).
  5. A minimum deposit that fits your lot size at your chosen risk per trade.
  6. Equity drawdown you can live with. Gold drawdowns can arrive within a day.
  7. Prop firm compatibility, if you need it: a daily loss guard below your firm’s limit, and no banned strategies. Check our prop firm EA rules comparison.
  8. A VPS near your broker, especially for scalpers. Compare options in our forex VPS guide.

How to backtest a gold EA properly

Test gold EAs in MetaTrader 5 with “Every tick based on real ticks”, so spreads and fast moves are modelled from real data. Then repeat the test with a wider spread or a fixed delay to see how fragile the results are. If a small rise in costs turns the curve negative, the EA will struggle live. Our MT5 backtesting guide covers the settings step by step.

Gold EA FAQ

What is the best gold EA for MT5?

The one whose live drawdown, costs, sessions and minimum deposit fit your account. Rank candidates on verified live results and drawdown, not on backtests or headline returns.

How much money do I need for a gold EA?

Enough that the smallest position keeps your risk per trade small. At 0.01 lots, a $10 stop risks $10, so a $1,000 account risks 1% per trade. Check your own numbers with the gold lot size calculator.

What timeframe is best for a gold EA?

There is no best timeframe. M1 to M15 systems trade more and depend more on costs; H1 and H4 systems trade less, need wider stops and are less sensitive to spread.

Can I use a gold EA on a prop firm account?

Usually, if the firm allows EAs and the strategy isn’t on its banned list. Set the EA’s daily loss limit below your firm’s and work out the exact level with the prop firm drawdown calculator.

Why is my gold EA not opening trades?

The usual causes are a symbol name that doesn’t match (XAUUSD vs GOLD or a suffix), a spread above the EA’s limit, trading hours set in the wrong time zone, or automated trading switched off. Our EA not opening trades guide goes through all of them.

Risk warning. Gold is volatile, and trading it on margin carries a high risk of losing money quickly. The cost and lot size figures above are worked examples, not quotes or results. Past performance does not guarantee future results.