···
GUIDES

What Is a VPS for MT5? When You Need One and How to Choose

Thatri.ch · November 13, 2026
Home › Guides

A VPS (Virtual Private Server) is a virtual computer that stays connected to the internet around the clock and that you access remotely. If you run MT5 on it, your terminal stays open even when your own computer is off. This guide explains when you need a VPS and how to choose one.

Important: This page is for technical information only and is not investment advice. Leveraged trading carries a high level of risk and you can lose all of your capital. Using a VPS does not improve results; it only helps the terminal run without interruption.

What does a VPS do?

MT5 and the Expert Advisors (EAs) running on it only work while the terminal is open and connected to the internet. A power cut, a dropped connection, a restart after an update or simply shutting down your computer at home or in the office stops the EA. A VPS lets you run on a server that is kept on 24/7 to reduce that risk.

When do you need one?

If you only trade manually and do not use an EA, you usually do not need a VPS.

What to look for

CriterionGeneral guidance
Operating systemMT5 is built for Windows; a Windows VPS causes the fewest problems.
RAMUsually at least 2 GB for a single terminal. Each extra terminal uses roughly 0.5-1 GB more, depending on the number of open charts, symbols and indicators.
CPU (vCPU)1-2 vCPU is often enough for a single terminal; increase it for several terminals.
DiskPrefer SSD. 30-40 GB is generally enough for a single terminal.
Location and latencyChoose a data center close to the broker's server. You can measure latency (ms) with the connection indicator at the bottom-right of MT5.
ReliabilityLook at the provider's uptime commitment and support channels.
BackupsA snapshot or backup option for the server makes life easier.

Setup steps

  1. Get a Windows VPS. Your provider gives you an IP address, a username and a password.
  2. Connect with Remote Desktop. Use "Remote Desktop Connection" on Windows, Microsoft Remote Desktop on Mac, or an app such as "RD Client" on your phone.
  3. Install MT5. Download the terminal from your broker's official page, install it inside the VPS and log in to your account.
  4. Install the EA. Copy the file to the right folder and attach it to a chart: How to install an EA in MT5.
  5. Check that the Algo Trading button is green.
  6. Disconnect, do not sign out. Closing the remote desktop window leaves the session open. The "Sign out / Log off" option closes open programs as well.

Common problems

SymptomLikely cause and fix
MT5 stays closed after the server restartsWindows updates can restart the server. Put a shortcut to MT5 in the Windows Startup folder so it starts automatically.
The server slows down or memory is fullClose unneeded charts and symbols, reduce the number of open charts per terminal, and move to a plan with more RAM if needed.
High connection latencyTry a VPS in a location closer to the broker's server.
You cannot connect with Remote DesktopCheck the IP address, username and password; check the provider's firewall and access restrictions.
The session ends when you disconnectSome providers end disconnected sessions after a set time. Check the provider's session settings.

Security

Frequently asked questions

Does a VPS reduce trade latency?

The closer the VPS is to the broker's server, the lower the latency can be, but that does not mean better results. Its main benefit is keeping the terminal running without interruption. You can see the latency (ms) in the connection indicator at the bottom-right of MT5.

Is there a free VPS?

Some brokers may offer a VPS if you meet certain balance or trading-volume conditions. The conditions differ between brokers and can change over time, so check the current terms on the broker's own page.

Does MT5 run on a Linux VPS?

MT5 is officially built for Windows. It can be run on Linux with Wine, but support is limited. A Windows VPS is less trouble for most users.

Does the EA stop if I close the window after connecting to the VPS?

No. Closing the remote desktop window (disconnecting) leaves the session open and the terminal keeps running. If you sign out (log off) of Windows, open programs are closed too, so do not do that.

Use Thatri.ch tools for free

Thatri.ch MT5 indicators and EAs are enabled free of charge on accounts opened through one of our partner brokers.

Go to the brokers page → Partner links are affiliate links; we earn a commission on accounts opened through them. This page is not investment advice.

More guides

How to Install and Run an Expert Advisor (EA) in MT5Install an Expert Advisor (EA) in MetaTrader 5: copy the file to the right folder, enable algo trading, attach it to a chart and fix common problems.