Back to Blog
Education

How to Set Up a VPS for MetaTrader 4/5: Complete Guide for Traders

Step-by-step guide to choosing, setting up, and optimizing a VPS for running MetaTrader terminals and Expert Advisors 24/7.

Trading Team
March 4, 2026
15 min read
#metatrader#vps#mt4#mt5#automation#expert advisor#server

How to Set Up a VPS for MetaTrader: Complete Guide

A Virtual Private Server (VPS) is a remote Windows computer that runs 24/7 in a data center. For traders, it means your MetaTrader terminals and Expert Advisors stay online permanently -- no more missed trades because your laptop went to sleep, your internet dropped, or Windows decided to update at 3 AM.

If you're running multiple MetaTrader instances or copying Telegram signals automatically, a VPS is the most reliable way to keep everything running.

Why use a VPS for trading?

The problem with running MetaTrader on your PC

  • Power outages shut down your terminals and open trades go unmanaged
  • Internet disconnections break EA communication and signal copying
  • Sleep mode / screen lock can pause or interfere with MetaTrader
  • Windows updates restart your computer at the worst possible times
  • macOS users have to deal with Wine/CrossOver compatibility issues
  • Resource limits on your personal machine cap how many instances you can run

What a VPS solves

  • 99.9%+ uptime -- data centers have redundant power, internet, and hardware
  • Always-on -- your terminals run 24/7 whether your personal computer is on or off
  • Low latency -- VPS providers with servers near your broker's servers reduce execution delay
  • Dedicated resources -- RAM and CPU allocated specifically to your trading terminals
  • Remote access -- manage your terminals from any device, anywhere
  • Separation -- trading doesn't slow down your personal computer

When do you need a VPS?

Scenario VPS recommended?
Running 1–2 terminals casually Optional
Running 3+ terminals simultaneously Yes
Using EAs that must run 24/7 Yes
Copying signals from Telegram automatically Yes
Trading on macOS Strongly recommended
Running prop firm challenges Yes (uptime critical)
Manual trading only, at your desk No

Choosing a VPS provider

Key specs to look for

RAM is the most important spec. Each MetaTrader instance uses 200–600 MB depending on the platform (MT4 vs MT5), number of charts, and indicators loaded.

Number of instances Minimum RAM Recommended RAM
1–3 2 GB 4 GB
4–8 4 GB 8 GB
8–15 8 GB 16 GB
15+ 16 GB 32 GB

CPU: 2 vCPU cores is fine for most setups. Only need more if running computationally heavy EAs.

Storage: 40–60 GB SSD is plenty. MetaTrader installations are small. SSD (not HDD) matters for responsiveness.

Location: Choose a server location close to your broker's servers for lower latency. Common choices:

  • London -- close to most European Forex brokers
  • New York -- close to US brokers and liquidity providers
  • Amsterdam -- central European location, good for EU brokers
  • Tokyo/Singapore -- for Asian brokers

Popular VPS providers for traders

There are two categories: general-purpose VPS providers (cheaper, more flexible) and Forex-specific VPS providers (pre-configured for trading but more expensive).

General-purpose providers:

  • Contabo -- affordable, good specs for the price
  • Hetzner -- excellent European servers, competitive pricing
  • DigitalOcean -- reliable, developer-friendly
  • Vultr -- wide server location selection
  • AWS Lightsail -- Amazon-backed reliability

Forex-specific providers:

  • ForexVPS.net -- pre-installed MetaTrader, low latency
  • BeeksFX -- ultra-low latency, located in broker data centers
  • TradingFX VPS -- optimized for trading workloads
  • AccuWeb Hosting -- trading-focused plans

Forex-specific vs general-purpose: Forex VPS providers cost 2–3x more but come pre-configured and are located in financial data centers. General-purpose providers are cheaper and give you more control, but require manual setup. For most traders, a general-purpose VPS in London or New York is the best value.

Setting up your VPS: step by step

Step 1: Order your VPS

Sign up with your chosen provider and select:

  • OS: Windows Server 2019 or 2022 (MetaTrader requires Windows)
  • RAM: Based on how many instances you need (see table above)
  • Location: Close to your broker
  • Storage: 40+ GB SSD

After provisioning (usually 1–15 minutes), you'll receive an IP address, username (usually "Administrator"), and password.

Step 2: Connect via Remote Desktop

From Windows:

  1. Press Win+R, type mstsc, press Enter
  2. Enter the VPS IP address
  3. Click Connect, enter the username and password

From macOS:

  1. Download "Microsoft Remote Desktop" from the App Store
  2. Click "Add PC," enter the VPS IP address
  3. Connect and enter credentials

From phone/tablet:

  • Download the "RD Client" (Microsoft Remote Desktop) app
  • Add your VPS connection
  • Useful for monitoring trades on the go

Step 3: Secure your VPS

Before installing anything:

  1. Change the default password to something strong
  2. Enable Windows Firewall (should be on by default)
  3. Run Windows Update to patch security vulnerabilities
  4. Disable unnecessary services to save resources

