A forex VPS for MT5 is a remote Windows server that runs your MetaTrader 5 terminal 24/5 with low latency to your broker's data center. If you run an Expert Advisor — especially on a volatile pair like XAUUSD — a VPS is no longer optional. It's the difference between a strategy that executes cleanly and one that misses trades whenever your home internet hiccups.
This guide covers why a VPS matters, what specs to look for, and whether free broker VPS options are worth it.
Why an MT5 VPS matters
Three things silently kill EA performance when you run MT5 on a home laptop:
- Latency — every millisecond between your terminal and the broker's server is slippage risk. Home internet routes through consumer ISPs; a VPS in the same data center cuts round-trip to single-digit milliseconds.
- Downtime — power cuts, Windows updates, Wi-Fi drops, closing the lid. Any of these disconnect the EA mid-trade.
- Resource contention — a laptop running Chrome, Slack, and MT5 will occasionally freeze the terminal for seconds at a time. On news releases, seconds matter.
MetaQuotes' own documentation on MT5 VPS recommends a hosted server for anyone running automated strategies for this reason.
What specs to look for
Most "forex VPS" plans are priced in the $10–30/month range. What matters:
- Location — match the data center to your broker's server. Common good pairs: LD4 (London) for LMAX/IC Markets London, NY4 (New York) for US-based brokers, Equinix Tokyo for Asian ECNs.
- Ping < 5ms to broker — the VPS provider should publish measured ping times. If they don't, look elsewhere.
- 2 GB RAM minimum — one MT5 instance uses ~400 MB idle; if you run multiple charts or EAs, scale up.
- 2 vCPU — plenty for MT5. More cores don't help much; clock speed does.
- SSD storage — HDDs cause noticeable lag on MT5 startup and during heavy journal writes.
- Windows Server 2019 or newer — required for modern MT5 builds.
Free broker VPS — is it worth it?
Several brokers offer "free VPS" if you fund above a threshold (often $5,000 or 5 lots/month traded). These are genuinely useful if you'd already meet the threshold. If not, the cost of over-trading to qualify usually exceeds the $15/month a proper VPS would have cost.
The MetaQuotes VPS hosted directly from inside the MT5 terminal is another solid option — roughly €10/month, integrates natively, and migrates your EA and charts with one click.
Setting up MT5 on a VPS in 10 minutes
- Rent a Windows VPS from a reputable provider.
- Connect via Remote Desktop (built into Windows; free Microsoft apps for Mac, iOS, Android).
- Download MT5 from your broker inside the VPS.
- Copy your
.ex5EA file intoMQL5/Experts. - Open your XAUUSD chart, attach the EA, enable AutoTrading.
- Disconnect the RDP session — the EA keeps running.
Common pitfalls
- Mismatched data center — a VPS in Frankfurt won't help if your broker is in New York.
- Windows Updates set to auto-restart — schedule updates for weekends only; the market is closed.
- Forgetting to enable AutoTrading after reboot — set the EA to auto-load the chart with AutoTrading on.
- Running out of disk space — MT5 journal files grow fast. Clean quarterly.
Once the VPS is stable, the EA does its job. You stop thinking about uptime and start thinking about the strategy — which is exactly where attention should be.