MetaTrader 4 and MetaTrader 5 run well on a Windows VPS or Admin RDP, which keeps your terminal and Expert Advisors (EAs) online while your own computer is off. This guide installs the terminal, logs in to your trading account and checks that automated trading is really running.
1. Download the installer
Inside your RDP session, open a browser and download the terminal from your broker's website (most brokers provide their own MetaTrader build with their servers preconfigured) or from MetaQuotes, the developer of MetaTrader. Avoid unofficial download sites.
2. Install and log in
- Run the installer and accept the default folder unless you plan to run several terminals (see this guide).
- When the terminal opens, choose File → Login to Trade Account.
- Enter your account number and password, choose your broker's server from the list, and tick Save password so the terminal can log in again after a restart.
- Check the bottom-right corner of the terminal: it shows the connection status and, once connected, the ping to the trade server in milliseconds.
3. Copy in your EAs and indicators
- In the terminal, choose File → Open Data Folder.
- Copy EAs into
MQL5\Experts(MT5) orMQL4\Experts(MT4), and indicators into the matchingIndicatorsfolder. Transfer files to a Windows server shows how to get them onto the server. - In the Navigator panel, right-click and choose Refresh.
Warning: Only run EAs, indicators and DLLs from sources you trust. A file you run on the VPS has the same access to your trading account as you do.
4. Turn on automated trading
- Open Tools → Options → Expert Advisors and tick Allow algorithmic trading (MT5) or Allow automated trading (MT4). Tick Allow DLL imports only if your EA needs it and you trust it.
- Click the Algo Trading (MT5) or AutoTrading (MT4) button in the toolbar so it turns green.
- Drag the EA onto a chart and confirm its settings.
5. Check the EA is really running
- The chart's top-right corner shows the EA name and an icon. If the icon is grey or shows a frown, automated trading is not allowed for that EA: recheck step 4.
- The Experts and Journal tabs at the bottom show that the EA loaded and any errors.
6. Leave it running
Close the Remote Desktop window to disconnect; do not sign out, which closes the terminal. Minimising the terminal is fine. Read Keep apps running 24/7 on your RDP and set up auto-start after a reboot.
Troubleshooting
- "No connection" or "Invalid account": check the server name exactly matches what your broker gave you, and the account number and password.
- EA is loaded but not trading: check the Algo Trading button is green and read the Experts tab for errors.
