How to run MetaTrader 5 (MT5) 24/7 on a Windows VPS
MetaTrader 5 (MT5) is a Windows program, so a Windows VPS, also called an RDP server, is the simplest way to keep it online all day. Your Windows VPS is a normal Windows computer in a data centre. It does not sleep, and it does not depend on your home internet or power. This guide shows the full setup, step by step.
Before you start
- A Windows VPS from Tabi Cloud, with the IP address and login details from your order
- An account with your broker, plus the MT5 download link from the broker's website
- Your Expert Advisor (EA) files, if you use automated trading
Please follow your broker's rules for automated trading. This guide is about setting up the software, not about trading results.
1. Connect to your Windows VPS
- On Windows, open the Start menu, search for Remote Desktop Connection and run it
- On macOS or Android and iPhone, install the Microsoft Remote Desktop app from the official store
- Enter your server IP, then your username and password from the order message
- You will see a Windows desktop, and you can use it like any PC
2. Install MT5
- Open the browser on the VPS and download MT5 from your broker's website
- Run the installer and follow the steps
- Open MT5 and log in with your trading account number, password and the broker's server name
3. Add your Expert Advisors
- In MT5 choose File, then Open Data Folder
- Open MQL5, then Experts, and copy your EA files there
- Restart MT5, or right-click Navigator and choose Refresh
- Drag the EA onto a chart and tick Allow Algo Trading in its settings
- Make sure the Algo Trading button on the top toolbar is switched on
4. Keep it running when you disconnect
- Close the Remote Desktop window with the X button instead of signing out of Windows
- Do not choose Sign out or Shut down. The programs stay open only while the session stays alive
- If you restart the VPS, open MT5 again and check that the EAs are attached
5. Start MT5 automatically after a restart
- Press Windows key and R, then type shell:startup and press Enter
- Copy the MT5 shortcut into the folder that opens
- Windows will open MT5 each time you log in
6. Choose the right plan
- RAM matters most. Each MT5 terminal with several charts and indicators uses memory
- A single terminal with a few charts is usually comfortable on a smaller plan
- Several terminals, many charts or heavy indicators need more RAM and cores, so move up a plan
- You can upgrade any time by messaging us on Discord or WhatsApp
7. Pick a location near your broker
Lower delay between your VPS and your broker's server helps orders reach the broker faster. Ask your broker where their servers are, and tell us when you order so we can suggest a location.
8. Keep your VPS safe
- Use a strong, unique password and change the default one after your first login
- Keep Windows updated, but schedule restarts at quiet times
- Do not install software you do not trust on the VPS
- Keep a copy of your EAs and settings on your own computer
Common problems
- EA shows a smiley face but does not trade: check that Algo Trading is on, and that the EA is allowed to trade in its settings
- Disconnected from the broker: check the server name and your internet status on the VPS, then log in again
- VPS feels slow: close extra programs or upgrade to a plan with more RAM
Need help?
Open a ticket in our Discord or message us on WhatsApp with your server IP and a short description of what you see.