MT4 VPS Setup Guide: Run Your EA 24/5 in 15 Minutes

If your trading strategy depends on 24/5 uptime — running an EA, monitoring intraday alerts, or scalping the London/NY overlap — your laptop is the wrong machine for the job. Power outages, sleep mode, dropped Wi-Fi, and forgotten reboots cost real money.

A VPS (Virtual Private Server) is a Windows machine in a datacentre that runs MT4 around the clock with broker-grade internet. This guide compares VPS options, walks through the entire setup, and shows you exactly how to transfer an EA from your laptop to the VPS.


Why You Need a VPS for Live MT4 Trading

Before the how-to, the why:

Without VPS With VPS
Laptop must stay on 24/5 VPS runs 24/5 in datacentre
Wi-Fi drops disconnect MT4 Datacentre internet ~99.99% uptime
Sleep mode kills your EA VPS never sleeps
Latency to broker = 50-200ms Often <5ms (broker-collocated VPS)
Power outage = missed trades Datacentre has backup power
Your machine’s CPU shared with browsers Dedicated CPU for MT4

For scalping EAs or news traders, the latency reduction alone justifies the $5-30/month cost. For swing traders running EAs, uptime is the bigger benefit.


Pick a VPS Provider

Three categories:

1. Broker-supplied free VPS

Many brokers offer free VPS to clients meeting deposit/volume thresholds. Examples:

Broker Free VPS condition
IC Markets $5,000 minimum balance OR 5 lots/month
Pepperstone $5,000 balance OR 25 lots/month
OANDA Premium tier accounts
FBS Active live account, minimum trades/month
XM $5,000 balance OR 5 lots/month

Free broker VPS is collocated at the broker’s datacentre — sub-millisecond latency. Strict on resources (1 CPU, 1 GB RAM) so don’t run more than 1-2 EAs.

2. Paid forex-specialised VPS

Provider Price (entry) Datacentre locations
ChocoPing (my pick) from ~$7/month NY, London, Frankfurt, Singapore
ForexVPS.net $30/month NY, London, Singapore, Tokyo
Beeks Financial Cloud $40/month NY4, LD4 (broker-collocated)
CommercialNetworkServices $25/month NYC, LON, JPN
TradeVPS $30/month NY, LON
AccuWebHosting Forex VPS $20/month Multiple US

These are tuned for MT4 — pre-loaded Windows, optimised for low latency, 24/7 forex-specialist support.

Why I run my EAs on ChocoPing: sub-1ms latency to major brokers (IC Markets, Pepperstone, Exness datacentres), Windows Server pre-installed with MT4 ready to drop in, and pricing that doesn’t punish small accounts — entry plans start around $7/month and handle a couple of MT4 instances comfortably. Pick a higher-tier plan (~$15/month) if you’re running 5+ EAs in parallel. Free trial available so you can latency-test against your broker before committing. Check ChocoPing plans →

Affiliate disclosure: ChocoPing is a partner — when you sign up via that link you support ForexOBroker at no extra cost. I use them on my own live accounts.

3. Generic cloud VPS (Vultr, DigitalOcean, AWS Lightsail)

Cheaper ($5-10/month) but DIY:

  • You install Windows yourself (or pay extra for a Windows Server image)
  • Latency depends on which region you pick (NY for OANDA/FXCM US; LON for IC Markets / Pepperstone Europe)
  • You’re responsible for security, updates, backups

Best fit for traders who already manage cloud servers. Not recommended for beginners.

Comparison table of major MT4 VPS providers showing price location latency and uptimeMy recommendation:
Beginner running 1 EA: broker-free VPS if you qualify; otherwise ChocoPing’s entry plan (~$7/month) — cheapest credible forex-tuned option
Algo trader running 5+ EAs: ChocoPing’s mid-tier or Beeks Financial Cloud (more RAM)
Frugal DIY: Vultr Windows VPS in NY ($16/month) — colocated near most US brokers


How to Set Up a VPS for MT4: 6-Step Guide

Step 1 — Order the VPS

Sign up with your chosen provider. You’ll need:

  • Email
  • Payment method (most accept card; some accept crypto)
  • Choice of Windows Server version (2019 or 2022 — pick 2022 if available)
  • Datacentre region — pick the closest to your broker (NY for US brokers; London for UK/EU brokers)

Provisioning takes 5-15 minutes. You receive an email with:

  • VPS IP address
  • Administrator username (usually Administrator)
  • Initial password
  • RDP port (default 3389)

Step 2 — Connect via Remote Desktop

A VPS is just a remote Windows machine. You connect using Remote Desktop Protocol (RDP).

On Windows:

  1. Press Win + R, type mstsc, press Enter.
  2. In the Computer field, paste the VPS IP address.
  3. Click Connect.
  4. Enter the Administrator credentials when prompted.
  5. The VPS desktop appears in a window — you’re now controlling the remote machine.

On macOS:

  1. Install Microsoft Remote Desktop from the Mac App Store (free).
  2. Click + Add PC → enter VPS IP, username, password.
  3. Double-click the saved connection to launch.

On iPhone / Android:

  1. Install Microsoft Remote Desktop app.
  2. Add a new PC with the VPS IP and credentials.
  3. Tap to connect — works on phones, but a tablet is more practical.

Windows Remote Desktop Connection dialog showing VPS IP address and credentials> Tip: change the default Administrator password immediately after first login. Most VPS hacks come from leaked default credentials.


