Infrastructure
VPS for MT5: latency, providers, what actually matters
A practical guide to the VPS choice — how much CPU and RAM you really need, why a $5/month VPS is not a $35/month VPS, and the data-centre decision that affects every fill.
A Virtual Private Server (VPS) is a remote computer you rent by the month, with full administrative control, running 24/5 inside a real data centre. For automated trading it solves three problems your home machine cannot: uptime that does not depend on your internet, latency to the broker measured in single-digit milliseconds, and isolation from whatever Windows-update reboot happens at 3am on your laptop.
This article covers the specs that actually matter, the data-centre decision, and the difference between the $5/month and $35/month tiers.
Latency: what it is, when it matters
Latency is the round-trip time from your VPS to the broker's trade server. Measured in milliseconds. The number depends almost entirely on physical distance — light through fibre and the routing hops in between. A VPS in London hitting a London-based broker server is typically 2–8ms. The same VPS hitting a New York broker is 70–110ms.
| Strategy style | Latency that matters | Comment |
|---|---|---|
| Daily / swing (H4+) | Below 200ms | Effectively any VPS anywhere works. |
| Intraday (M15–M60) | Below 50ms | Same continent as the broker is enough. |
| Scalping (M1–M5) | Below 20ms | Same data centre, ideally same rack. |
| Tick scalping / news | Below 5ms | Co-located. Rare for retail. |
The data centre matters more than the country
Brokers cluster their MT5 trade servers in a small number of major financial-grade data centres. Match the VPS region to the trade server, and latency takes care of itself. The four locations covering 90% of brokers:
- LD4 / LD5 (London). Equinix Slough. Most retail FX brokers (IC Markets, Pepperstone, FP Markets, FxPro) host here.
- NY4 (New York). Equinix Secaucus. US-facing brokers, some prop firms, some crypto.
- FRA4 (Frankfurt). Equinix Frankfurt. Several EU brokers and the equity venues.
- TY3 (Tokyo). Equinix Tokyo. Asian-session brokers; rarely needed for retail.
Most VPS providers tell you which Equinix data centre they use. If they do not, ask. "London" alone can mean LD4 (good) or a generic UK colo 50ms further away (bad).
CPU and RAM: how much is actually needed
A single MT5 instance, with one or two charts running an EA, consumes about 400–600 MB RAM and 3–6% of a modern CPU core at idle. Tester runs and chart redraws spike higher. Realistic minimums:
Single MT5 + 1 EA
1 vCPU / 2 GB
Two MT5 + 2 EAs
2 vCPU / 4 GB
Four MT5 + 4 EAs
2 vCPU / 8 GB
Tick-scalping setup
4 vCPU / 8 GB+
CPU bursts during ticks
The headline RAM is a starting point. Windows + Defender + a browser session for monitoring takes ~1.5 GB before MT5 even starts. Buy with at least 50% headroom.
The $5 trap
Budget VPS providers advertise 1 vCPU / 1 GB / Windows for $5/month. The price is real; the assumptions behind it are not. On the budget tier, you typically get:
- Shared CPU. 1 vCPU is one core contended with dozens of other tenants. When a neighbour runs a load, your MT5 fills get delayed unpredictably.
- Burstable RAM. Marketed as 1 GB; the underlying provisioning may scale up briefly and throttle hard above baseline.
- Storage on shared SSDs. Random I/O is poor. MT5 chart-data writes stall.
- Generic "Europe" routing. Latency floats between 8ms and 80ms depending on which physical host you landed on.
The mid tier: where most retail traders should live
The $25–50/month tier from a serious provider (BeeksFX, ForexVPS, FXBlue, NYCServers, several others) typically gets you: dedicated 2 vCPU, 4–8 GB RAM, named data-centre location, latency under 5ms to the major brokers in the same DC, Windows Server 2019/2022 with autostart configured, and meaningful support.
This is the right tier for any trader running 1–4 EAs on a funded account or non-trivial personal capital. The cost is rounding error against monthly P/L expectations.
Windows or Linux + Wine?
MT5 is a Windows application. The official path is a Windows Server VPS. A small community runs MT5 on Linux via Wine — cheaper hosting, more flexibility, but a meaningfully higher operational cost: every MT5 update, every broker-pushed indicator update, every Windows-specific MQL5 quirk is a debugging session waiting to happen. Use Windows unless you have a specific reason not to.
Broker-managed VPS
Several brokers offer a "free VPS" if you trade above a monthly volume threshold. The VPS is typically run by a third party (BeeksFX, ForexVPS resold) and routed inside the broker's data centre — meaning latency is excellent. The trade-off: you depend on the broker for VPS support, the threshold can change, and the VPS often disappears if you switch brokers. For a stable single-broker setup it is a clean choice.
Setup checklist for a new VPS
- Install MT5 from the broker (not from MetaQuotes generic download — your broker's build includes the correct server list).
- Log in to the live account, confirm trade-server ping under your target.
- Attach the EA to the relevant chart(s), confirm AutoTrading is enabled.
- Set Windows Update to a maintenance window outside trading hours.
- Disable Windows Defender real-time scanning of the MT5 data folder (it can stall tick processing).
- Pin MT5 to autostart on Windows login.
- Enable RDP autologin so a Windows reboot resumes MT5 without manual intervention.
- Set up an external monitor (UptimeRobot, Better Stack) on the trade server to detect VPS outages.
Backup and monitoring
A single VPS is a single point of failure. For low-stakes personal accounts that is fine; for funded prop accounts or material capital it is not. Two practical patterns:
- Cold backup. A second VPS, snapshotted weekly, restorable inside 30 minutes. Cheap, manual, fine for swing strategies.
- Warm backup. A second VPS running the same EA against a demo account, so you can fail over by switching the EA from demo to live. More expensive, mechanical, the right answer for intraday strategies.
The bottom line
For most retail EA users, a $25–35/month dedicated VPS in the same data centre as the broker, with Windows Server, 2 vCPU and 4 GB RAM, is the right answer. Pay for the named data centre, not for the marketing — and put autostart, monitoring, and a backup plan in place before you scale capital. The VPS is the cheapest part of an automated setup; it deserves the same care as the strategy itself.
See our infrastructure page at /infrastructure for the providers we currently use.