Key points
- On a 10-pip gold scalp, spread, commission and slippage can take more than a third of the target. With a much larger stop loss, the bot then needs a win rate near 90% just to break even.
- Scalping bots depend on things a backtest rarely shows: live spreads, fill speed, slippage and your broker's execution.
- Test with real ticks and a random delay, forward test on demo at your own broker, and compare the live results with the test.
- Many scalpers get better results by keeping the entry and automating only the exits: stop loss at once, profit every few pips, break-even after the first target.
What an XAUUSD scalping bot does
A scalping bot, or expert advisor for scalping, is an MT5 program that opens and closes many short trades, usually holding each for seconds to minutes. On gold it typically aims for 5 to 30 pips per trade (1 pip = 0.10 in price), during the busiest hours of the London and New York sessions, or sometimes in the quiet Asian hours when price moves in small ranges.
The appeal is easy to see: many trades, small risk per trade, and results that look steady on a chart. The catch is that every trade pays the same costs, whether it targets 5 pips or 500.
The cost math that decides everything
Take a simple example: a spread of 2.5 pips, a commission of 7 USD per lot for a round turn (0.7 pips) and an average slippage of 0.5 pips. Together that is 3.7 pips per trade, paid before the trade can earn anything.
Two things follow. First, the smaller the target, the larger the share that goes to costs: 37% of a 10-pip target, but only 7% of a 50-pip target. Second, many scalping bots pair small targets with a much larger stop loss. With a 10-pip target and a 50-pip stop, the bot must win about 9 trades out of 10 just to break even. A few extra pips of spread around news, and the strategy is underwater.
This is also why scalping bots so often show a very high win rate. The win rate is not the point; the size of the losses is.
Execution: the part a backtest rarely shows
- Spread changes. Gold spreads widen at the session open, around US data and at the daily rollover. A bot that trades in those moments pays much more than its test assumed.
- Slippage and delay. In a fast market, orders fill at the next price. The further your MT5 is from the broker's server, the larger the delay. Many scalpers run MT5 on a VPS close to their broker for this reason.
- Broker limits. Minimum stop distance, freeze levels, minimum lot and lot step can stop a scalper from placing the stop or target it wants.
- Account type. Raw-spread accounts with commission and standard accounts with a wider spread give different results for the same bot. Test on the type you will use.
How to test a gold scalping bot honestly
- Backtest with "Every tick based on real ticks" and a random delay in the MT5 Strategy Tester. Generated ticks and zero delay make scalpers look far better than they are. Our Strategy Tester guide shows every setting.
- Include all costs: your real commission, your account type's spread.
- Look at the average win against the average loss, the largest loss and the longest losing run, not only the win rate and the net profit.
- Forward test on demo at your broker for several weeks and compare each week with the backtest of the same days. Big differences mean the test was too kind.
- Start live with the smallest lot and watch the Experts log for errors such as requotes or invalid stops.
Red flags specific to scalping bots
- Results shown only with "every tick" generated data or with zero delay.
- A target of a few pips with a stop loss many times larger, or no stop loss at all.
- "Works only with broker X" or "needs a special server": a sign the edge lives in one broker's execution.
- Trades mainly at the rollover hour, when spreads are widest and tests are least realistic.
- A win rate above 90% without the size of the losses next to it.
For the general list, see 8 red flags of gold trading bots.
The semi-automatic way: you scalp, software manages the exits
Most of the scalpers we talk to do not actually want a robot that picks trades. They want to keep their own reading of the chart and stop losing time and money on the exits: typing the stop loss, closing parts by hand, moving to break-even a few seconds too late. That is exactly the part that can be automated without handing over the entry.
This is the idea behind Gold Position Manager, the trade manager we build for XAUUSD. You open the trade from its panel, the MT5 order window or the phone app, and it carries out your scalping plan:
| Scalping step | By hand in MT5 | With Gold Position Manager |
|---|---|---|
| Stop loss | Type it after the entry | Placed within seconds [401] |
| Partial profit at 10, 20, 30 pips | Window, volume, close, three times | Up to 10 steps close by themselves [501] to [610] |
| Break-even after TP1 | Watch, modify, type the price | Automatic, with your buffer [701, 704] |
| Lot size from risk | Calculator, then type the lot | Worked out on the panel from % or money |
| "Book now" or "tighten the stop" | Several steps each | One click: BOOK, SL CLOSER, SL TO BREAK-EVEN |
| Bad day protection | Willpower | Daily loss and trade limits lock the panel's BUY and SELL buttons |
The cost math above still applies; a trade manager cannot make spreads smaller. What it changes is the reaction time and consistency of your exits. The first part is booked the moment price reaches TP1, the stop moves to break-even in the same second, and no step is skipped because the market got busy. For three ready-made plans with the money worked out per step, see the gold scalping exit plan.
Gold Position Manager does not give signals or open trades by itself on a live chart. It runs while MT5 runs on your PC or a VPS; while MT5 is off, only the stop loss at your broker protects the trade. It cannot prevent slippage, so break-even is close to risk-free, not completely risk-free.
Bot or semi-automatic: which suits you?
- A scalping bot may suit you if you cannot or do not want to make the trading decisions, and you are willing to test it thoroughly and accept that its edge can disappear.
- Semi-automatic scalping suits you if you already have entries you trust, from your own analysis or a signal group, and you lose results in the execution of the exits.
You can try the semi-automatic route without risk: Gold Position Manager's free demo runs in the MT5 Strategy Tester and shows every stop, step and break-even on real gold history. The full version is $30 for 6 months, $50 for a year or $149 to buy on the MQL5 Market.
Questions about gold scalping bots
Do XAUUSD scalping bots work?
Some work for a while under specific conditions, many do not survive real spreads, slippage and changing markets. Because costs take a large share of each small target, a scalping bot's result depends heavily on your broker, account type and server distance. Test it with real ticks and on demo at your own broker before risking money.
What is a good target and stop for a gold scalping EA?
There is no single answer, but compare both with your costs. If your spread, commission and slippage add up to about 3 to 4 pips, a 10-pip target loses over a third to costs. Larger targets, or a stop loss not many times bigger than the target, leave more room for error.
Do I need a VPS for a gold scalping bot?
It helps in two ways: MT5 keeps running when your PC is off, and a VPS close to your broker's server reduces delay. For scalping, lower delay usually means less slippage.
Where can I download an XAUUSD scalping bot for MT5?
The safest source is the MQL5 Market, where most EAs have a free demo for the Strategy Tester. Avoid "free" copies of paid bots from unknown sites; they can contain malware or simply not be what they claim. See how to buy an EA on MQL5 safely.
Can a trade manager scalp for me?
No. A trade manager such as Gold Position Manager does not open trades on a live chart. You choose and open each scalp; it places the stop loss, books profit in steps and moves to break-even by your plan, and gives you one-click control.
Sources
- MetaTrader 5 Help: Strategy Tester, delays and modelling
- MetaTrader 5 Help: tick generation modes
- ESMA, 27 March 2018: measures on CFDs for retail investors
This guide is education, not financial advice. Scalping means many trades and many costs and is not suitable for everyone. The cost figures are examples; your broker's differ. Trading gold carries a high risk of loss.