VPS for MT5 — Do You Need One for a Gold EA?
Running a gold Expert Advisor from your home PC seems convenient — until your internet drops at 3am with a live trade open and no stop loss watching it. A VPS solves this entirely. Here is what it is, whether you need it, and how to set one up in under 30 minutes.
Short Answer
Demo trading
No VPS needed. Run it on your PC.
Live, low-frequency EA
Recommended. Protects open trades overnight.
Live scalping EA
Essential. Every second of downtime costs entries.
What Is a VPS and How Does It Work with MT5?
A Virtual Private Server (VPS) is a remote Windows computer hosted in a data centre that runs 24 hours a day, 7 days a week — regardless of what happens to your home internet or PC. You connect to it via Remote Desktop (RDP), install MT5, load your EA, and then disconnect. The EA keeps running on the VPS in the background.
For gold EA trading, the key advantage is not just uptime — it is proximity to your broker. Data centres that host VPS providers are often located in the same buildings as broker trading servers. This means your EA's orders travel just a few kilometres instead of thousands, reducing execution latency from 50–200ms down to 1–10ms.
Without VPS
- ✗EA stops if PC sleeps or restarts
- ✗EA stops on Wi-Fi dropout
- ✗Open trades left unmanaged
- ✗50–200ms order latency
- ✗Slippage on fast-moving gold
With VPS
- ✓EA runs 24/5 uninterrupted
- ✓Dedicated stable connection
- ✓Stop losses always monitored
- ✓1–10ms order latency
- ✓Minimal slippage on scalp entries
Why Latency Matters for Gold Scalping
Gold (XAUUSD) is one of the fastest-moving instruments in forex. During the London open or major news events, price can travel 10–30 pips in a second. For a scalping EA with a 15-pip target, the difference between a 5ms and a 150ms execution can mean the difference between catching the move and entering at the wrong price.
| Setup | Typical Latency | Slippage Risk | Verdict |
|---|---|---|---|
| Home PC, same country | 30–100 ms | Medium | Acceptable for low-freq |
| Home PC, different country | 100–300 ms | High | Avoid for scalping |
| VPS, same region as broker | 5–20 ms | Low | Good |
| VPS, co-located with broker | <5 ms | Minimal | Ideal for scalpers |
For Goldie Sniper EA PRO (up to 15 trades/day on M1), every millisecond counts. Even a budget VPS in the right region cuts latency by 5–10× compared to a home connection.
How Much Does Each EA Benefit From a VPS?
The more frequently an EA trades, the more it gains from low latency and guaranteed uptime.
Up to 15 trades/day
VPS benefit
High-frequency scalper on M1. Every missed entry or delayed execution matters. VPS is essential.
7–8 trades/day
VPS benefit
Breakout EA — entries trigger at precise levels. A disconnect at the wrong moment means a missed breakout.
1–3 trades/day
VPS benefit
Low frequency but high precision. VPS ensures the open trade's stop loss is always monitored.
Manual trades/day
VPS benefit
Semi-manual — you trigger entries yourself. VPS still useful to manage open trades if you step away.
VPS Providers Compared for MT5
All options below support Windows Server and are suitable for running MT5 with one or more gold EAs.
Contabo
Best Value~$7/mo
RAM
4 GB
Regions
EU / US / Asia
Ping to broker
5–25 ms
OS
Windows Server
Cheapest option with solid specs. Slightly higher latency than premium options but excellent for the price.
Vultr
Low Latency~$12/mo
RAM
2 GB
Regions
32 regions
Ping to broker
2–10 ms
OS
Windows Server
Wide region selection means you can get very close to your broker's server. Great for scalping EAs.
DigitalOcean
Reliable~$15/mo
RAM
2 GB
Regions
NYC / LON / FRA
Ping to broker
2–8 ms
OS
Windows Server
Developer-friendly, excellent uptime SLA. Good for traders who want a managed, no-fuss environment.
ForexVPS.net
EA Specialist~$30/mo
RAM
2 GB
Regions
LD4 / NY4 / TY3
Ping to broker
<1 ms
OS
Windows Server
Co-located at Equinix data centres next to broker servers. Sub-millisecond latency — premium option for serious scalpers.
Broker VPS
Free OptionFree*
RAM
1–2 GB
Regions
Broker data centre
Ping to broker
<5 ms
OS
Windows Server
IC Markets, Pepperstone, and FP Markets offer free VPS with qualifying accounts. Best latency, zero extra cost.
* Free broker VPS requires minimum monthly trading volume. Check broker terms for qualification criteria.
How to Set Up MT5 on a VPS — Step by Step
From ordering to EA running live: approximately 20–30 minutes.
Choose a provider and region
Pick a VPS provider and select the region closest to your broker's server. Check your broker's website for their server location (usually LD4 London or NY4 New York).
Select Windows Server 2019 or 2022
Always choose a Windows OS when ordering. MT5 is a native Windows application. Avoid Linux unless you are comfortable with Wine configuration.
Connect via Remote Desktop (RDP)
Use the Windows built-in Remote Desktop Connection app (mstsc). Enter your VPS IP address and the credentials provided by your host.
Download and install MT5
Open the browser on the VPS, go to your broker's website, and download their branded MT5 installer. Install and log in to your trading account.
Copy your EA files to the VPS
In MT5 on the VPS: Tools → Open Data Folder → MQL5 → Experts. Paste your .ex5 EA files here. Restart MT5 to load them.
Attach the EA to a chart and enable AutoTrading
Open the XAUUSD chart, attach the EA, configure inputs, and press the AutoTrading button (F7) to enable it. Verify the smiley face icon appears on the chart.
Disconnect RDP — the EA keeps running
Close the Remote Desktop window (do not shut down the VPS). MT5 continues running on the VPS in the background 24/5.
VPS Mistakes to Avoid
🖥️
Shutting down instead of disconnecting
When you close the RDP window, use the X button — do not click Shut Down or Restart inside the VPS. Shutting down kills your EA.
🌍
Wrong region
A VPS in Singapore running against a broker server in London adds 150ms+ of latency. Always match VPS region to broker server location.
💾
Too little RAM
Running MT5 with multiple charts and EAs on a 1 GB VPS causes slowdowns. Start with 2 GB minimum, 4 GB if running more than two EAs.
🔒
No Windows auto-login
If the VPS reboots (rare but happens), Windows needs to auto-login to restart MT5. Configure auto-login in Windows settings so MT5 starts on boot.
🔔
No monitoring or alerts
Set up MT5 email or push notifications so you receive alerts if an unusual event occurs, even when not connected to the VPS.
📅
Ignoring Windows Updates
Automatic updates can trigger a VPS restart during trading hours. Schedule updates for weekends when markets are closed.
Get Your EA Running on VPS Today
Once your VPS is set up, adding a Pro-Scalper EA takes less than 5 minutes. All EAs come with clear setup instructions and support via email.
Goldie Sniper EA PRO
High-frequency scalper. Most benefit from VPS — up to 15 trades/day on M1.
Learn more →
Goldie Razor V2
Breakout entries that need precise execution. VPS eliminates missed breakouts.
Learn more →
Blind Sniper X PRO
Precision sniper. VPS keeps stop losses monitored during low-frequency holds.
Learn more →
Hybrid Manual Scalper
Semi-manual. VPS useful for managing open trades when you step away.
Learn more →
Ready to run a gold EA on VPS?
Get a Pro-Scalper EA and we'll walk you through the full VPS setup.
Get a Pro-Scalper EA →Frequently Asked Questions
Do I need a VPS to run a gold EA on MT5?
For serious live trading, yes. A VPS ensures MT5 runs 24/5 without interruption, regardless of your internet connection or PC status. Without a VPS, any disconnect — power cut, Wi-Fi drop, PC restart — can leave open trades unmanaged with no stop loss monitoring.
What is the best location for a VPS to run a gold EA?
Choose a VPS data centre as close as possible to your broker's trading server. For most MT5 brokers this is London (LD4/Equinix), New York (NY4), or Frankfurt. Ping under 10ms is ideal for scalping EAs. Most providers let you choose the region at sign-up.
How much RAM does MT5 need on a VPS?
MT5 with one or two EAs running comfortably fits within 2 GB RAM. If you run multiple EAs, multiple chart windows, or other software simultaneously, 4 GB is recommended. Most budget VPS plans start at 2 GB which is sufficient for a single gold EA.
Can I use a Linux VPS for MT5?
MT5 is a Windows application. You can run it on Linux via Wine, but this setup is unreliable and not recommended for live trading. Use a Windows Server VPS (2019 or 2022) for full compatibility and stability.
How much does a VPS for MT5 cost per month?
A suitable Windows VPS for MT5 costs between $10 and $30 per month depending on provider and region. Some brokers (IC Markets, Pepperstone, FP Markets) offer free VPS hosting if your account meets a minimum monthly trading volume.
Will a VPS improve my EA's trading performance?
A good VPS improves execution speed and eliminates missed trades from downtime, which directly benefits high-frequency scalping EAs. Lower latency means orders reach the broker faster, reducing slippage. For low-frequency EAs (1–3 trades/day), the improvement is smaller but uptime reliability still matters.