

Expert advisors and indicators built for trading gold (XAUUSD) in MetaTrader 4 and 5, with what makes gold different and what to check before you run one.
Expert advisors and indicators tagged for gold (XAUUSD) in our catalog.
















Gold is one of the most traded symbols in MetaTrader, and one of the easiest to get wrong with a tool built for currency pairs. It moves further, faster and at different times than most forex pairs, so expert advisors and indicators for XAUUSD need their own settings and their own testing.
A typical EURUSD day covers 60 to 80 pips. Gold often travels $20 to $40 in a day, which on most broker feeds is 200 to 400 “pips” of 10 cents each. A stop loss, trailing step or grid spacing tuned for a currency pair is far too tight on gold, and a lot size that is comfortable on EURUSD can be several times riskier on XAUUSD.
Gold also reacts sharply to US economic data, interest-rate expectations and risk sentiment. Moves of $15 in a few minutes around a US inflation or jobs report are common. Tools built for gold account for this with wider stops, news filters, or rules that stay out of the market at those times.
Most brokers quote XAUUSD with a contract of 100 troy ounces per lot and prices to two decimal places. On that specification:
Some brokers use 3 digits, a different contract size or a symbol such as GOLD or XAUUSD.m. An EA that hard-codes the wrong value will size trades incorrectly, so check the symbol specification in MetaTrader before you start. Our pip value calculator shows the money value of a move for your lot size.
Gold trades almost around the clock from Monday to Friday, but liquidity is uneven. The Asian session is usually quieter, with wider spreads at its start. Activity builds when London opens and peaks when London and New York overlap, which is also when most US data is released. Many gold EAs only trade one of these windows; others avoid the first minutes after the daily rollover, when spreads widen.
If an EA uses a time filter, remember that it reads your broker's server time, not your local clock. The forex market hours tool shows the sessions in your own time zone.
Most gold expert advisors fall into a few families, each with a different risk profile:
Indicators for gold usually help with timing and levels rather than placing trades: session ranges, support and resistance zones, volatility bands and trend filters. Because gold respects round numbers and previous session highs and lows, level-based indicators are popular. Check that any signal indicator doesn't repaint before you rely on it; our repainting guide shows how.
Our full gold trading guide goes deeper into spreads, volatility and risk settings for XAUUSD.
There isn't one best timeframe. Scalping EAs on gold usually work on M1 to M15 and depend heavily on spread, while swing and trend systems use H1 to H4 and hold through more noise. Use the timeframe the EA was built and tested on, and test any other one separately.
Enough that the EA's normal drawdown stays small against your balance at the lot size you run. On a standard contract of 100 ounces, a 0.01 lot moves about $0.10 per 10-cent pip, so a $30 move against a 0.10 lot costs around $300. Work it out for the EA's stop loss with the position size calculator before choosing a deposit.
Brokers quote gold with different contract sizes, digits, spreads and trading hours. An EA that assumes 2 digits on one account can misread prices on a 3-digit feed, and a spread that's fine at one broker can wipe out a scalper's edge at another. Check the symbol specification in MetaTrader and backtest on the account you'll trade.
Gold moves further in a day than most currency pairs, so the same lot size carries more risk. That isn't a problem if the EA sizes positions from its stop loss and your chosen risk per trade. It is a problem for grid or martingale systems, which can build a large position during one strong trend.
Educational information only, not financial advice. Trading forex and CFDs on margin carries a high risk of losing money. Read our risk warning.