How-to guides
How to Trade Gold (XAUUSD) on MT5: A Practical Guide
SmartEA Research, 2026-10-30, updated 2026-11-12, 8 min read

Short answer: to trade gold online, most retail traders use XAUUSD, the price of one troy ounce in US dollars, on a MetaTrader 5 account with a forex or CFD broker. On most brokers one lot is 100 ounces, so every $1 move in the gold price is worth $100 per 1.00 lot and $1 per 0.01 lot. Learn when gold moves (the London and New York sessions and US data releases), size each position from the dollar distance to your stop loss, start on a demo or small account, and decide whether you trade by hand or with an Expert Advisor.
This guide covers the practical basics: the instrument, costs, what moves the price, position sizing and a simple step-by-step plan. It is written for MT5, but most of it applies to any platform.
What XAUUSD is
XAU is the code for gold and USD for the US dollar, so XAUUSD is quoted like a currency pair: a price of 2,500.00 would mean one troy ounce of gold costs $2,500. At a forex or CFD broker you do not buy physical gold; you trade a contract that follows the gold price, and you can go long (profit if the price rises) or short (profit if it falls).
Other ways to get gold exposure exist, such as physical bullion, exchange-traded funds and futures. This guide is about trading the price on a margin account, which is what most short-term traders and EAs do.
Lots, contract size and what a $1 move is worth
- 1.00 lot = 100 ounces on most brokers. A $1 move = $100.
- 0.10 lot = 10 ounces. A $1 move = $10.
- 0.01 lot = 1 ounce, usually the smallest size. A $1 move = $1.
Contract sizes are not universal, so check yours: in MT5 right-click the gold symbol in Market Watch and open Specification. Gold is usually quoted with two decimals, so the smallest price step is $0.01, worth $1 on 1.00 lot. Traders use the word "pip" for gold in different ways, so it is clearer to think in dollars of price movement.
On a cent account the balance is in cents and lots are 100 times smaller, so 1.00 cent lot moves about as much money as 0.01 standard lot. That is the usual way to trade gold at the right size with a balance under $1,000; see cent accounts for gold.
Leverage and margin
Margin is the deposit the broker holds while a position is open: lots × contract size × price ÷ leverage. One 0.01 lot controls one ounce, so at 1:500 leverage its margin is the gold price divided by 500, a few dollars. Low margin makes it easy to open far more than you should. What matters is not the margin but how much you lose if the price moves against you, which is what position sizing controls.
Trading costs: spread, commission and swap
- Spread: the gap between the buy and sell price. On gold it is quoted in dollars or points; watch it in Market Watch at different hours. It widens around news, the daily rollover and the weekly open.
- Commission: Raw or ECN accounts charge a commission per lot in exchange for a tighter spread; standard accounts usually build the cost into the spread.
- Swap: an overnight financing charge or credit for positions held past the daily rollover, shown in the symbol specification. On gold it is often negative, and many brokers charge a triple swap on one night of the week, so it adds up for trades held for days.
When gold moves
Gold trades almost 24 hours a day from Sunday evening to Friday evening (New York time), but it does not move evenly. The London session and especially the London-New York overlap usually bring the most liquidity and the largest moves; the Asian session is often quieter. Our guides on the best time to trade gold and forex market hours and sessions give the times in GMT and in MT5 server time.
What moves the gold price
- The US dollar. Gold is priced in dollars, so a stronger dollar often weighs on gold and a weaker dollar often supports it. It is a tendency, not a rule.
- Interest rates and real yields. Gold pays no interest. When real (inflation-adjusted) interest rates rise, holding gold costs more in missed interest, which tends to weigh on it; falling real rates tend to help it.
- The Federal Reserve and US data. Rate decisions and releases such as Non-Farm Payrolls and CPI inflation change expectations for rates and the dollar, and often cause the sharpest moves of the month.
- Risk and geopolitics. Gold is widely treated as a safe haven, so wars, financial stress and political shocks can drive demand, sometimes suddenly and outside normal trading hours.
- Physical and official demand. Jewellery and investment demand, flows into gold funds and purchases by central banks shape the longer-term trend more than the intraday moves.
Around major releases spreads widen and stops can fill several dollars away from their level. Many traders and EAs stay out of the market around them; our news filter article explains why our EAs pause.
Position sizing: the part most beginners skip
Decide how much of your account you are willing to lose on one trade, then work out the lot size from the distance to your stop loss:
lots = amount at risk ÷ (stop distance in dollars × 100) on a 100-ounce contract.
Example: a $1,000 account risking 1% per trade can lose $10. With a stop loss $5 away from the entry, the lot size is 10 ÷ (5 × 100) = 0.02 lot. With a $10 stop it is 0.01 lot. Gold can move several dollars within minutes, so place the stop where your idea is proven wrong, not where it makes the lot look convenient. Our gold lot size calculator does this math for you.
If the result is below 0.01 lot, rounding up to the minimum would risk more than you planned. Skip the trade or trade from a cent account, where much smaller sizes are possible.
A simple plan for your first trades
- Open a demo account on MT5 with gold, ideally at the broker you plan to use, and check the symbol specification.
- Pick one approach and write it down: for example, trend trades after a pullback on H1, or breakouts of the previous day's high or low. Know in advance where you enter, where your stop goes and where you take profit.
- Size every trade with the formula above, and set the stop loss when you open the trade.
- Check the calendar each morning for US releases and Fed events, and decide whether you trade through them.
- Keep a journal of entries, exits, reasons and results. After 30 to 50 trades you will know more about your approach than any article can tell you.
- Move to real money small, on a cent account if your balance is under $1,000, and increase size only when the results justify it.
Trading gold by hand or with an EA
Gold trades through the night, moves fast on news and punishes hesitation, which is why many traders automate part or all of it. An Expert Advisor follows fixed rules around the clock, but it does not remove risk: it trades the strategy it was built for, including in conditions that hurt that strategy.
- Manual trading lets you skip trades and adapt, but needs screen time and discipline.
- An EA needs testing, a VPS for 24-hour operation and a clear idea of its worst-case drawdown. Our guide on grid, martingale and breakout EAs explains how each type loses money.
Our three gold EAs take different approaches: Smart Striker Gold EA trades breakouts with a stop loss on every trade, and Smart Rider Gold EA and Smart Archer Gold EA trade grid baskets. All three can be backtested for free before you buy. If you are comparing EAs, start with how to choose a gold EA for MT5.
Frequently asked questions
How much money do I need to trade gold?
On a standard account the smallest position is usually 0.01 lot, where a $1 move is worth $1. To keep the risk per trade small with realistic stops, $1,000 or more is a sensible start. With less, use a cent account, where you can trade much smaller sizes.
How much is a $1 move in gold worth?
$100 per 1.00 lot, $10 per 0.10 lot and $1 per 0.01 lot on a 100-ounce contract. Check your broker's contract size in the symbol specification.
What is the best time to trade gold?
Usually the London session and the London-New York overlap, roughly 13:00 to 17:00 GMT in winter, when liquidity and movement are highest. Quieter hours suit some range strategies.
Is gold good for beginners?
Gold is liquid and widely available, but it moves more in dollars than most currency pairs, so mistakes in sizing cost more. Start on a demo or cent account and size every trade from your stop loss.
Why does my broker call it XAUUSD.r or GOLD?
Brokers add suffixes for different account types, and some use their own names. It is the same gold price; check the contract size in the specification, because it can differ between account types.
Can I trade gold with an Expert Advisor?
Yes. Gold EAs run in MetaTrader and trade XAUUSD by fixed rules. Test any EA in the Strategy Tester and on a demo account first, and know its worst-case drawdown before it trades real money.
This guide is general education, not investment advice. Gold can move sharply at any hour, prices can gap at the weekly open, and stop losses can fill worse than their level. Trading with leverage carries a high risk of loss; only trade money you can afford to lose.
Follow SmartEA Insider on Telegram
SmartEA Insider: results of our own live accounts, new versions and release notes. No trade signals.