Step 3 — Install MT4 on the VPS

Inside the VPS Windows desktop:

  1. Open Edge or Chrome (pre-installed with most VPS Windows images).
  2. Visit your broker’s website.
  3. Download the MT4 installer.
  4. Run the installer — same process as installing MT4 on your local computer.
  5. Log in to your live or demo broker account.

Verify MT4 is connected (green ping bars at bottom-right). The VPS is now running MT4 with live broker data.

MT4 platform freshly installed on a VPS Windows desktop with broker login visible

Step 4 — Transfer Your EA / Indicators / Templates

If you’ve been running MT4 on your local machine, you have custom indicators, EAs, and templates you want to bring over.

Easiest method: copy/paste through RDP

RDP supports clipboard sharing. On your local machine:

  1. Open the local MT4 Data Folder: File > Open Data Folder.
  2. Open MQL4/Experts to find your EA .ex4 files.
  3. Select your EAs → Ctrl+C.
  4. Switch to the RDP window (the VPS).
  5. Open the VPS MT4 Data Folder via the same File > Open Data Folder.
  6. Paste into MQL4/Experts on the VPS → Ctrl+V.

Repeat for MQL4/Indicators, templates/, and profiles/ folders. See How to Install Custom Indicators on MT4 for detail on what each folder contains.

Tip: if RDP clipboard doesn’t work, upload your files to a cloud drive (Google Drive, Dropbox, OneDrive), then download them on the VPS.


Step 5 — Attach Your EA to a Chart

On the VPS MT4:

  1. Open a chart for the symbol your EA trades (e.g. EURUSD H1).
  2. In Navigator, expand Expert Advisors → drag your EA onto the chart.
  3. The EA inputs dialog opens. Confirm parameters and check Allow live trading under the Common tab.
  4. Click OK.

A smiley face in the chart’s top-right corner means the EA is running. A frown means EAs are disabled — toggle the AutoTrading button on the toolbar to enable.

EA attached to MT4 chart on VPS with green smiley face indicating active running

Step 6 — Disconnect and Verify Continuous Operation

Close the RDP window — the VPS keeps running. MT4 and your EA continue operating in the cloud.

To verify:

  • Wait a few hours (or overnight).
  • Reconnect via RDP.
  • Check the Journal tab in MT4 — you should see continuous data and any EA log entries.
  • Check the Trade tab — any positions the EA opened during your absence appear here.

Cost vs benefit check: if your EA generates more than the VPS cost per month, you’re in profit. If not, reconsider whether the strategy justifies VPS hosting.


VPS Maintenance Best Practices

  • Restart the VPS once per week — Windows accumulates memory over time. A weekly reboot prevents creeping slowdown.
  • Auto-update Windows during weekends — set Windows Update to install during Saturday morning when forex markets are closed.
  • Disable Windows sleep / hibernate — Power Options → Choose what closing the lid does → Set “When plugged in” to Never (VPS has no lid but the setting still applies).
  • Set MT4 to auto-start on Windows login — Tools > Options > Server > tick “Enable autotrading when expert is in chart”. After a Windows update, MT4 launches automatically.
  • Monitor disk space — MT4 logs grow over months. Clean [MT4]/MQL4/Logs/ and [MT4]/MQL4/Files/ quarterly.

Frequently Asked Questions

Is a VPS necessary for MT4?

Not for manual trading on demo. Yes for live EA trading — you need the platform running 24/5, which is impractical on a personal laptop. Even for manual traders, a VPS removes the disconnect risk during news events.

How much does a forex VPS cost?

Free if you qualify for a broker’s complimentary VPS (usually $5,000+ balance). Otherwise $20-40/month for a forex-specialised VPS. Generic cloud VPS (Vultr, AWS Lightsail) starts at $5-16/month but requires DIY setup.

What VPS specs does MT4 need?

For 1-2 MT4 instances with simple EAs: 1 CPU, 1 GB RAM, 30 GB SSD. For 5+ instances or complex EAs: 2 CPU, 4 GB RAM, 50 GB SSD. CPU clock speed matters more than core count — MT4 is single-threaded.

Can I use a free VPS for forex?

Free VPS from cloud providers (AWS Free Tier, Oracle Cloud Always Free) technically works but has restrictions: low CPU priority, limited RAM, network throttling under load. Fine for testing, risky for live trading. Broker-supplied free VPS is the better free option.

How do I migrate from one VPS to another?

Copy MQL4/, templates/, profiles/, and your terminal.ini from the old VPS to the new one. Re-install MT4 on the new VPS, paste files into the same folders, log in to your account. EAs resume from where they left off.

Will my broker know I’m using a VPS?

Brokers see the IP address of every connection. Some brokers actively detect VPS IPs and may treat the connection differently — usually just for diagnostics. There are no rules against using a VPS. In fact, many brokers offer one as a perk.

Can I run MT4 and MT5 on the same VPS?

Yes. Both platforms can run simultaneously. Allocate at least 4 GB RAM if you do — each platform uses 0.5-1 GB minimum.


Related Tutorials

Author: Dominic Walsh
blank

I am a highly regarded trader, author & coach with over 16 years of experience trading financial markets. Today I am recognized by many as a forex strategy developer. After starting blogging in 2014, I became one of the world's most widely followed forex trading coaches, with a monthly readership of more than 40,000 traders! Make sure to follow me on social media: Instagram | Facebook | Youtube| Twitter | Pinterest | Reddit | Telegram Channel