Setting up an MT5 VPS for expert advisors
An EA only trades while its terminal is running. A small VPS close to your broker keeps it online around the clock and reduces latency. Here is how to choose and configure one.

1. Pick a location near your broker
Latency between the VPS and your broker’s trade server matters more than raw CPU. Most brokers publish the city of their servers; London, New York and Amsterdam cover the majority. Ping the server from a trial VPS before you commit.
2. Install MT5 and log in
Install the terminal from your broker’s website so the server list is pre-configured. Log in with your trading account, then open Tools → Options → Expert Advisors and allow algorithmic trading.
Tools → Options → Expert Advisors
[x] Allow algorithmic trading
[x] Allow WebRequest for listed URL:
https://api.brand.com3. Keep it running after reboots
Windows updates restart servers. Add a shortcut to terminal64.exe in the Startup folder and enable automatic login so the terminal reopens without you. Attach the EA once and MT5 remembers it on restart.
4. Bind your account in the dashboard
Add the MT5 account number in Accounts & connections. In the next phase, licensed EAs will verify this number automatically.