Skip to content

AS213941 · Peering-20% on all VPS with code NVH20 · Delivered in 60 seconds

VPS & Cloud

Ranges

Linux NVMe VPSRoot access, Debian, Ubuntu, Alma…Windows RDP VPSRemote desktop, licence includedDedicated serversIntel Xeon Gold, exclusive resourcesPterodactyl VPSGame panel preinstalled

Professionals

Reseller VPSA pool of resources to splitReseller programmeDiscounts and partnershipColocationYour hardware in a Digital Realty datacenter

Locations

Solutions

Bots and automation

AI agents VPSClaude Code, Codex, OpenClaw, HermesTelegram bot VPSBot online 24/7, polling or webhookDiscord bot VPSdiscord.js, discord.py, Lavalinkn8n VPSYour self-hosted automationsVPN VPSYour own WireGuard or OpenVPN

Trading

Forex VPSTrading robots running 24/7MetaTrader 4 VPSMT4 and Expert AdvisorsMetaTrader 5 VPSMT5, multi-asset, multi-terminalNinjaTrader VPSNinjaTrader 8 and automated strategies

Windows RDP

Windows 10 VPSFull Windows 10 desktopWindows 11 VPSThe latest version of WindowsWordPress VPSFast sites on NVMe
Gaming

Game servers

FiveM servertxAdmin, ESX, QBCoreMinecraft serverJava, Bedrock, modpacksRust serverOxide, Carbon, wipesNova-Life serverNova-Life: Amboise RP

Protection and tools

FiveM Anti-DDoSFiltered proxy for FiveM serversPterodactyl VPSHost several gamesFree toolsCalculator, server.cfg, wipes
Network & Web

Network and security

Anti-DDoSGCore filtering up to 200 TbpsIP transitConnectivity and BGP announcementsVPNEncrypted connection and dedicated IPColocationColocation at Digital Realty Paris

Web

Web hostingPlesk, SSL and email includedWordPress VPSWordPress on NVMe VPS
Resources

Learn

DocumentationStep-by-step guidesBlogTutorials and newsToolsCalculators and generators

Assistance

ContactTicket, chat and emailSLA commitmentGuaranteed availabilityClient areaManage your services
View plans Client area Peering · AS213941

VPS · Trading

How to install MetaTrader 4 or 5 on a Windows VPS, step by step

By NVHCloud Team 2 October 2026 8 min read

A trading robot is useless if it stops when your computer shuts down. A Windows VPS keeps MetaTrader running around the clock on a stable connection, and you only connect when you need to. Here is the full setup, and the settings that prevent unpleasant surprises.

1. Why a VPS for MetaTrader

An Expert Advisor only places orders while the terminal is open and connected. On a home computer, sleep mode, a router outage or an update is enough to interrupt it at the worst moment. A VPS stays on permanently, in a data center, with redundant power and connectivity.

2. Which plan to choose

MetaTrader is light, but Windows Server already uses 1.5 to 2 GB of memory. Plan on 4 GB for one or two terminals, and 8 GB if you run several or follow many charts. Our Windows VPS start at €2.99 a month, and the 4 GB plan is €5.99.

3. Install the terminal

  1. Connect to the VPS with Remote Desktop (see our guide connecting with Remote Desktop).
  2. Open the server's browser and download MetaTrader from your broker's website: that version comes preconfigured with the broker's trading servers.
  3. Run the installer, then open the terminal.
  4. Log in to your account: account number, password and broker server, as given in your account-opening email.
Several accounts?

Install each terminal in its own folder. Started with the /portable option, a terminal keeps its data in its own folder, so two instances do not get in each other's way.

4. Enable your Expert Advisors

  1. Copy your robot into the MQL4\Experts or MQL5\Experts folder: File menu, “Open Data Folder”.
  2. In Tools, Options, Expert Advisors tab, allow algorithmic trading.
  3. Switch on the automated trading button in the toolbar, called AutoTrading on MT4 and Algo Trading on MT5.
  4. Drag the robot onto the chart and check the icon confirming it is active.

5. Keep it running 24/7

Once the robot is set up, simply close the Remote Desktop window. Your session stays open on the server and MetaTrader keeps running. Never use “Sign out” from the Start menu: the session would close, and the terminal with it.

6. Restart MetaTrader after a reboot

To make the terminal start on its own when the session opens, put a MetaTrader shortcut in the Windows startup folder:

shell:startup

Type this command in the Run box (Windows + R), then drop the shortcut into the folder that opens. After a server reboot, connect once with Remote Desktop to reopen the session: the terminal then starts automatically.

7. Keep Windows updates under control

Windows updates sometimes restart the server. To keep them away from trading hours, schedule restarts outside market hours, ideally at the weekend, and check after each reboot that the terminal and the robot are running again.

8. Reduce latency to your broker

MetaTrader shows the ping to your broker's server in the bottom-right corner of the window. The lower it is, the faster your orders arrive. So host your VPS as close as possible to your broker's servers: many are in London or New York. Our VPS are available in France, Germany, the United Kingdom, the United States and Canada: compare the displayed ping, it is the only number that matters.

Frequently asked questions

How much RAM does MetaTrader need on a VPS?

4 GB for one or two terminals, 8 GB if you open several or follow many charts. Windows Server alone uses 1.5 to 2 GB.

Does MetaTrader keep running when I disconnect from the VPS?

Yes, if you close the Remote Desktop window. If you choose “Sign out” from the Start menu, the session closes and MetaTrader stops.

Where should I host my trading VPS?

As close as possible to your broker's servers, often in London or New York. Compare the ping shown in the bottom-right corner of MetaTrader from each location.

Connect to a Windows VPS with Remote Desktop

From Windows, Mac, Linux, iPhone and Android.

Windows 10 or 11 on a VPS?

Why hosts offer Windows Server instead.

Windows VPS

Remote desktop and licence included, from 2,99 €/month.