Subscribe
EN

Guide · 2 min read

How to run a gold EA on MT5 (install, settings and checks)

Short answer: Copy the EA file into the MQL5/Experts folder (File, Open Data Folder), restart MT5, drag it onto a chart of the right symbol and time frame, and switch Algo Trading on. Keep every setting as you tested it, run it on a demo account first, and set a loss limit at which you switch it off. An EA that is not behaving like its test should be stopped, not hoped for.

Published: 24 October 2026.

Free, no sign-up On sale: the Monthly Pass and the Lifetime Pass. See the plans

Running an EA is easy. Running it safely is about what you check before and after.

Install and attach

  1. Step 1
  2. Step 2
  3. Step 3
  4. Step 4
  5. Step 5
  6. Step 6
The steps in order, each one explained below.
  1. In MT5, open File, then Open Data Folder.
  2. Go to MQL5, then Experts, and copy the EA file there.
  3. Restart MT5 or refresh the Navigator.
  4. Open an XAUUSD chart on the time frame the EA expects.
  5. Drag the EA from the Navigator onto the chart, and allow Algo Trading in its properties.
  6. Switch on Algo Trading in the toolbar.

Check the symbol name: some brokers call gold XAUUSD.m or GOLD. A different name can stop the EA from trading.

Settings that matter

Before real money

Run it on a demo account first, and compare with its test. See demo to live gold trading and how to backtest a gold strategy in MT5. Know the warning signs: how to spot a fake gold EA and how to spot a martingale gold EA.

Watching it

Compare live trade count, average result and drawdown with the test. Set a loss limit in advance and switch the EA off when it is reached. See what drawdown means.

The desk reads your own MetaTrader 5 account and cannot place a trade. It scores every EA on the account after costs, so you can see which ones earn.

The Monthly Pass and the Lifetime Pass are software licences for your own MetaTrader account. They score every robot and strategy you run the same way, with costs inside every number. See the plans.

FAQ

How do I install an EA on MT5?

Open File, then Open Data Folder, go to MQL5 then Experts, copy the EA file there and restart MT5 or refresh the Navigator. Then drag it from the Navigator onto a chart.

Why does my EA not trade?

Common causes: Algo Trading is off in the toolbar, automated trading is not allowed in the EA's properties, the symbol name differs from the one the EA expects, the market is closed, or the EA's own filters have not triggered.

What settings should I check before running an EA?

Lot size or risk setting, stop loss and take profit, the symbol and time frame, the magic number, the trading hours filter and any news filter. Keep every setting as you tested it.

Should I run an EA on a VPS?

An EA only trades while MT5 is running. A VPS keeps it running without your computer. Prefer one close to your broker's server, and check it after every restart.

How do I know if an EA is behaving?

Compare its live trades against its test: trade count, average result and drawdown. If they drift far apart, switch it off and find out why before it costs more.

When should I switch an EA off?

When it reaches the loss limit you set in advance, when your broker changes conditions it depends on, or when its behaviour no longer matches its test. Decide the limit before you start.

Gold EA Checking Kit, $9

Every check from these articles, on one printable page.

An educational tool. It is not investment advice. Trading leveraged products such as gold CFDs carries a high risk of losing money, and you can lose all of it.

BaroqTech makes software. It is not investment advice and it does not manage money. Trading leveraged products such as gold CFDs carries a high risk of losing money, and you can lose all of it. Results from a test or from a demo account do not predict results on a real account.

Free book · PDF · 6 pages and 1 more

The Gold Field Guide

The gold day hour by hour, the six forces behind the price and the releases worth a place in your calendar.

We send the download link to this address and keep the address for this book. Without the tick, that is the only email. The book itself is in English. Privacy: what we store and why.

Keep reading

All 73 guides

Markets in numbers

Compared

Seasonality

Volatility

Price history

Best time to trade

Moving averages

Market correlations

RSI

Limited time offer

20% off

your first month of the Monthly Pass

Offer ends 31 October 2026

We email you the code and one note when the trading system goes on sale. Unsubscribe in any email. Privacy