What is an EA?
An Expert Advisor (EA) is a trading program that runs inside MetaTrader. It reads prices, applies fixed rules and can open, manage and close trades without you clicking anything. "Forex bot", "trading robot" and "EA" usually mean the same thing.
How a forex bot works
- Rules: the strategy coded into the EA, such as entry conditions, lot size, take-profit and stop-loss.
- Settings: the inputs you choose: risk, lot size, trading hours, maximum layers.
- Terminal: MT5 must be open, connected and allowed to trade.
- Broker: your broker executes the orders the EA sends.
A bot removes emotion and fatigue from execution. It does not remove market risk, and it will follow its rules even when conditions change.
MT4 vs MT5: what is different?
| MT4 | MT5 | |
|---|---|---|
| EA language & files | MQL4, .ex4 | MQL5, .ex5 (not compatible with MT4) |
| Timeframes | 9 | 21 |
| Strategy Tester | Single-threaded | Multi-threaded, real-tick testing |
| Extras | — | Economic calendar, depth of market, more order types |
The practical point: an MT5 EA only runs on MT5, and an MT4 EA only on MT4. BMR bots are built for MT5.
What is a forex VPS for?
A VPS (virtual private server) is a computer in a data centre that stays on 24/7. You install MT5 there, so your bot keeps running when your own computer is off, asleep or offline. A VPS close to the broker's server also reduces execution delay.
- Choose Windows, with enough memory for MT5 (2 GB or more is comfortable for one terminal).
- Pick a location near your broker's servers.
- Connect via Remote Desktop, install MT5 and follow our installation guide.
New to trading bots?
Request our free beginner guide: setup checklist, risk basics and the questions to ask before buying a bot.
Get the beginner guideFAQ
Can I use an MT4 EA on MT5?
No. MT4 EAs (.ex4) and MT5 EAs (.ex5) are written in different languages and are not compatible.
Do I need a VPS to run a forex bot?
Not strictly, but the EA only works while MT5 is running. A VPS keeps it online 24/5 without leaving your computer on.
Related articles
- How to install an EA on MT5, from A to Z
- How to choose your lot size for gold (XAUUSD) when running a bot
- DCA in forex, trailing take-profit and how a bot manages your orders
This article is educational and is not investment advice. Trading and automated trading carry a high level of risk. Bots can lose money and past performance does not guarantee future results.