Knowing how to run an EA on MT5 is the skill that turns a trading robot from a file on your computer into a system that actually places trades. The process is the same whether you bought a well-known gold EA or the Exness Gold Trading Bot: install the file, attach it to a chart, allow automated trading, and test it on demo before you risk real money.
This guide walks through the steps on MetaTrader 5, using a gold (XAUUSD) robot as the example.
How to Run an EA on MT5 in Five Steps
Step 1: Allow automated trading in MT5
Open MetaTrader 5 and go to Tools, then Options, then Expert Advisors. Tick “Allow algorithmic trading”. Only tick “Allow DLL imports” if your EA’s instructions ask for it — most gold EAs do not need it. Click OK. Then look at the toolbar: the Algo Trading button must be switched on. If it is off, the robot cannot trade at all, no matter how perfectly everything else is set up.
Step 2: Install the EA file
Your EA arrives as a file ending in .ex5. In MT5, go to File, then Open Data Folder. Open the MQL5 folder, then the Experts folder, and copy the .ex5 file in there. If the seller also sent a settings file ending in .set, keep it somewhere easy to find — you will load it later. Go back to MT5, right-click on Expert Advisors in the Navigator panel, and choose Refresh. Your robot should now appear in the list.
Step 3: Open a gold chart and attach the EA
Open an XAUUSD chart: press Ctrl+U, find gold in your broker’s symbol list (it may be listed as XAUUSD), and open it. Then drag your EA from the Navigator panel onto the chart, or double-click it. A settings window opens, where you enter the inputs the seller recommends: lot size, risk percentage, stop loss and take profit behaviour, trading hours, and any magic number the EA uses to identify its own trades.
Before you click OK, check the Common tab. “Allow Algo Trading” must be ticked there too. Click OK. A small icon in the top-right corner of the chart tells you the robot is attached and active.
Step 4: Test on demo first
Open a demo account with the same broker you plan to trade live with, and run the EA there for at least four weeks. Use the same lot size and the same settings you intend to use live. Watch how many trades it takes, how it behaves around US news announcements, and what its drawdown looks like on a bad week.
You can also backtest in MT5’s Strategy Tester (View, then Strategy Tester), using real ticks and the same broker data, to see how the EA would have performed over past months.
Step 5: Go live small, and keep it running
When the demo month looks acceptable, move to a live account with the smallest lot size the EA allows — for most gold EAs that is 0.01 lots. Set a daily loss limit if the EA offers one, and decide in advance the maximum drawdown at which you will stop the robot and review it.
An EA can only trade while MT5 is running, so it needs a computer or a VPS that stays on around the clock. A VPS is a small rented server, usually located near your broker, that runs MT5 for you even when your own computer is off. Check once a day that the EA is still attached, the Algo Trading button is still on, and your broker connection is live.
Common Setup Mistakes
- Algo Trading switched off. Check the toolbar button every time you open MT5.
- EA attached to the wrong chart or timeframe. Gold EAs are usually built for one symbol, XAUUSD, and one timeframe. Attaching one to EURUSD or the wrong timeframe produces trades the strategy was never designed for.
- Two EAs with the same magic number. If you run more than one robot on the same account, give each a different magic number, or they will interfere with each other’s trades.
- Wrong symbol name. Some brokers list gold as XAUUSD, others as GOLD or XAUUSD.m. If your chart symbol does not match the one the EA expects, it will not trade.
- Going live before the demo test. There is no shortcut here. The demo month is where you learn the robot’s real behaviour.
- No daily check. Set a reminder to look at the account once a day. EAs fail quietly — a lost broker connection or an expired demo licence stops trading without any alarm.
Keeping Your Gold Bot Healthy
Once it is running, your job changes from setup to supervision. Once a week, review the trade history: are the trades the size you set, are stop losses in place, and does the drawdown match what you expected? After any big gold move, check whether the EA behaved as its description said it would. And keep the EA updated — sellers release updates that fix bugs and adapt to changing market conditions, and running an old version for a year is an avoidable risk.
Setting up an EA is a technical job with a short checklist. Running one profitably is a risk-management job that never ends. Get the setup right, test on demo, start small, and supervise daily — that is the whole method.
Related: XAUUSD Risk Management for Automated Trading and Gold Trade Pro vs Exness Gold Trading Bot.
The Exness Gold Trading Bot for MT5 is an automated gold (XAUUSD) Expert Advisor built for Exness accounts, priced at $500 one-time. The seller states a 5% daily profit as a target figure, not a guarantee — trading involves substantial risk of loss and there are no guaranteed returns. To ask about the bot or buy it, contact Mr Noman at sarkareid@gmail.com or on WhatsApp at +92 300 9033630.
