CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. Most retail investor accounts lose money when trading CFDs. PipTax is educational and compares costs; it is not investment advice.

HomeLearn › Tutorials

How to Keep MetaTrader Running 24/7 on a VPS

Updated 14 July 2026 · 8 min read · PipTax education

Illustration of a server rack connected to trading charts representing a VPS running MetaTrader

Running MetaTrader on a VPS is the standard way to keep expert advisors and pending orders working around the clock, without leaving your home PC on and hoping your internet doesn't drop. This guide covers picking a location, measuring real latency, hardening remote access, and setting things up so MetaTrader genuinely runs unattended — plus an honest look at what "low latency" actually changes for a retail trader.

Why Run MetaTrader on a VPS at All

A Virtual Private Server is a remote Windows machine you rent, install MetaTrader on, and connect to via Remote Desktop (RDP). Once it's set up, it keeps running whether your laptop is on, asleep, or off.

Reasons traders use a VPS:

What a VPS does not do is improve your spread, commission, or the price your broker fills you at. Those are commercial terms — check them properly using the cost tool at /audit.html rather than assuming a fast VPS buys you a better deal.

Choosing a VPS Location: Proximity Matters

Latency is mostly a function of physical distance and network hops, so where your VPS sits matters more than its CPU spec for most retail EA use cases.

Many FX liquidity venues and broker infrastructure cluster around a handful of major data centre hubs — Equinix LD4 in Slough is one of the best known, hosting infrastructure for numerous London-linked trading venues and brokers. If your broker's trade servers are hosted in or near London (common for UK-regulated firms), a VPS in or very near London is usually the sensible default.

Practical steps:

1. Ask your broker (or check their platform/server list) roughly where their trade servers are hosted — Pepperstone's MetaTrader server list and IG's platform documentation both give you server names you can look up. 2. Choose a VPS provider with a data centre in that same city or region. 3. Avoid picking a VPS location based on price alone — a cheap VPS on another continent from your broker's servers can add far more delay than it saves. 4. If you trade with brokers in multiple locations, consider whether you need separate VPS instances near each.

Measuring Real VPS-to-Broker Latency

Don't trust a VPS provider's marketing latency figures — measure it yourself once MetaTrader is installed and connected.

In MetaTrader (MT4/MT5):

From Windows, inside the VPS:

What to look for:

| Reading | What it suggests | |---|---| | Consistent low ping, few hops | VPS is well-placed relative to broker infrastructure | | High ping, many hops | VPS location or provider routing is working against you | | Variable/spiky ping | Network congestion — worth trying a different VPS provider or plan |

Hardening Remote Access Before You Leave It Running

A VPS running MetaTrader unattended, reachable over the open internet via RDP, is a target if you don't lock it down.

None of this is exotic — it's the same basic hygiene as securing any remote machine, but it's easy to skip when you're focused on getting an EA running.

Setting Up MetaTrader for True 24/7 Operation

Getting MetaTrader onto the VPS is the easy part; making it survive reboots and reconnect automatically is what actually delivers "24/7."

What Low Latency Does and Doesn't Buy You

This is the part worth being honest about. A well-placed VPS can shave meaningful milliseconds off the trip between your terminal and your broker's server. But "sub-millisecond" marketing language usually describes the distance between servers inside a data centre, not what a retail trader experiences end to end.

For most retail accounts, the bigger factors in your actual trading outcome are:

A VPS near Equinix LD4 helps you get a clean, fast, reliable connection to brokers like Pepperstone or IG — it does not turn a retail account into an institutional co-located one. Treat MetaTrader on a VPS as an uptime and reliability tool first, and a minor latency improvement second.

Conclusion

Setting up MetaTrader on a VPS properly means choosing a location close to your broker's servers, measuring latency yourself with the Journal and ping/tracert rather than trusting marketing claims, locking down RDP before leaving it unattended, and configuring auto-start so a reboot doesn't quietly kill your EA. Do that, and you get a genuinely reliable 24/7 setup — just don't expect it to replace checking your actual trading costs, which is what the cost tool at /audit.html and the broker pages at /brokers/index.html are for.

Key takeaways

  • Running MetaTrader on a VPS keeps EAs and pending orders active when your own PC or internet connection is off, but it does not change your broker's spread or commission.
  • Pick a VPS location close to your broker's trade servers — many FX venues co-locate around Equinix LD4 in Slough, so a London-based VPS is usually a sensible default for UK-facing brokers.
  • Measure real latency yourself using the MT4/MT5 Journal's ping figures, plus Windows ping and tracert from inside the VPS — don't rely on marketing claims.
  • Harden RDP access with a strong password, non-default port, and IP-restricted firewall rules before you leave MetaTrader running unattended.
  • Set MetaTrader and your EAs to auto-start after reboot, and enable auto-login on the VPS so a routine restart doesn't stop your trading.
  • Sub-millisecond marketing claims mostly describe distance to the matching engine — your broker's order handling, bridge, and spread usually matter more to your actual results.
Want the real number for how you trade? Audit your MT4/MT5 statement free — see your true all-in cost and the genuinely cheapest broker for your style.

Frequently asked questions

Do I need a VPS to run MetaTrader 24/7?
Not strictly — you could leave a home PC on permanently — but a VPS gives you more reliable uptime, redundant power and network connections, and the option to place the server physically closer to your broker's infrastructure.
Will a VPS near London definitely improve my execution?
It can reduce the network latency between your terminal and your broker's trade servers, which helps consistency, but it won't change your broker's spread, commission, or order handling — check those separately via the cost tool.
How do I check my MT4 or MT5 ping to the broker?
Open the Journal tab in MetaTrader while connected — it typically logs or displays a ping value in milliseconds. You can cross-check this with a Windows ping command to the broker's server hostname from inside the VPS.
What is Equinix LD4 and why does it matter for forex?
Equinix LD4 in Slough is a major data centre hub where many financial and liquidity venues co-locate their servers. Brokers with trade servers hosted near there make a London-based VPS a sensible choice for lower network latency.
Is a cheap VPS good enough for running an EA?
It can be, but check the data centre location matches your broker's server region, and confirm the provider offers reasonable CPU/RAM for MetaTrader plus any EAs you run — cheap and badly located is worse than a modestly priced VPS in the right city.
How do I make sure MetaTrader restarts automatically after a VPS reboot?
Enable Windows auto-login on the VPS, place MetaTrader in the Startup folder or set it via Task Scheduler, and test a full manual reboot yourself to confirm the terminal and your EA resume without intervention.

Keep going: Audit Index Methodology Index