A trading VPS (virtual private server) is a computer in a data center that stays on 24 hours a day and runs your trading platform for you. You install MetaTrader and your Expert Advisor on it, and they keep trading with your computer switched off, usually closer to your broker’s servers and with lower latency.
Below: what it is exactly, why an Expert Advisor practically needs one, what latency is and how much it matters, what it costs, and how MetaTrader’s own VPS compares with a third-party one.
What is a VPS?
A VPS is a slice of a physical server that behaves like your own computer: it has its own operating system (usually Windows, for MetaTrader), it’s switched on 24 hours a day and you connect to it remotely. When traders talk about “VPS trading”, they mean exactly that: running the platform on one of these servers instead of on their own computer, so it keeps going even if they turn off their machine or their internet connection drops.
It isn’t a trading-only service: it’s used to host websites, apps or anything else that needs to be available all the time. For a trader, that’s exactly the appeal: continuity that doesn’t depend on your home setup.
Why an Expert Advisor needs a VPS
An Expert Advisor only trades while MetaTrader 5 is open and connected. If you run it on your laptop and switch it off at night, the robot stops watching the market. And here’s the problem with gold: XAU/USD moves almost 24 hours a day, five days a week. An opportunity (or an important exit) can come along while you’re asleep.
These are the concrete risks of trading without a VPS:
- Power or internet outages: if your computer shuts down, an open position is left without the monitoring the robot was supposed to give it.
- Restarts and updates: your operating system decides to update itself at 3 a.m. and closes MetaTrader.
- Latency: a good VPS is usually physically close to the broker’s servers, which cuts the delay between the decision and the execution.
Latency: what it is and how much it matters
Latency is the time an order takes to travel from your platform to the broker’s trade server, measured in milliseconds (ms). From a home connection it’s usually tens of milliseconds, and it can go past 100 ms if the broker’s servers are far away. Many brokers keep their servers in large financial data centers, such as those in London or New York, and trading VPS providers place their machines in the same places. MetaQuotes, for example, says its own VPS reaches 84% of broker servers in under 3 ms.
How much that matters depends on the strategy. For scalping or trading around news releases, a few milliseconds can change the price you get. For an Expert Advisor that makes its decisions on hourly candles, latency is a minor factor and what really counts is that the platform never switches off. A VPS doesn’t remove spread or slippage either; it only shortens the trip.
In MetaTrader 5 you can check it in the connection indicator in the bottom-right corner: clicking it lists the broker’s servers with their ping in milliseconds, and “Rescan servers” looks for the fastest one again.
What to look for in a trading VPS
- Proximity to your broker (latency): look for a VPS whose data center is close to your broker’s. Many providers advertise their latency to the most common brokers.
- Uptime: it should guarantee 99.9% or higher. That’s what you’re paying for: a server that doesn’t go down.
- Enough resources: MetaTrader 5 with an EA isn’t demanding. 2 GB of RAM and a couple of CPU cores are usually enough for one or two instances; if you’re going to run several, move up a tier.
- Operating system: most traders use a Windows VPS so they can run MetaTrader comfortably.
MetaTrader’s own VPS costs 15 USD a month on the monthly plan and about 10 USD a month on the 12-month plan, before VAT. Windows VPS plans from specialist providers usually run from about 10 to 30 USD a month for one MetaTrader with an EA, depending on resources and billing period, and some brokers offer a free or discounted VPS if you meet a minimum balance or trading volume. It won’t be your biggest investment, but it’s one of the most sensible ones if you’re going to trade automatically and continuously.
The MetaTrader 5 VPS: the simplest option
MetaTrader 5 has its own VPS, MQL5 Virtual Hosting. There’s nothing to install and no remote Windows desktop to log in to: you rent it from inside MetaTrader (right-click your account in the Navigator → “Register a Virtual Server”), and MetaTrader copies your charts, with their Expert Advisor, to it. That copy is called a migration. From then on the robot trades in the cloud and you can turn off your computer. That’s why it’s the most convenient route if you use a Mac.
- Price: 15 USD a month plus VAT, a little less on 3-, 6- or 12-month plans (about 10 USD a month on the yearly one). Check the current price in the rental window; some brokers sponsor it.
- Server: MetaTrader picks the one closest to your broker to cut latency.
- What gets copied: the charts that have a robot on them, the robot’s inputs and the WebRequest permission. Scripts don’t get copied, DLLs aren’t allowed, and it doesn’t work with accounts that log in with a one-time password.
- Changes: the VPS has no screen. You make any change in your own MetaTrader and synchronize again.
The AUREUM installation guide walks you through it step by step, with the checklist to go through before migrating.
MetaTrader VPS vs a third-party VPS
Both do the same basic job. The difference is how much control you get and how much setting up you do yourself:
| MetaTrader VPS | Third-party VPS | |
|---|---|---|
| Setup | From inside MT5, in a few minutes | Remote Desktop: you install MT5 and copy your files |
| Access | No screen: you change things locally and sync | A full Windows desktop |
| Accounts | One trading account per rental | Several platforms and accounts, if resources allow |
| Limits | No DLLs; scripts aren’t copied | Whatever you install |
| Price | 10–15 USD a month + VAT | About 10–30 USD a month |
| Suits | One account, Mac users, simplicity | Several accounts or tools beyond MT5 |
If you only run one Expert Advisor on one account, the MetaTrader VPS is usually enough. A third-party Windows VPS makes more sense when you run several platforms, need software that MetaTrader’s VPS doesn’t allow or want to see and manage the desktop yourself.
VPS vs leaving your computer on
Technically, you can leave your own computer on 24/5 with MetaTrader open, and for getting started and running tests that’s perfectly fine. But in the medium term a VPS pays off: it uses less power, doesn’t depend on your electricity supply or your Wi-Fi, and lets you switch off your computer with peace of mind. For serious automated trading, it’s the standard.
How to set up a trading VPS for an Expert Advisor
- Choose the type: MetaTrader’s VPS if you run one account and want the simplest route; a Windows VPS if you need several platforms or a remote desktop.
- MetaTrader VPS: leave the chart with the EA set up and working on your computer, right-click your account in the Navigator → “Register a Virtual Server”, choose the plan and migrate.
- Third-party VPS: connect with Remote Desktop, install MetaTrader 5, log in and install the EA just as you would on your own computer.
- Only one copy trading: once the VPS is running, turn off Algo Trading on your computer, or both copies will trade the same account.
- Check the logs: make sure the VPS journal shows the EA loaded and working before you switch off your computer.
Frequently asked questions
What is VPS trading?
Running your trading platform, usually MetaTrader with an Expert Advisor, on a virtual private server instead of on your own computer, so it stays on and connected 24 hours a day.
Do I absolutely need a VPS to use an Expert Advisor?
It isn’t required for testing: you can run the EA on your own computer. But if you want to trade continuously without depending on your computer being on, a VPS is highly recommended, especially for an asset like gold that moves almost 24 hours a day.
How much power does a VPS need for MetaTrader 5?
For a single MetaTrader 5 instance with one Expert Advisor, 2 GB of RAM and a couple of CPU cores are usually enough. If you plan to run several platforms or several robots at the same time, it’s worth moving up a tier.
What latency should a trading VPS have?
Trading VPS providers aim for single-digit milliseconds to the broker’s server, while a home connection is usually in the tens. Unless you scalp or trade the news, a stable connection matters more than shaving off a few milliseconds.
Can I run the same EA on my computer and on the VPS at the same time?
Not on the same account. Both copies would trade it, which can duplicate trades. Once the VPS is running, turn off Algo Trading on your computer.
Does a VPS improve results or guarantee profits?
No. A VPS only makes sure your platform is always on and connected with low latency. It doesn’t change the strategy or remove market risk; no infrastructure guarantees profits.
AUREUM is built to run continuously
Our gold algorithm comes with its installation guide and instructions for leaving it running reliably, including on a VPS.
Discover AUREUM →