Guide · MetaTrader
Do you need a VPS for your trading robots?
A robot only trades while its MetaTrader is open and connected. If your computer shuts down, goes to sleep or loses internet, the EA stops. That's what a VPS is for.
What it is
A computer in the cloud that's always on. You install MetaTrader there with your EAs; it keeps running even when you turn yours off.
When it's worth it
- Your robots trade at night or hold positions for several days.
- Your computer shuts down, updates or goes to sleep on its own.
- You trade with a prop firm, where a stopped EA with open positions can cost you the daily limit.
- Your strategy is sensitive to latency, like a scalper.
What to check when choosing one
- Location: close to your broker's server (London, New York, Amsterdam…) so orders arrive sooner.
- Memory: each open terminal uses RAM; count how many you'll run.
- Operating system: MetaTrader needs Windows.
- Stability: scheduled restarts, backups, support.
MetaTrader also offers its own paid virtual hosting, built into the terminal.
A VPS doesn't fix everything
If the terminal closes, disconnects or is left with Algo Trading switched off, the robot stops all the same. What matters is finding out fast, not the next day.
How much machine you need
As a guide, each MetaTrader 5 terminal takes up several hundred megabytes of memory; the more charts it has open, the more it uses.
- 1 or 2 terminals: 2 cores with 4 GB is usually enough.
- 4 to 6: better 4 cores with 8 GB.
- More than 8: 16 GB or more, keeping an eye on the processor.
Close the charts you don't use; reduce the max bars in history. Memory use drops a lot.
Latency in perspective
It's the time an order takes to reach the broker's server, measured in milliseconds. MetaTrader shows it in the bottom right corner.
For a system on one-hour candles, 5 or 50 ms makes no difference. For a scalper going after a few pips, that gap does show in the entry price.
Make it restart-proof
- Set up automatic Windows login.
- Add each terminal to the startup programs.
- Leave the "Algo Trading" button switched on before leaving the remote desktop.
- Schedule system updates for the weekend.
Disconnect from the remote desktop without signing out of the user session. If you sign out, the terminals close with it.
Basic security
- A long password, different from your email one.
- Remote access limited to your IP, when the provider allows it.
- A backup of the terminal profiles along with each EA's inputs.
If a robot sits idle after a restart, go through what to check when an EA isn't opening trades.
Frequently asked questions
Do I need a VPS to run an EA?
No. An EA only needs the terminal to be open and connected while the robot trades. A VPS simply guarantees that 24 hours a day.
How much does a trading VPS cost?
The price of a trading VPS depends on the memory, as well as the number of cores. There are basic options for a few euros a month; machines for many terminals cost quite a bit more.
Can I run multiple MetaTrader terminals on one VPS?
Yes. Each installation goes in its own folder, with its own account. The limit is set by the available memory.