Get DowGold — +315% in 24h

How to Set Up a VPS for Forex EA Trading

🖥️ EA Setup Guide

How to Set Up a VPS for Forex Trading

A step-by-step guide to running your Expert Advisor 24/5 without interruption. Choose the right VPS, install MT5, and keep your EA running while you sleep.

⚡ Quick Answer

A VPS (Virtual Private Server) is a remote computer that runs your EA 24 hours a day, 5 days a week — even when your home PC is off.

You need one if you're running any EA that requires constant market connection — especially scalpers, grid systems, and martingale strategies.

Our recommendation: Contabo Cloud VPS 10 with Windows Server, around $14/month all-in. Setup takes about 20 minutes if you do it yourself.

Don't want to deal with any of this? Buy your EA from CheaperForex, sign up for the VPS, send us your VPS login, and we'll do everything for you — install MT5, install your EA, optimise the VPS, and verify it's running. Free, included with every purchase.

Avoid the MQL5 VPS. It's not a real VPS — you can't log into it, can't troubleshoot, and you'll regret it.

Why You Need a VPS for EA Trading

If you're running an EA on your home computer, you're taking unnecessary risk. Your WiFi drops for 30 seconds and your EA can't manage an open trade. Windows decides to restart for updates at 3 AM. Your laptop goes to sleep. Your power goes out. Any one of these turns a managed trade into an unmanaged one — and that's how accounts get blown.

A VPS solves all of this. It's a remote Windows computer that runs in a data centre with enterprise-grade internet, backup power, and 99.9% uptime. Your EA runs there 24/5. You connect to it from your phone, laptop, or tablet whenever you want to check in.

You definitely need a VPS if your EA uses trailing stops (these only work while MT5 is connected), opens and closes trades frequently (scalpers, grid systems), manages multiple open positions (martingale, hedging strategies), or if your home internet is unreliable.

The only time you might not need one is if your EA trades once or twice a week on higher timeframes with fixed stop losses — since those orders live on the broker's server regardless of your connection.

How to Choose the Right VPS

Not all VPS providers are equal. For forex trading, three things matter more than everything else: latency, uptime, and resources.

Latency is the time it takes for data to travel between your VPS and your broker's server. For scalping EAs, you want under 5ms. For most other strategies, under 20ms is fine. The key is choosing a VPS in the same city as your broker's server — usually London, New York, Amsterdam, or Tokyo. If your broker is IC Markets (servers in New York and London), pick a VPS in one of those locations.

Uptime should be 99.9% or better. That means less than 45 minutes of downtime per month. Any decent forex VPS provider guarantees this. Cheap generic hosting providers often don't.

Resources — for running 1–2 MT5 instances with a few EAs, you need at minimum 2GB RAM, 1 CPU core, and 30GB SSD storage. If you're running 3+ MT5 instances or heavy backtesting, go for 4GB RAM and 2 cores.

⚠️ Don't Use Free Broker VPS Offers

Many brokers offer "free VPS" if you maintain a certain balance or lot volume. These are almost always underpowered shared servers with high latency and frequent downtime. They're marketing tools, not trading infrastructure. Spend the $15–20/month on a proper VPS — it's the cost of a few pips and it protects your entire account.

The Two VPS Providers We Recommend

We've helped customers set up thousands of VPS instances since 2019. After all that, only two providers consistently deliver: Contabo for most people, OVH for those who can sign up. We have no affiliate deals with either — these are honest recommendations based on what works.

OVH VPS — Better Hardware, Stricter Sign-Up

~$16-22/moall-in, depending on tier

French hosting giant, third-largest in the world. Builds its own servers, runs its own data centres. Faster, more reliable, and provisions in minutes rather than hours. The hardware quality is genuinely a step above Contabo at the equivalent tier.

If you can sign up — get OVH. Provisioning happens in 5–15 minutes.

Recommended Plan

