EQUILABS
Expert Advisors

How to choose a VPS for your EA: location, ping and specifications

An EA can only trade while MetaTrader is running and connected. A VPS keeps it running around the clock, close to your broker, without depending on your own computer or home internet.

By EQUILABSUpdated 30 October 20263 min read

What a VPS is

A VPS (virtual private server) is a computer in a data centre that you rent and control remotely. It stays on 24 hours a day, has a stable power supply and a fast connection. You install MetaTrader on it, attach your EA, and disconnect; the EA keeps running.

Why an EA needs one

  • Uptime. Your home computer sleeps, restarts for updates, loses power or internet. Each of these stops the EA.
  • Lower delay. A VPS near your broker's server reaches it in a few milliseconds instead of a hundred or more, which reduces slippage on fast entries. This matters most for news trading, as explained in spread and slippage during news.
  • Fewer surprises. You will not miss a release because a laptop was closed.
Illustrative delays. A VPS in the same data centre region as the broker server keeps the EA online and close to the market.

1. Location: close to the broker

What matters is the distance between the VPS and the broker's trading server, not the distance to you. Many brokers host their servers in major financial data centres in cities such as London, New York or Tokyo.

To check:

  1. Log in to your account in MetaTrader on the VPS.
  2. Look at the connection indicator in the bottom-right corner; it shows the ping to the server in milliseconds.
  3. Compare VPS locations if your provider offers several, and choose the one with the lowest stable ping.

As a rough guide, a few milliseconds is excellent, under about 20 to 30 ms is good, and more than 100 ms means the VPS is far from the broker.

2. Specifications: what is enough

For one or two MetaTrader terminals, a small Windows VPS is usually enough:

  • 1 to 2 CPU cores.
  • 2 to 4 GB of RAM. Each terminal with an EA and a few charts uses a few hundred megabytes; more charts and symbols use more.
  • SSD storage with some free space for logs and history.
  • Windows Server or Windows, because MetaTrader is a Windows program.

Add resources if you run several terminals or many EAs. Keep charts to a minimum on the VPS: only the ones your EAs need.

3. Windows VPS or MetaTrader's virtual hosting?

Your own Windows VPS gives full control: you can run several terminals, install updates, and log in to check everything. You manage it yourself.

MetaTrader's built-in virtual hosting (rented from inside the platform) migrates your charts and EAs to a server close to your broker in a few clicks. It is simple, but you cannot log in to it like a normal computer, settings and inputs are copied at the moment of migration, and some EA features, such as certain internet requests or files, may behave differently. Check with the EA developer before using it.

4. Setup checklist

  1. Install MetaTrader from your broker's website, log in and check the ping.
  2. In Tools > Options > Expert Advisors, allow algorithmic trading and add the WebRequest addresses your EA needs.
  3. Copy the EA file into the MQL Experts folder, attach it to the right chart and check the dashboard. Our installation guide shows each step.
  4. Turn off automatic Windows restarts during market hours, or schedule them for the weekend.
  5. Disable sleep and screen savers.
  6. Log out of the remote session by closing the window, not by signing out, so MetaTrader keeps running.
  7. Check the Experts and Journal tabs once a day for errors.

Common mistakes

  • Choosing a VPS close to you instead of close to the broker.
  • Running too many terminals on too little memory, which slows everything down.
  • Signing out of Windows, which closes MetaTrader.
  • Forgetting to restart the EA after a Windows update.

Key takeaways

  • A VPS keeps MetaTrader and your EA running around the clock in a data centre.
  • Choose the location by the ping to your broker's server, shown in MetaTrader's status bar.
  • 1 to 2 CPU cores and 2 to 4 GB of RAM are usually enough for one or two terminals.
  • MetaTrader's virtual hosting is simpler; your own Windows VPS gives more control.
  • Block automatic restarts, avoid signing out, and check the logs daily.

Trading carries a high level of risk and may not be suitable for everyone. This article is for education only and is not financial advice. Past results do not guarantee future results.

Keep reading