What Is a Trading Bot? How an EA (Expert Advisor) Works on MT5, and How to Pick a Gold Bot

The question we hear most from people just starting out is: "What is a trading bot, and what's this EA everyone mentions? Are they different?" So here it is, plainly: what it is, how it works on MT5, and the checklist we use ourselves before trusting any gold trading bot.
A trading bot and an EA are the same thing
EA stands for Expert Advisor, the name MetaTrader (MT4/MT5) uses for an automated trading program. Trading bot is the everyday name for the same thing.
Put simply, you write trading rules into a program: when to enter, when to exit, how much to risk per trade, where the stop loss goes. The program then follows those rules every time, with no emotion, no fatigue, no forgetting, and no "let's just wait a little longer" like a human (that one hurts; anyone who's been there knows).
How an EA works on MT5
- You install the EA file in your own MT5 and drag it onto a chart, such as gold, XAUUSD (install an EA).
- The EA reads every price change and checks whether its rules are met.
- When they are, the EA places the order itself, with the stop loss and lot size it was set up with, and manages it until it closes.
- MT5 has to stay open. Turn off the computer and the bot stops. That's why many people run it on a VPS, a rented computer that's on 24 hours a day (set up a VPS).
The key point: the EA runs in your own MT5, on your own trading account. Your money stays with the broker you chose, and nobody needs your trading account password. If someone asks for it so they can "run the bot for you", be careful.
Why gold trading bots are popular
Gold (XAUUSD) is one of the most traded markets because:
- It moves a lot each day, so there are frequent setups.
- It trades almost 24 hours on weekdays. You can't watch the screen that long; a bot can.
- It's liquid, so orders fill easily in normal hours.
The same moves cut both ways. Gold can run hard up or down, and a bot without solid risk control can lose an account just as fast.
A trading bot is not a money printer
Let's be clear about this before going further:
- Bots lose. Every strategy has drawdowns, sometimes for months in a row.
- Past results don't guarantee the future. However good a backtest looks, markets change.
- Your results depend on your broker too: spread, swap and execution.
- A bot doesn't take the account off your hands. You still choose a risk that suits your balance and check the bot is running normally.
If a bot promises guaranteed profit, no losses, or "monthly income", step back.
A checklist before picking a gold trading bot
This is what we check before trusting any bot, ours included:
- A stop loss on every trade? Set when the order opens, and never moved away (why it matters).
- Martingale or grid? Both draw a smooth staircase of an equity curve, until a strong trend arrives (read more).
- Lots sized from a % risk per trade? Not a fixed lot, and never doubling up to win it back.
- A long enough backtest? It should cover different markets, up, down and sideways, not just a year or two that suited it.
- A realistic spread in the backtest? A backtest with an unrealistically low spread looks better than reality (reading backtest numbers).
- A live account you can check? Such as a real account tracked by Myfxbook, not just screenshots.
- Can you backtest it yourself? A good bot lets you test it in your own MT5 before you pay (backtest in MT5).
- Does it tell you the bad parts? Losing years, the deepest drawdown, the markets it doesn't handle well.
A bot that can't answer all of these isn't necessarily bad, but ask before you put real money on it.
What you need to start with an EA on MT5
- MetaTrader 5 (install MT5)
- A trading account with a broker that offers MT5 (open an account)
- The EA file and a preset (a .set file that tells the bot how much to risk) (load a preset)
- A VPS, if you don't want to leave a computer on all day
- Money you can afford to lose. Start with a low risk per trade, and adjust once you understand how the bot behaves.
For the whole picture on one page, see Getting started.
Can a gold trading bot run on BTCUSD?
Some can, ours included. But BTCUSD moves much harder than gold. In our backtests several bots had deeper drawdowns on BTCUSD than on gold, so we suggest starting at 0.5% risk per trade, and not using an Aggressive preset on BTCUSD.
How CLOUDPips bots are built
We make five gold trading bots for MT5, each with its own strategy: breakout, trend-following and day-trading. All of them follow the checklist above:
- A stop loss on every trade, no martingale or grid.
- Lots sized from the % risk per trade you choose.
- 23-year backtests (2003โ2026) with a 24-pip (0.24 USD) spread, higher than most backtests use (see the backtests).
- Live accounts on Myfxbook anyone can check (live results).
- You can backtest them in your own MT5 before paying.
Not sure which one fits? See the side-by-side comparison of all five or browse the strategies.
Trading involves risk, and you may lose more than you expect. Past results don't guarantee future results. This article is not investment advice.
Read the original post and join the conversation on Facebook.
Updated 10 November 2026
Still stuck? Email us at support@cloudpips.io or message LINE @cloudpipsfx and we'll help you sort it out.


