What this sets up
A MetaTrader terminal running on a Windows server in a data center, so your expert advisors keep working when your own computer is off, asleep or offline. The steps are the same for MetaTrader 4 and 5; where a menu name differs, both are given. We provide the server. Your broker, your trading account and your expert advisors are yours to choose and configure.
The server itself, with regions and current prices, is on the forex VPS for MetaTrader page. If you have not used Remote Desktop before, start with connecting over RDP from any device.
Pick the region and the size first
- Region. Find where your broker hosts its trade server: the server name in the MetaTrader login window and the broker’s documentation usually say. Choose the United States region (New York and Edison, New Jersey) for brokers hosted in New York, and France (Paris or Marseille) for brokers in Europe. We have no London location, and we do not publish latency figures to specific brokers.
- Size. Windows uses a couple of gigabytes of memory on its own. Each terminal with a few charts and an expert advisor adds a few hundred megabytes. One or two terminals fit on the smaller plans; several accounts side by side need more memory.
- Term. Windows servers are sold for 30 days or more, and a server that is not extended is deleted at the end of its term. Extend before a week in which you cannot afford a gap.
Install the terminal
- Connect to the server over Remote Desktop as Administrator.
- Open Edge on the server and download the terminal from your broker’s own website. Avoid download sites: altered MetaTrader installers exist, and a broker’s build comes with its server list already filled in.
- Run the installer and accept the defaults.
- When the terminal opens, sign in with your account number, your trading password and the broker’s server name. Use the trading password, not the read-only investor password, or orders will be refused.
- Check the bottom-right corner of the terminal. It shows the connection as a pair of numbers in kilobytes. "No connection" or "Invalid account" means the server name or password is wrong.
Move your expert advisors and settings
- On your own PC, open the terminal and choose File, then Open Data Folder. Expert advisors are in MQL4\Experts or MQL5\Experts, indicators in the Indicators folder beside it, and saved chart layouts in the templates folder.
- Copy the files you need. On the server, open the same folders from File, Open Data Folder, and paste. Copy and paste works across the Remote Desktop window.
- Restart the terminal, or right-click inside the Navigator panel and choose Refresh, so the new files appear.
- Drag each expert advisor onto its chart. In its settings, allow it to trade: the Common tab has Allow Algo Trading in MetaTrader 5 and Allow live trading in MetaTrader 4.
- Turn on the toolbar button named Algo Trading in MetaTrader 5 or AutoTrading in MetaTrader 4. It is green when enabled. Nothing trades while it is red, whatever the chart settings say.
- Tick Allow DLL imports only for an expert advisor that needs it and that you trust. A DLL can do anything on the server that you can.
Check the connection to your broker
Click the connection indicator in the bottom-right corner of the terminal. It lists the broker’s access points with the ping to each, in milliseconds, and lets you rescan them. That figure is the one that matters for order latency, and you can compare it with the same reading on your home PC. It depends on where the broker’s server is and on the route between the two networks, which is why we do not promise a number.
Disconnect, do not sign out
Close the Remote Desktop window with its X. That disconnects you and leaves the session, the terminal and the expert advisors running. Signing out of Windows from the Start menu closes them. Test it once: disconnect, wait a few minutes, reconnect, and read the Experts and Journal tabs at the bottom of the terminal to confirm it kept working while you were away.
Make it survive a restart
A restart ends your session. Windows starts again on its own, but programs in your Startup folder only run once Administrator signs in. There are two ways to handle that.
- Reconnect after a restart. Sign in over Remote Desktop and the terminal starts from the Startup folder. This is enough if you are the one who restarts the server.
- Sign in automatically. Microsoft’s Sysinternals Autologon tool makes Windows sign Administrator in at boot, so the terminal starts with nobody connected. Download it from Microsoft, run it, enter the Administrator password and choose Enable. It keeps the password on the server in encrypted form, so use it on a server that does nothing but trade.
Either way, put the terminal in the Startup folder. Press Win+R on the server, type the line below and press Enter, then paste a shortcut to the terminal into the folder that opens. MetaTrader reopens the charts and expert advisors it had when it was last closed.
shell:startupKeep Windows Update away from market hours
Updates can restart the server. Do not turn them off; schedule them. In Settings, Update & Security, Windows Update, choose Change active hours and cover the hours you trade most; Windows will not restart inside them. The window can be at most 18 hours long. Better still, install pending updates yourself while the market is closed. Spot FX closes on Friday at 5 p.m. New York time and reopens on Sunday at 5 p.m., so Saturday is the safe day. After the restart, sign in and check that the terminal is up and the trading button is green.
Several accounts on one server
Each account needs its own copy of the terminal. Run the installer again and, on its first screen, choose Settings and change the installation folder to a new one, such as C:\MT5-Account2. Each copy then has its own data folder, charts and expert advisors, and each gets its own shortcut in the Startup folder. Watch memory in Task Manager (Ctrl+Shift+Esc) as you add terminals. A server that runs out of memory slows every terminal on it.
Keep the terminal light
- Close charts you do not trade. Every open chart holds price history in memory.
- Lower the history limit. In Tools, Options, Charts, reduce Max bars in chart to what your expert advisor needs.
- Hide unused symbols. Right-click in Market Watch and choose Hide All; symbols with open charts or positions stay.
- Turn off news if you do not read it there. Tools, Options, Server, Enable news.
If trading stops
- The trading button is red. It can switch off after a change of account or profile. Turn it back on.
- The terminal is closed. Either someone signed out of Windows or the server restarted. Sign in, start it, and set up the Startup folder if you have not.
- The corner shows No connection. Check the server has internet access by opening a website in Edge, then rescan the broker’s access points.
- Orders are refused with Trade is disabled. You are signed in with the investor password, or the market for that symbol is closed.
- You cannot reach the server over RDP. Use the browser console on your access page; it works without Remote Desktop.
Which plan to pick
Choose by the number of terminals and how many charts each one keeps open, with a couple of gigabytes set aside for Windows. Sizes and current prices, with the Windows licence included, are on the forex VPS for MetaTrader page. Pay in Bitcoin, Monero, Ethereum, Solana or by card; there is no account and no ID check.