VPS beginner 7 min read

VPS setup for MT5 EA trading

Why EA traders need a VPS and how to choose, configure, and monitor one. Covers latency requirements, Windows vs Linux options, co-location near broker servers, and typical cost vs performance trade-offs.

Published · Reviewed

Why your home computer is not sufficient

Your home computer can run MT5 and an EA — but it will miss trades when:

  • Your internet connection drops
  • Windows installs an update and restarts overnight
  • Your ISP has a routing disruption
  • You close the laptop lid

For strategies that trade once per H4 candle close, missing a single entry is a small issue. For scalpers firing 20+ trades per day, any interruption is a direct cost. Even for swing EAs, missing a trailing stop update during an overnight session can turn a winning trade into a loss.

A VPS (Virtual Private Server) is a cloud computer that runs 24/7 at a data centre with enterprise-grade uptime guarantees (99.9%+). MT5 runs on the VPS; your local computer connects as a viewer only.

What to look for in a VPS for MT5

1. Windows Server OS — MT5 is a Windows application. Running MT5 on Linux requires Wine (a compatibility layer) and introduces additional complexity. For simplicity, choose a Windows VPS.

2. Location near your broker’s server — latency between the VPS and your broker’s execution server affects how quickly your orders reach the market. Most major brokers (XM, HFM, Exness) have execution servers in London (LD4 data centre), New York (NY4), or Frankfurt. Choose a VPS provider in the same city as your broker’s server. Typical good latency: 1-10ms.

3. Minimum hardware specs for one MT5 instance with 1-3 EAs:

  • RAM: 2 GB minimum, 4 GB recommended
  • CPU: 1-2 vCPU cores
  • Storage: 50 GB SSD (MT5 tick data grows over time)
  • Bandwidth: 100 Mbps+ (MT5 is not bandwidth-intensive but needs stability)

4. Cost: Windows VPS at these specs typically costs $10–30/month from providers including Contabo, Vultr, and Hostinger. XM offers free VPS to clients maintaining $5,000+ active balance — worth using if you meet the threshold.

Setup procedure

  1. Register with a VPS provider and select a Windows Server 2019 or 2022 instance.
  2. Connect via Remote Desktop (RDP): Start → mstsc → enter VPS IP address.
  3. Inside the VPS desktop, download and install MT5 from your broker’s website.
  4. Copy your .ex5 EA files to the VPS via RDP clipboard or a file transfer tool.
  5. Attach EAs to charts, enable AutoTrading, verify the smiley face icon on each chart.
  6. Disconnect from RDP — MT5 continues running.

Monitoring your VPS

  • Daily check: reconnect via RDP and verify all EA smiley faces are green and no journal errors.
  • Email alerts: configure MT5 alerts (Tools → Options → Email) to notify you of critical events.
  • VPS uptime monitoring: services like UptimeRobot (free tier) can ping your VPS IP and email you if it becomes unreachable.

A common mistake is setting up a VPS and never reconnecting for weeks. EA configuration drift, broker server changes, and internet disruptions can silently stop an EA from trading. A weekly RDP check takes two minutes and catches most issues early.

Related terms

Glossary references