VPS-3 or VPS-4 (4 vCPU, 8 GB RAM) with Windows Server

Pricing varies by region — check ovhcloud.com for current rates in your country. Base VPS is around $7–12/mo, Windows licence adds another $9–10/mo.

⚠️ The Catch — OVH Is Geographically Restrictive

OVH frequently declines orders from outside the US, Canada, EU, UK, Australia, and New Zealand. They run automated fraud checks and a lot of legitimate orders get blocked. There's no warning before you sign up — you only find out when your account is suspended. If you live outside those regions, save yourself the frustration and go with Contabo.

Which One Is Right For You?

🌍 Pick Contabo if:

  • You live anywhere in the world
  • You want the best price
  • You don't mind waiting a few hours for provisioning
  • You only need 1–3 EAs running

⚡ Pick OVH if:

  • You're in US, Canada, EU, UK, Australia, NZ
  • You want faster, better hardware
  • You need it provisioned within minutes
  • You're running 5+ EAs or need more grunt

If unsure, just go with Contabo. It works for the vast majority of our customers and you can always upgrade later.

Why You Should Avoid the MQL5 VPS

When you sign up to MQL5.com, MetaQuotes will offer you their own "VPS" service for around $10–15/month. It's not a real VPS. It's a stripped-down virtual machine that hosts your EA — but you can't actually use it.

What's Wrong With It
  • You can't log in. No remote desktop. No file access. No way to see what's actually happening.
  • You can't troubleshoot. If something goes wrong, you're blind. There's no terminal to check, no logs you can read.
  • You can't run multiple terminals. One MT5 instance per VPS, that's it.
  • You can't update settings remotely. Changes have to be made on your home computer first, then "synchronised" to the VPS.
  • Migration is broken. You can't easily move EAs between VPS instances or to a real VPS later.
  • Support is non-existent. MetaQuotes doesn't really do customer support.

A real Windows VPS costs roughly the same — and gives you full control. You can log in any time, install any software, see any log, and troubleshoot anything that goes wrong.

Bottom line: if you're going to pay for a VPS anyway, pay for one you can actually use.

What You Can Actually Do With a Windows VPS

The stuff customers tell us they wish they'd known sooner.

📱 Login from your phone

Microsoft's free Remote Desktop app works on iPhone, iPad, and Android. Check trades, restart MT5, change settings — from a beach in Bali if you want.

🖥️ Run multiple EAs at once

Most customers run 5–10 MT5 terminals on a single VPS. Different brokers, different EAs, all running side by side without conflict.

🌙 Trade while you sleep

The VPS doesn't sleep, hibernate, or get tired. Your EA catches the Tokyo session, the London open, and everything in between.

🔌 Home PC stays off

Stop running your home computer 24/7. Your electricity bill drops, your computer lasts longer, your fans stop screaming.

⚡ Lower latency to brokers

Pick a VPS region close to your broker's MT5 server. Execution improves measurably — fewer slippage issues.

🛡️ Protected from local issues

Power cut at home? Storm knocked out your fibre? Doesn't matter — your VPS is in a hardened data centre with backup generators.

Setup: Do It Yourself, Or Let Us Do It For You

The next 7 steps walk you through the full setup yourself. It's not hard, but it does require a bit of comfort with Windows and MT5. If you've never used Remote Desktop, never installed MT5, and the idea of editing Windows settings makes you nervous — there's an easier path.

🛠️ Let Us Do It For You — Free

  • Buy any EA from CheaperForex
  • Sign up at Contabo or OVH yourself
  • Send us your VPS login
  • We install MT5, install your EA, configure your broker account, and apply all the optimisations below
  • Total time: under an hour
  • Cost: $0 — included with every purchase

Recommended if: you're new to VPS, never installed MT5 before, or just want it done properly without the headache.

📖 Do It Yourself

  • Follow the 7 steps below
  • Then apply the optimisations
  • Total time: ~20 minutes
  • Cost: $0

