Skip to content
  • Licensed software only

Guide

Choosing a VPS for Expert Advisors: latency, specs and what actually matters

How to pick a virtual server for automated trading: why location beats raw specifications, how much RAM and CPU a terminal really needs, and the operational details that cause missed trades.

7 min readPublished

An Expert Advisor only works while its terminal is running. Close the laptop, lose the Wi-Fi or let Windows install an update overnight and the EA stops managing its positions — sometimes with trades still open. A virtual private server solves this by running the terminal on a machine that never sleeps. This guide covers how to choose one, what to ignore in the marketing, and the operational details that cause missed trades even on good hardware.

Do you need one at all?

You need a VPS if your strategy must react while you are away from the computer: anything holding positions overnight, any scalper that manages stops tick by tick, and anything running on a prop-firm account where a missed stop can breach a daily-loss rule. You probably do not need one if you run a single signal indicator that you check manually, or if you only trade a session you are awake for and your desktop is reliable.

Before renting anything, check whether your broker offers free VPS hosting. Many do, usually on the condition that you maintain a minimum balance or a monthly volume. That hosting is normally in the same data centre as the trade server, which makes it a strong default. MetaQuotes also sells a VPS from inside the terminal (Tools → Virtual Hosting) that migrates your charts and EAs automatically; it is convenient, though it hosts the terminal's trading environment rather than giving you a full desktop you can install other software on.

Location matters more than specifications

The single most useful property of a trading VPS is network distance to your broker's trade server. Latency is the delay between your terminal sending an order and the server acting on it; on a busy news release, the difference between 2 ms and 120 ms can be several points of slippage on a scalping strategy, and it decides whether a pending order is filled at all.

Find out where your broker's servers are. Most retail forex infrastructure sits in one of a few facilities: Equinix LD4/LD5 in Slough for London, NY4 in Secaucus for New York, TY3 in Tokyo, and SG1 in Singapore. Your broker's support team will tell you, and the terminal itself shows a live figure: the bottom-right status bar displays your ping to the current trade server, and Navigator → Accounts lets you compare servers. Pick a VPS in the same city as the trade server, and if the provider names the facility, the same facility.

A 100 ms improvement in latency is worth far more to a scalper than doubling the CPU. For a swing EA that acts once or twice a day on closed candles, latency barely matters and you can choose on price and reliability instead. Product pages on this site state whether a tool is latency-sensitive; if you are unsure, the scalping category is the group where it matters most.

Realistic specifications

Terminals are lighter than hosting companies suggest. As a working baseline:

  • One terminal, a handful of charts: 2 vCPU, 2 GB RAM, 40 GB SSD.
  • Two or three terminals, or one with many charts and heavy indicators: 2–4 vCPU, 4 GB RAM.
  • Four or more terminals, or optimisation runs on the VPS: 4+ vCPU, 8 GB RAM.

Two details matter more than the headline numbers. First, MT4 is a 32-bit application and cannot use more than about 2 GB of memory per instance no matter how much the server has; if you are running many charts, run several terminals rather than one enormous one. MT5 is 64-bit and scales better — one of the practical differences covered in MT4 vs MT5. Second, insist on SSD or NVMe storage. Terminals write tick history and logs constantly, and on spinning disks or heavily oversubscribed storage the terminal stalls exactly when the market is busiest.

Be sceptical of "unlimited" or suspiciously cheap plans. A $3 server sharing one physical core with forty other tenants will show good idle benchmarks and then freeze during a news release, which is the only moment you cared about. Ask whether CPU is dedicated or shared, and whether the provider oversubscribes RAM.

Operating system and licensing

MetaTrader is a Windows application, so the straightforward choice is Windows Server — most trading VPS plans bundle the licence in the price. Check it is included rather than added later. Windows Server 2019 or newer is fine; anything older is a security liability.

You can run the terminal on Linux under Wine, and some providers sell that as a cheaper option. It works, but you are debugging two systems instead of one when something breaks, and a few tools that depend on Windows DLLs will not run at all. Unless you are comfortable maintaining Wine, pay for Windows.

Uptime, reboots and what the SLA really promises

Look for a published uptime commitment of 99.9% or better, which allows about 43 minutes of downtime a month. Then read what happens when it is missed: most SLAs offer service credits, not compensation for a trade that did not close. No hosting contract will cover trading losses, which is why the operational habits below matter.

Ask specifically about maintenance windows and whether the provider reboots hosts without notice. A reboot is not merely downtime: when Windows comes back, the terminal will not restart unless you have configured it to, and an EA that was managing an open position resumes only when the chart reloads. Set the terminal to start with Windows, enable automatic login, and confirm that Tools → Options → Expert Advisors → Allow algorithmic trading survives a restart. Then test it — reboot the VPS deliberately and watch the terminal come back with the EA smiley face on the chart.

Setting it up so it keeps running

  1. Install the terminal from your broker's own download link, not a third-party mirror.
  2. Log in, then install your tool following the installation guide and attach it to the chart with algorithmic trading enabled.
  3. Set Windows Update to notify rather than restart automatically, and schedule any restart for the weekend.
  4. Disconnect from the VPS with Log off only if the terminal is configured to keep running; closing the remote-desktop window leaves the session active, which is what you want.
  5. Enable the terminal's email or push notifications so you hear about disconnections. MT4 and MT5 can both send push alerts to the mobile app using your MetaQuotes ID.
  6. Keep a local copy of your set files and licence details. If you have to rebuild the server, you want the configuration to hand — see preparing a set file for a new broker.

Costs and how they compare

A competent trading VPS in a major financial data centre costs roughly $15–40 a month for the specifications above; bargain plans exist below that and are usually shared too heavily to trust. Judge the cost against the size of the account you are protecting: on a $5,000 account, $25 a month is half a percent a year for removing an entire class of failure. On a $200 account it is not proportionate, and you would be better off trading a session you are awake for until the account grows.

Some of our tools carry a VPS recommended tag for exactly this reason — they manage trades continuously and are not designed to be switched off mid-position. The tag is informational, not a requirement, and every product page states its intended operating pattern.

Common mistakes

Three failures account for most of the support tickets we see. Running the terminal on a machine in the wrong hemisphere from the broker, and then blaming the EA for slippage. Letting Windows reboot for updates with no automatic terminal restart, so the EA is absent for hours. And running out of memory by loading thirty charts into one MT4 instance, which makes the terminal unresponsive rather than visibly broken. Each is cheap to avoid and expensive to discover live.

Finally, treat the VPS as part of the strategy, not an afterthought: test on a demo account hosted the same way you intend to trade. A week of demo trading on the actual server tells you more about your setup than any specification sheet, and if something is wrong, troubleshooting Expert Advisors covers the diagnostics. If you are still unsure which plan fits your tool, contact support with the product and your broker's server name and we will tell you what we would choose.

All guides