· Guides
An Expert Advisor only trades while MetaTrader 5 is running and connected. A laptop that sleeps, reboots for updates or loses Wi-Fi is the most common cause of "the EA missed the trade" tickets. A VPS solves that.
When a VPS is mandatory
- Scalpers and night systems. Entries are short-lived and often fall outside your working hours.
- Multi-chart portfolios. Several EAs plus indicators need stable CPU and memory, not a shared laptop.
- Anything with a trailing stop or breakeven logic. That logic runs in the terminal, tick by tick.
Slower trend systems on H1 and above survive short outages better, but they still miss entries and management steps when the terminal is offline.
Latency: what actually matters
Latency is the round trip between your terminal and the broker's trade server. Two practical numbers:
- Under 20 ms — comfortable for scalping and news-sensitive logic.
- 50–150 ms — usually fine for M15 and higher timeframes.
The way to reduce latency is location, not CPU count: host in the same data centre region as your broker's server. A cheap VPS next to the broker beats an expensive one on another continent.
Options compared
| Option | Best for | Notes |
|---|---|---|
| MQL5 virtual hosting | One terminal, quick start | Migrates chart, EA and settings from the terminal in a few clicks |
| Commercial forex VPS | Several terminals and EAs | Choose the region matching your broker server |
| Self-managed cloud VM | Advanced users | Cheapest per resource, but you own the updates and monitoring |
Migration checklist
- Attach the EA on your local terminal and confirm it initialises without errors.
- Load the official set file from the EA settings page.
- Enable algorithmic trading and any required WebRequest URLs on the VPS terminal.
- Migrate or reinstall, then verify the EA shows the smiling face on the chart and the correct magic number in the journal.
- Keep only one terminal trading the same account to avoid duplicated orders.
Specification that is enough
For one to three terminals with a handful of charts: 2 vCPU, 4 GB RAM, SSD storage, Windows Server. More charts and indicators mean more RAM before more cores. Reboot the VPS on a schedule you control, not on the provider's automatic update window.
After the move
Check the first full trading day: journal for reconnects, the EA's own log for skipped ticks, and the trade history for the fills you expected. If the account is running a licensed EA Quantum Lab system, the licence stays bound to the same MT5 account number, so moving hardware does not require anything on our side. See the marketplace for the systems that benefit most from 24/5 uptime.