Recommended if: you're comfortable with Windows, have used Remote Desktop before, and like understanding how things work.

Either path gets you to the same place — your EA running 24/5 on a proper Windows VPS. Pick whichever suits you.

Step 1

Order Your VPS

Sign up with Contabo or OVH and select a Windows VPS plan. Key settings to choose:

Operating System: Windows Server 2019 or 2022 (most providers offer this). Some offer Windows 10 — that works too. Don't choose Linux unless you know what you're doing — MT5 doesn't run natively on Linux.

Location: Pick the city closest to your broker's server. If unsure, London and New York cover most major brokers (IC Markets, Pepperstone, FP Markets, OANDA, Forex.com).

Specs: Minimum 2GB RAM, 1 vCPU, 30GB SSD for a single MT5 instance. The Contabo Cloud VPS 10 (4 vCPU, 8GB RAM) is overkill for one EA but gives you headroom to add more.

After ordering, you'll receive an email with your VPS IP address, username (usually "Administrator"), and password. OVH delivers within 5–15 minutes; Contabo can take a few hours.

Step 2

Connect via Remote Desktop (RDP)

This is how you "log in" to your VPS — it's like looking at another computer's screen through your own.

On Windows: Press the Windows key, type "Remote Desktop Connection", and open it. Enter your VPS IP address, click Connect, then enter your username and password.

On Mac: Download "Microsoft Remote Desktop" from the App Store. Add a new PC, enter your VPS IP, username, and password.

On iPhone/Android: Download "RD Client" (Microsoft Remote Desktop). Same process — add a PC with your VPS IP and credentials.

IP Address: 185.xxx.xxx.xxx (from your provider email) Username: Administrator Password: (from your provider email)
💡 Pro Tip

Change the default password immediately after first login. Right-click the Start menu → Computer Management → Users → right-click Administrator → Set Password. Use a strong password — your VPS is internet-facing.

Step 3

Install MetaTrader 5

Once connected to your VPS, open the browser (Edge is pre-installed on Windows Server) and download MT5.

Option A — From your broker: Go to your broker's website and download their branded MT5 installer. This automatically connects to their servers.

Option B — From MetaQuotes: Go to metatrader5.com and download the standard installer. You'll add your broker's server manually when logging in.

Run the installer. Accept defaults. It takes about 2 minutes. MT5 will open automatically after installation.

💡 Pro Tip

If you're running multiple EAs on different broker accounts, install separate instances of MT5. During installation, change the install folder to something like "C:\MT5-ICMarkets" and "C:\MT5-Pepperstone" to keep them separate.

Step 4

Log Into Your Broker Account

When MT5 opens, go to File → Login to Trade Account. Enter your account number, password, and select your broker's server from the dropdown. If your broker doesn't appear, click "Add new broker" and type your broker's server name (found in your broker's account emails).

Once logged in, you should see your balance in the bottom-left of the Terminal window and the charts should be loading live data.

⚠️ Important: Enable Auto Trading

Click the "AutoTrading" button in the MT5 toolbar — it should show a green icon (not red). Without this enabled, your EA will load but won't place any trades. This is the single most common mistake people make after setting up a VPS.

Step 5

Install Your EA

If you bought the EA from CheaperForex: Your EA is installed directly from the MQL5 Marketplace through your MT5 terminal. Go to the Market tab in the toolbox at the bottom of MT5, find the EA in your "Purchased" section, and click "Install." It downloads and installs automatically.

If you have .ex5 or .mq5 files: Copy them to the correct folder. In MT5, go to File → Open Data Folder → MQL5 → Experts. Paste the EA files there. Then restart MT5 or right-click in the Navigator panel and select "Refresh."

Your EA should now appear in the Navigator panel on the left side under "Expert Advisors."

💡 Pro Tip

If the EA came with .set files (preset configurations), copy those to File → Open Data Folder → MQL5 → Presets. You'll load them in the next step when attaching the EA to a chart.

