MetaTrader VPS setup: run MT4/MT5 24/7 on a forex VPS
A MetaTrader VPS (a Windows forex VPS running MT4 or MT5) is how serious algo traders keep Expert Advisors executing 24/7 without depending on their home PC. The forex market runs 24 hours a day, five days a week. Your EA can’t trade if your PC sleeps, your internet dies, or Windows reboots for updates at 3 AM. Moving MetaTrader to a VPS solves all three.
This guide walks through MetaTrader VPS setup from deployment to EA running, including broker-aware data center selection for minimum execution latency.
Why traders use a forex VPS
Running an Expert Advisor or automated strategy in MetaTrader requires continuous uptime. A Windows VPS hosts MetaTrader in a data center with redundant power, fast connectivity, and 99.98% uptime. Your EA keeps trading whether you’re awake, asleep, or on vacation.
What you need for MetaTrader VPS setup
- A ColossusCloud Windows VPS (2 GB RAM minimum, 4 GB recommended)
- MetaTrader 4 or MetaTrader 5 installer from your broker
- Your broker account credentials
- About 15 minutes
Step 1: Deploy your MetaTrader VPS
- Log into the Client Portal
- Create a new VPS with Windows Server 2022 or 2025
- Choose at least 2 GB RAM and 2 vCPUs
- Pick a data center close to your broker’s servers for lowest latency
Which data center for a forex VPS?
Most major forex brokers run servers in New York or London. For New York brokers, Ashburn, Virginia gives the lowest latency. For London brokers, Amsterdam is the closest option.
If unsure where your broker’s servers are, ask their support. It matters for execution speed.
Step 2: Connect via Remote Desktop
- Open Remote Desktop on your computer (press Windows + R, type
mstsc) - Enter your VPS IP and click Connect
- Log in with the administrator credentials from the Client Portal
Step 3: Install MetaTrader on the VPS
- Open the browser on your VPS (Edge is pre-installed)
- Download MetaTrader from your broker’s website (not random sources)
- Run the installer
- Once installed, open MetaTrader and log into your broker account
Running multiple MetaTrader instances
Trading with multiple brokers or different strategies? Install MetaTrader multiple times in separate folders. Name each by broker or strategy. Each instance runs independently.
- 2-3 instances → 4 GB RAM comfortable
- 4+ instances → 8 GB
Step 4: Load your Expert Advisor
- In MetaTrader: File > Open Data Folder
- Copy your EA files into MQL4/Experts (MT4) or MQL5/Experts (MT5)
- Restart MetaTrader or right-click the Navigator panel → Refresh
- Drag your EA onto the chart you want to trade
- Configure EA settings, click OK
- Confirm AutoTrading in the toolbar is enabled (green)
Step 5: Keep MetaTrader running 24/7
The whole point of a MetaTrader VPS is that MT4/MT5 keeps running when you disconnect from RDP. A few settings to make that reliable:
Prevent Windows from sleeping
- Settings > System > Power & sleep
- Set screen and sleep timers to Never
Disable automatic restarts for updates
- Settings > Windows Update > Advanced options
- Set Active hours to cover the full trading week
- Under Restart options, confirm not set to restart during market hours
Auto-start MetaTrader on boot
In case the VPS reboots (rare, but possible during maintenance):
- Press Windows + R, type
shell:startup - Create a shortcut to your MetaTrader executable in this folder
MetaTrader launches automatically when Windows starts. Your EA resumes with whatever settings were saved.
Step 6: Disconnect (don’t log out)
Critical. When you’re done checking on your MetaTrader VPS:
- Close the Remote Desktop window (X or Alt+F4). Disconnects the session but leaves MetaTrader running.
- Don’t click “Log out” or “Sign out.” Logging out closes all applications, including MetaTrader.
Like closing a laptop lid. Everything keeps running. You just can’t see the screen.
Monitoring your EA remotely
You don’t need to RDP in every time you check trades. MetaTrader has remote monitoring:
- MetaTrader mobile app (iOS/Android): account balance, open positions, trade history
- Email alerts configured in EA settings for trade notifications
- Push notifications from MetaTrader to your phone for entry/exit alerts
For quick checks, the mobile app is enough. RDP in for config changes or troubleshooting.
Recommended MetaTrader VPS specs
| Setup | RAM | vCPUs | Works for |
|---|---|---|---|
| 1 MetaTrader instance | 2 GB | 1 | Single broker, single EA |
| 2-3 instances | 4 GB | 2 | Multiple brokers or strategies |
| 4+ instances | 8 GB | 4 | Heavy multi-account trading |
Main resource hog is RAM. Each MetaTrader instance uses 500 MB to 1 GB depending on charts and indicators.
Forex VPS costs
ColossusCloud charges hourly, so you pay only for what you use. No long-term contracts. The VPS cost includes Windows Server licensing through our Microsoft SPLA partnership, so no separate Windows license needed.
MetaTrader itself is free (provided by your broker). Your only costs are the VPS and whatever your broker charges.
Deploy a Windows VPS in Ashburn (US brokers) or Amsterdam (EU brokers) and keep your MetaTrader EAs running 24/7.