MQL5 Virtual Hosting vs a Windows VPS for MT5 EAs

MQL5 hosting is the easy option for one account and a self-contained EA. If you need DLLs, several brokers or outside tools, you need your own Windows VPS.

dns WindowsVPS Team calendar_today schedule5 min read
MQL5 Virtual Hosting vs a Windows VPS for MT5 EAs
tocOn this page 6 sections
  1. How the Built-In Hosting Works
  2. When Your Own Windows VPS Makes More Sense
  3. Side-by-Side Checklist
  4. Checking a VPS Before You Move EAs
  5. Using Both
  6. FAQ

MQL5's built-in virtual hosting works well when you run one trading account with a self-contained Expert Advisor that needs no DLLs, outside programs or hands-on monitoring. Pick your own Windows VPS when you need several terminals or brokers, DLL imports, trade copiers, Python or webhook bridges, or full control over the machine. In short, the built-in host is a sealed box that runs one terminal, and a VPS is a whole Windows server that you run yourself.

How the Built-In Hosting Works

You rent the hosted terminal from inside MetaTrader. In the Navigator, right-click the trading account and choose Register a Virtual Server. The terminal chooses a hosting location close to your broker's trade server. You then migrate your environment. Your local terminal sends its open charts, attached EAs and their inputs, indicators and terminal settings to the hosted copy, and that copy runs them.

The hosted terminal has no desktop. You can't log in to it, open a chart there or change a setting directly. You make every change on your local terminal and then migrate again. To check what it's doing, open the hosting journal from the same Navigator menu.

Built-in limits that decide the question

  • One trading account per subscription. Five accounts means five subscriptions, each managed separately.
  • No DLL imports. Any EA or indicator that calls a DLL won't work there. This rules out many commercial EAs, licence checkers and bridges.
  • No outside software. Trade copiers, Python scripts using the MetaTrader5 package, news filters, VPN clients and monitoring agents can't run next to the terminal.
  • Changes need a new migration. If you change an input locally and forget to migrate, the hosted copy keeps trading the old settings.

When Your Own Windows VPS Makes More Sense

On your own VPS you get a full Windows Server desktop over RDP. You can install as many MT4 and MT5 terminals as the RAM allows, each in its own folder, and connect to as many brokers as you like. DLL-based EAs work. A local trade copier can link a master terminal to prop firm accounts. A small web service can take TradingView alerts and pass them to MT5. You can also watch the box with PowerShell.

The cost is upkeep. You handle Windows Update reboots, auto-starting terminals, backups and security. Our MetaTrader 5 on a Windows VPS setup guide covers the base install. For details on picking a plan and location, see our Windows VPS for forex trading page.

Side-by-Side Checklist

  1. Accounts: one account suits either option. Two or more usually favour a VPS.
  2. DLLs or outside tools: if you need any, you need a VPS.
  3. Visual checks: if you want to look at live charts, a VPS lets you. The built-in host only gives you logs.
  4. Admin time: if you don't want to touch Windows, the built-in host wins.
  5. Latency: both can be placed near the broker. On a VPS you pick the data center yourself.

Checking a VPS Before You Move EAs

Before you move live EAs to your own VPS, measure the latency to your broker from that VPS. Many trade servers block ping, so time a TCP connect from PowerShell instead. Use the host name and port from your broker's server settings (often 443):

$sw = [Diagnostics.Stopwatch]::StartNew()
$c = New-Object Net.Sockets.TcpClient
$c.Connect('trade.yourbroker.example', 443)
$sw.Stop(); $c.Close()
"Connect time: $($sw.ElapsedMilliseconds) ms"

Run it several times and ignore the first result, because it includes DNS lookup. Once the terminals are running, list them with their memory use so you can size the plan:

Get-Process terminal64, terminal -ErrorAction SilentlyContinue |
  Select-Object Id, Path, StartTime,
    @{n='RAM_MB';e={[math]::Round($_.WorkingSet64/1MB)}}

A lightly loaded MT5 terminal with a few charts usually uses a few hundred MB. Heavy tick-data EAs and many open charts push that higher. For planning several terminals, see sizing a Windows VPS for multiple MT4 and MT5 terminals.

Close the reboot gap

The built-in host restarts the terminal for you. On your own VPS, a Windows Update reboot leaves MetaTrader closed until something starts it again. Set an auto-logon account, and either add each terminal to that account's startup or create a scheduled task that runs at logon. Our guide to auto-restarting MT4 and MT5 after update reboots covers both methods. Also set active hours under Settings > Windows Update > Advanced options, or the matching Group Policy, so restarts happen when the market is closed.

Using Both

Some traders run both. They keep a simple single-account EA on the MQL5 host, and they run copiers, DLL-based strategies and research terminals on a VPS. Never run the same EA on the same account in both places. Duplicate instances will open duplicate orders. When you hand an account to the built-in host, turn off Algo Trading in the local or VPS terminal that started the migration, or close that terminal.

FAQ

Can I log in to the MQL5 hosted terminal over RDP?

No. It has no desktop. You manage it only from your local MetaTrader through migration and the hosting journal. If you want RDP access to the terminal, you need your own VPS.

Will my DLL-based EA run on MQL5 hosting?

No. DLL calls are blocked in the built-in hosting, so the EA will fail or refuse to start. Run it on a Windows VPS where you control the terminal's settings.

Do I need to keep my PC on after migrating?

No. Once the migration finishes, the hosted copy trades by itself. You only need your PC again to change settings and migrate again.

Run this on your own Windows VPS

Get a Windows VPS from WindowsVPS in about 60 seconds, with full Administrator access over RDP, NVMe storage and the Windows license included.

Buy a Windows VPS →

dns

Written by the WindowsVPS Team

We run Windows Server VPS hosting and write these guides from the same setups our customers use: RDP, PowerShell, trading terminals and always-on bots. Questions about a guide? Contact us.

About WindowsVPS Windows VPS guides All articles

Ready to deploy your server?

Windows or Linux VPS — up and running in under 60 seconds.