Step 6

Attach the EA to a Chart

Open the correct chart for your EA. For example, if your EA trades XAUUSD on M15, open a XAUUSD M15 chart. Then drag the EA from the Navigator panel onto the chart (or double-click it).

A settings dialog will appear with two important tabs:

Common tab: Make sure "Allow Algo Trading" is checked. If the EA needs web requests, check "Allow WebRequest" and add the required URLs.

Inputs tab: This is where you configure lot sizes, risk settings, and strategy parameters. If you have a .set file, click "Load" and select it. Otherwise, enter the developer's recommended settings from the EA's documentation.

Click OK. You should see a smiley face icon in the top-right corner of the chart — this means the EA is active. If it's a frowning face, AutoTrading is disabled or there's an error in the Experts tab.

Step 7

Verify Everything Is Running

Before you disconnect and walk away, check these things:

1. AutoTrading is enabled — green icon in the toolbar, not red.

2. The EA shows a smiley face — top-right of the chart.

3. Check the Experts tab — click the "Experts" tab at the bottom of MT5. You should see initialization messages from the EA. No red error messages = good.

4. Check the Journal tab — this shows all MT5 activity. Look for any errors or warnings.

5. Place a test trade (optional) — if you're on a demo account, manually check that the EA can open and close trades. Some EAs have a "test trade" button on their panel.

Once you're satisfied, you can close the Remote Desktop window. MT5 and your EA will continue running on the VPS. You're live.

🛠️ Or Skip All Of This — We'll Do It For You

When you buy an EA from CheaperForex, full VPS setup is included free. Send us your VPS login and we handle everything:

✓ MT5 installed and configured · ✓ Your EA installed and activated · ✓ Broker account connected · ✓ Auto-restart and auto-login configured · ✓ Sleep mode and screensaver disabled · ✓ Full verification before handover

Free with every EA purchase. No spend threshold.

Browse EAs →

Optimise Your VPS for Performance

A fresh Windows VPS comes with a lot of unnecessary services running. Here's how to squeeze maximum performance out of it for EA trading.

Disable Windows Updates Auto-Restart

Windows Updates are the number one cause of unexpected VPS restarts. Go to Settings → Windows Update → Advanced Options and set active hours to cover the full forex trading week (Sunday 5 PM to Friday 5 PM ET). Better yet, set updates to "Download only, notify to install" so you can control when restarts happen — ideally over the weekend when markets are closed.

Disable Screen Saver and Sleep Mode

Your VPS should never sleep. Go to Settings → System → Power & Sleep and set everything to "Never." Also disable the screensaver in Settings → Personalization → Lock Screen → Screen Saver Settings.

Disable Visual Effects

Right-click This PC → Properties → Advanced System Settings → Performance → Settings. Select "Adjust for best performance." This disables all animations and visual effects, freeing up RAM and CPU for your EA.

Set MT5 to Start Automatically

If your VPS restarts (updates, maintenance), you want MT5 to launch automatically. Press Win+R, type shell:startup, and press Enter. Create a shortcut to your MT5 terminal.exe in this folder. Now MT5 will start automatically on login.

Startup Shortcut

Auto-Start MT5 After VPS Restart

1. Press Win+R → type: shell:startup → Enter 2. Right-click in folder → New → Shortcut 3. Browse to: C:\Program Files\MetaTrader 5\terminal64.exe 4. Name it "MT5 AutoStart" → Finish Your EA will resume automatically after any VPS restart.

Enable Auto-Login

For MT5 to start unattended after a reboot, the VPS needs to auto-login. Run netplwiz from the Run dialog, uncheck "Users must enter a user name and password to use this computer," and enter your credentials. Now the VPS logs in automatically after restarts, which triggers the MT5 startup shortcut.

