A MetaTrader VPS setup means running MetaTrader 4 or MetaTrader 5 on a remote Windows Server so the trading terminal, Expert Advisors, indicators, and signal tools can stay online even when your personal computer is turned off.
The clean setup is:
Deploy Windows VPS Connect over RDP Install MT4 or MT5 from your broker or MetaQuotes Log in to your trading account Install Expert Advisors / indicators Enable automated trading only after testing Configure startup behavior Keep the RDP session disconnected, not signed out Monitor Journal and Experts logs Back up the MetaTrader data folder
The most important operational rule:
Disconnect from RDP. Do not sign out.
If you sign out of Windows, MetaTrader usually closes because it is a desktop application running inside that user session.
A Windows VPS is useful for MetaTrader because it gives you a remote Windows environment with persistent internet access, full administrator control, and RDP access. It does not guarantee profits, execution quality, broker acceptance, or a specific latency result.
Important trading risk note
This article is technical infrastructure documentation.
It does not provide trading advice, financial advice, investment recommendations, broker recommendations, or strategy recommendations.
A VPS can help keep MetaTrader online. It cannot make an Expert Advisor profitable, remove market risk, prevent slippage, guarantee order execution, or protect against broker-side outages.
Before running any Expert Advisor or signal subscription on a live account:
- test it on a demo account;
- understand the strategy;
- review logs;
- confirm lot sizing;
- check max drawdown behavior;
- verify broker rules;
- understand spread and slippage risk;
- keep your own backups;
- accept that automated trading can lose money.
Infrastructure improves availability. It does not remove trading risk.
Quick verdict
| Situation | Recommendation |
|---|---|
| You run one MT4 or MT5 terminal with one EA | Small Windows VPS is usually enough |
| You run multiple terminals or multiple brokers | Use more RAM and CPU headroom |
| You need lowest possible broker latency | Choose a location close to your broker's trade server and test ping |
| You only need MetaTrader's built-in VPS sync | Consider MetaTrader Virtual Hosting |
| You want full Windows control, RDP, files, scripts, and multiple terminals | Use a Windows VPS |
| You backtest or optimize heavily | Use a stronger VM; optimization is CPU-heavy |
| You run production EAs | Disable random reboots, monitor logs, and keep backups |
| You cannot monitor the account | Do not run live automation unattended |
Simple rule:
MetaTrader built-in VPS = simple EA/signal migration. Windows VPS = full control over the Windows trading environment.
MetaTrader built-in VPS vs Windows VPS
MetaTrader 5 includes built-in Virtual Hosting, which is designed to run trading robots and signal subscriptions 24/7, close to broker infrastructure, with migration from inside the trading platform.
That is different from renting a full Windows VPS.
MetaTrader built-in VPS
MetaTrader Virtual Hosting is useful when you want:
- EA or signal subscription migration from inside MetaTrader;
- minimal server management;
- a setup that is tightly integrated with the MetaTrader platform;
- no Windows desktop administration;
- simple 24/7 operation for one MetaTrader environment.
Trade-off:
- less Windows-level control;
- not designed for general server use;
- less flexibility for custom tools;
- not ideal if you need several terminals, custom file workflows, or full Windows administration.
Windows VPS
A Windows VPS is useful when you want:
- full Windows desktop access;
- RDP control;
- multiple MT4/MT5 terminals;
- custom indicators and EAs;
- broker-specific installers;
- scripts and file automation;
- custom backup process;
- control over Windows updates and startup behavior;
- ability to run other supporting tools.
Trade-off:
- you manage Windows;
- you manage security;
- you manage backups;
- you must keep MetaTrader running correctly;
- latency depends on VPS location, broker server location, routing, and broker execution.
For many traders, the Windows VPS model is easier to understand because it behaves like a remote Windows computer.
MT4 vs MT5 on a VPS
Both MetaTrader 4 and MetaTrader 5 are commonly used on Windows VPS environments.
| Platform | Better fit |
|---|---|
| MT4 | Existing forex EAs, older broker setups, legacy MQL4 tools |
| MT5 | Newer accounts, multi-asset brokers, MQL5 tools, signals, built-in VPS workflow |
| Both | Multi-broker users, migration testing, strategy comparison |
Use the platform your broker supports and your EA requires.
Do not assume an MT4 EA works on MT5.
Do not assume an MT5 EA works on MT4.
The scripting languages, platform behavior, broker symbols, account types, and execution details can differ.
Choosing VPS location
Latency matters for some automated strategies, but it is often misunderstood.
A VPS close to your broker's trading server can reduce network delay between the terminal and broker.
But execution quality also depends on:
- broker server location;
- broker routing;
- liquidity provider;
- account type;
- spread;
- slippage;
- market volatility;
- EA logic;
- order type;
- trade size;
- broker execution model.
Choose a VPS region based on the broker server you actually use, not your home location.
If your broker has servers in New York or nearby US infrastructure, a US-based VPS can make sense.
If your broker server is in London, Frankfurt, Singapore, or Tokyo, test latency carefully before committing.
Inside MetaTrader, check the connection status and ping to the broker server.
Document the number, but do not treat it as a permanent guarantee.
Routing can change.
VPS sizing for MetaTrader
MetaTrader itself is not usually heavy, but multiple terminals, charts, indicators, logs, and strategy testing can use meaningful resources.
Practical sizing:
| Workload | Suggested starting point |
|---|---|
| 1 MT4/MT5 terminal, light EA | 2 vCPU / 4 GB RAM |
| 1-3 terminals, several charts | 2-4 vCPU / 4-8 GB RAM |
| 3-6 terminals, multiple EAs | 4 vCPU / 8 GB RAM |
| Many terminals or heavy indicators | 4-8 vCPU / 8-16 GB RAM |
| Strategy testing / optimization | CPU-optimized VM with more RAM |
| Always-on production automation | Add headroom instead of running at 90% usage |
Storage needs are usually modest, but leave room for:
- platform files;
- logs;
- historical data;
- tester cache;
- screenshots;
- EA files;
- backups.
If you run many terminals, logs and history data can grow over time.
What you will build
Target setup:
Your laptop ↓ RDP Raff Windows VPS ├── MetaTrader 4 or MetaTrader 5 ├── Broker login ├── Expert Advisors / indicators ├── AutoTrading enabled after testing ├── Startup shortcut or scheduled launch ├── Journal and Experts logs └── Backups of the MetaTrader data folder
The VPS stays online even when your laptop is off.
You connect only when you need to check, update, or manage the terminal.
What you'll need
Prepare:
- Raff Windows VPS or similar Windows Server VPS;
- RDP access;
- broker-supported MT4 or MT5 installer;
- broker account login details;
- read-only investor password if someone only needs monitoring access;
- Expert Advisor files if used;
- indicator files if used;
- license keys for purchased EAs if required;
- basic backup plan;
- 30-60 minutes for first setup.
Do not store broker passwords in plaintext files.
Use a password manager.
Step 1 — Deploy a Windows VPS
Deploy a Windows VPS with enough CPU and RAM for the number of terminals you plan to run.
For most users:
2 vCPU / 4 GB RAM
is a reasonable starting point for one terminal.
Use more headroom if:
- multiple terminals run at once;
- several EAs run at once;
- the account uses many charts;
- historical data downloads are large;
- the VPS also runs monitoring tools;
- you backtest or optimize on the VPS.
Choose Windows Server 2022 or Windows Server 2025 based on your broker's MetaTrader installer compatibility.
MetaTrader is a Windows desktop application, so both usually work, but test the broker-specific installer before production use.
Step 2 — Connect over RDP
Open Remote Desktop from your local machine and connect to the VPS.
Use:
Computer: VPS public IP Username: Administrator Password: your Windows VPS password
After login:
- Run Windows Update.
- Reboot if required.
- Reconnect.
- Confirm time zone.
- Confirm internet access.
- Confirm browser download works.
Do not install trading software before the server is patched and stable.
Step 3 — Download MetaTrader
Download MetaTrader from one of these sources:
- your broker's client portal;
- your broker's official MT4/MT5 download page;
- the official MetaTrader 5 download page;
- MetaQuotes or MQL5 resources where appropriate.
Prefer the broker-provided installer when using a live broker account.
Why?
Because broker installers often include the correct server list, branding, and connection configuration.
Avoid random third-party MetaTrader downloads.
They can include outdated builds, wrong broker configuration, or unwanted software.
Step 4 — Install MetaTrader
Run the MT4 or MT5 installer as Administrator.
Use the default install path unless you have a reason to change it.
After installation:
- Open MetaTrader.
- Log in to your broker account.
- Select the correct broker server.
- Confirm the connection status.
- Open the relevant symbols in Market Watch.
- Check the Journal tab for login or connection errors.
If login fails, confirm:
- account number;
- password;
- server name;
- account type;
- broker restrictions;
- MFA or security requirements;
- whether the account is MT4 or MT5.
MT4 credentials do not necessarily work in MT5, and MT5 credentials do not necessarily work in MT4.
Step 5 — Open the MetaTrader data folder
MetaTrader keeps EAs, indicators, profiles, logs, templates, and configuration in the data folder.
In MetaTrader:
File → Open Data Folder
Important folders:
| Folder | Purpose |
|---|---|
| MQL4 or MQL5 | Expert Advisors, indicators, scripts |
| Experts | EA files |
| Indicators | Custom indicators |
| Presets | EA parameter files |
| Profiles | Chart layouts |
| Templates | Chart templates |
| Logs | Platform logs |
| Tester | Strategy tester files |
This folder is the one you should back up before major changes.