MetaTrader 4 was released in 2005 and is still the most widely supported retail platform there is. Its automation model is simple, extremely well documented, and carries real constraints worth knowing before you build around it.
An MT4 bot is an Expert Advisor. A program written in MQL4 that runs inside MetaTrader 4 and trades automatically. It attaches to a chart, receives every price tick and can open, modify and close orders on its own. The terminal must be running and connected for it to work at all, which is why an MT4 bot in serious use lives on a VPS rather than a laptop.
An MT4 bot is an Expert Advisor written in MQL4, compiled to .ex4 and placed in MQL4/Experts inside the terminal's data folder. It attaches to one chart, receives that instrument's ticks, and acts through MT4's order functions.
Three MT4-specific behaviours shape how bots are written for it:
What MT4 has going for it is reach. Almost every retail broker still supports it, the body of existing EAs and indicators is enormous, and the platform is stable and undemanding.
| MetaTrader 4 | MetaTrader 5 | |
|---|---|---|
| Language | MQL4 | MQL5 (C++-like) |
| Accounting | Position-based (independent tickets) | Netting or hedging, configurable |
| Timeframes | 9 | 21 |
| Strategy tester | Single-threaded, single-currency | Multi-threaded, multi-currency, real ticks |
| Pending order types | 4 | 6 |
| Market depth | No | Yes |
| Broker support | Near universal | Very wide and growing |
For a straightforward single-pair strategy, MT4 is entirely adequate and its ubiquity is a real advantage. For anything needing multi-currency testing, tick-accurate backtests or market depth, MT5 is the better environment, see the MT5 bot guide.
An EA is not a service running somewhere; it is code executing inside your terminal. If the terminal is closed, the machine sleeps, the internet drops or Windows restarts for an update, the EA stops. Positions it opened stay open, unmanaged, with no trailing stop and no exit logic.
That is the actual risk. A missed entry costs you an opportunity. A missed exit costs you money, and it happens at exactly the moment you would most want the software running.
A VPS solves it: a machine that never sleeps, on a connection that does not drop, ideally in the same data centre region as your broker's servers so execution latency is measured in single-digit milliseconds. Many brokers provide one free above a volume or balance threshold; otherwise a suitable one costs a few dollars a month. Against the cost of one unmanaged position, that is not a close decision.
Four limits are structural rather than a matter of build quality, and understanding them is most of what separates people who use automation well from people who lose money to it.
It cannot know what it has not been shown. A rule set encodes past relationships. When the regime changes (a trending market turns to chop, a correlation that held for two years breaks) the system keeps applying yesterday's logic with full confidence and no awareness that anything has changed.
Backtests overstate almost everything. A backtest with clean fills, fixed spread and no slippage is not a simulation of trading, it is a simulation of arithmetic. Add realistic spread, variable execution and the requeues that happen in fast markets, and a strategy that looked excellent frequently becomes marginal.
Optimisation finds coincidences. Tune enough parameters against enough history and you will find a setting that fits it perfectly. That setting describes the noise in that particular sample, not a property of the market, and it stops working the moment it meets data it was not fitted to. This is curve-fitting, and it is the single most common reason a purchased system fails.
Recovery logic hides risk instead of removing it. Martingale and grid systems produce beautiful equity curves for months, because doubling into a losing position converts many small losses into rare enormous ones. The curve is not evidence of an edge; it is evidence that the loss has not arrived yet.
MarketPro is building an Expert Advisor for MetaTrader 4 and MetaTrader 5. It is not available to download yet, and this page will say so until it is.
What is open today is the waiting list. Install the app, open the EA tab, and join it; everyone on the list is emailed when the builds go live. There is no charge and no card involved in joining.
When it does ship, three things will be true about it by design:
Meanwhile the thing that is live is the signal feed: vetted trade ideas with entry, stop and three targets that you place yourself. That is the manual equivalent of what the EA will automate, and it is available today with one free signal a day.
The MarketPro Expert Advisor for MetaTrader 4 and MetaTrader 5 is not available to download yet. The in-app waiting list is open, and everyone on it is emailed the moment the builds go live. Vetted signals are available today in the app. Get MarketPro free and join the EA waiting list from the EA tab.
The MarketPro Expert Advisor is software you install and run yourself on your own MetaTrader terminal. MarketPro does not trade on your behalf, does not manage your account, and exercises no discretion over your funds. It is supplied as-is with no performance guarantee, and availability is limited by region.
MQL4/Experts, restart the terminal, then refresh Expert Advisors in the Navigator. Drag it onto a chart, enable "Allow algorithmic trading" in the dialog, and turn on the AutoTrading button in the toolbar. A smiling face on the chart means it is running. The Expert Advisor guide has the full walkthrough.The MarketPro EA is in development and the waiting list is open. The vetted signal feed is available today, free, one signal a day.
Not investment advice. Past performance is not indicative of future results.