Pre-Launch Checklist: Before You Walk Away

  • VPS IP, username, and password saved securely
  • Default password changed to something strong
  • MT5 installed and logged into broker account
  • AutoTrading enabled (green icon in toolbar)
  • EA installed and showing in Navigator panel
  • EA attached to correct chart with correct timeframe
  • EA shows smiley face — no errors in Experts tab
  • Correct settings or .set file loaded
  • Lot sizes appropriate for account balance — use the lot size calculator
  • Windows auto-restart disabled or scheduled for weekends
  • Screen saver and sleep mode disabled
  • MT5 added to Startup folder for auto-restart recovery
  • High-impact news events checked on economic calendar
  • Remote Desktop tested from phone (can check in anytime)

Related Free Resources

Frequently Asked Questions

How much does a forex VPS cost?

For a Windows VPS suitable for MT5 trading, expect around $14/month all-in (Contabo Cloud VPS 10 with Windows Server, 12-month plan). OVH starts at $16–22/month depending on your region. Anything cheaper than this is usually a Linux VPS, an underpowered shared server, or an unreliable provider — not worth the risk to a trading account.

Can I run multiple EAs on one VPS?

Yes. A 2GB RAM VPS can comfortably run 2–3 MT5 instances with one EA each. The Contabo Cloud VPS 10 (8GB RAM) handles 5–10 MT5 instances easily. Each MT5 instance uses about 300–500MB of RAM depending on the number of charts open and how resource-intensive the EA is. Monitor your RAM usage in Task Manager for the first few days.

What happens if my VPS restarts?

If you've set up MT5 to auto-start (covered in the optimisation section), MT5 will relaunch automatically after a restart. Your EA will re-initialise and continue trading. Any trades that were open before the restart will still be there — they live on the broker's server, not your VPS. The only risk is unmanaged trailing stops during the downtime.

Do I need a VPS for every broker account?

No. You can run multiple MT5 instances on the same VPS, each logged into a different broker. Just install MT5 multiple times in different folders. One VPS with 8GB RAM (like the Contabo Cloud VPS 10) can handle 5+ broker connections comfortably.

Can I check my VPS from my phone?

Yes. Download the Microsoft Remote Desktop app (free on iOS and Android). Add your VPS using the same IP, username, and password. You can check your charts, EA status, and account balance from anywhere. This is one of the things customers love most after switching from a home PC setup.

Should I use Windows or Linux for my VPS?

Windows. MetaTrader 5 is a Windows application. While it's technically possible to run MT5 on Linux using Wine, the MQL5 marketplace integration breaks (EA installation, license activation, and updates rely on a Windows component called WebView2). Some providers charge slightly more for Windows (the license cost adds about $9–10/month), but it's the only sensible option for EA trading.

What about the MQL5 VPS — is it any good?

No. We've covered this in detail above, but the short version: it's not a real VPS. You can't log into it, can't troubleshoot, can't run multiple EAs, and migration is a nightmare. A real Windows VPS costs roughly the same and gives you full control. Pay for one you can actually use.

Can someone set up the VPS for me?

Yes — when you buy an EA from CheaperForex, VPS setup is included free. Sign up with Contabo or OVH yourself, send us your VPS login, and we'll install MetaTrader 5, install your EA, configure your settings, and verify everything is running correctly. The VPS account stays in your name with your billing — we just handle the technical setup.

My EA works at home but not on the VPS. What's wrong?

Common causes: AutoTrading not enabled on the VPS instance, the EA license is tied to your home computer's hardware ID (contact us if it's a CheaperForex EA), DLLs are blocked (check the EA's Common tab settings), or the chart is set to the wrong symbol suffix (some brokers use EURUSD.raw instead of EURUSD). Check the Experts tab for specific error messages.

Your VPS Is Ready. Now Get the Right EA.

Premium Expert Advisors at 50–75% below MQL5 prices. Installed directly from MQL5 with free lifetime updates. VPS setup included free with every purchase.

Explore CheaperForex →