Step 4: Install MetaTrader

Download and install MetaTrader from your broker's website, just like on a regular PC. For multiple accounts, install each instance in a separate folder:

C:\MetaTrader\MT4 - Account 1\
C:\MetaTrader\MT4 - Account 2\
C:\MetaTrader\MT5 - Account 3\

Follow the same process described in our multiple MetaTrader instances guide.

Step 5: Configure each terminal

For each MetaTrader instance:

  1. Log into the correct trading account
  2. Install your EAs (copy to the MQL4/Experts or MQL5/Experts folder)
  3. Attach EAs to charts
  4. Enable AutoTrading
  5. Reduce resource usage:
    • Tools → Options → Charts → set "Max bars in chart" to 5,000
    • Tools → Options → Server → uncheck "Enable news"
    • Close unnecessary charts

Step 6: Set up auto-start

Your terminals should start automatically if the VPS reboots (maintenance, updates, etc.).

Method: Startup folder

  1. Press Win+R, type shell:startup, press Enter
  2. Create shortcuts to each terminal.exe in this folder
  3. If using portable mode, make sure the shortcuts include /portable

Method: Task Scheduler (more reliable)

  1. Open Task Scheduler
  2. Create a new task for each terminal
  3. Set trigger: "At startup" with a 30-second delay
  4. Set action: Start the terminal executable
  5. Enable "Run whether user is logged on or not"

Optimizing your VPS for trading

Disable visual effects

  1. Right-click "This PC" → Properties → Advanced system settings
  2. Under Performance, click Settings
  3. Select "Adjust for best performance"

This frees up significant RAM and CPU by disabling Windows animations and visual effects.

Disable Windows Update auto-restart

Windows Update restarts can kill your terminals mid-trade.

  1. Open Group Policy Editor (gpedit.msc)
  2. Navigate to Computer Configuration → Administrative Templates → Windows Components → Windows Update
  3. Set "No auto-restart with logged on users" to Enabled
  4. Schedule updates manually during market closed hours

Disable sleep and screen saver

  1. Power Options → change plan → set "Turn off display" and "Sleep" to Never
  2. Right-click desktop → Personalize → Lock screen → Screen saver settings → set to None

Monitor resource usage

Keep Task Manager pinned (Ctrl+Shift+Esc) to monitor:

  • RAM usage -- if consistently above 80%, upgrade or reduce instances
  • CPU usage -- should be low unless EAs are computing
  • Disk usage -- spikes during log writing, should be generally low with SSD

VPS costs: what to expect

Instances Specs needed Typical monthly cost
1–3 2 vCPU, 4 GB RAM $8–20/mo
4–8 2 vCPU, 8 GB RAM $15–40/mo
8–15 4 vCPU, 16 GB RAM $30–70/mo
15+ 4+ vCPU, 32 GB RAM $60–120/mo

General-purpose providers (Contabo, Hetzner) are at the lower end. Forex-specific providers (BeeksFX, ForexVPS) are at the higher end but include pre-configuration and ultra-low latency.

Troubleshooting

Can't connect via Remote Desktop

  • Verify the IP address, username, and password
  • Check that port 3389 is open in the VPS firewall
  • Try restarting the VPS from your provider's control panel

MetaTrader won't start after VPS reboot

  • Check the Startup folder or Task Scheduler for your auto-start configuration
  • Verify the terminal executable path hasn't changed
  • Check Windows Event Viewer for crash logs

High latency / slow execution

  • Choose a VPS location closer to your broker's servers
  • Check your VPS provider's network status page for issues
  • Reduce the number of charts and indicators to lower CPU load

Running out of RAM

  • Reduce "Max bars in chart" in each terminal
  • Close charts you don't need
  • Disable news feeds in all terminals
  • Upgrade to a higher RAM plan

VPS feels slow when connecting

This is normal -- Remote Desktop compression makes the display feel sluggish. The trading terminals themselves run at full speed on the VPS; only the remote display is affected. For monitoring, the slight display lag doesn't impact trade execution.

VPS vs your home PC: when to switch

Factor Home PC VPS
Uptime Depends on your habits 99.9%+
Cost Free (already own it) $8–120/mo
Latency Depends on your ISP Optimizable
Instances Limited by your hardware Scalable
Maintenance You handle everything Provider handles hardware
Access Only at home From anywhere

Rule of thumb: If your trading depends on continuous uptime (EAs, signal copying, prop firm challenges), a VPS pays for itself by preventing missed trades and unmanaged positions.

Next steps

  1. Choose a VPS provider based on your budget and location needs
  2. Set up your terminals following the multiple instances guide
  3. Connect your automation -- whether that's EAs, Telegram signal copying with Propr, or other tools
  4. Configure auto-start so your terminals survive reboots

Related reading:

Ready to Start Automated Trading?

Join thousands of traders who are already using our automated signal copying system to maximize their profits.