BK Corp Club logoBK CORP CLUBTRADING AUTOMATION INSIGHTS

MT5 GUIDE · BK CORP CLUB

How to Set Up MT5 on a VPS: Step-by-Step for EA Traders

Running MetaTrader 5 on a Virtual Private Server keeps your Expert Advisors active 24 hours a day without needing your personal computer switched on. This step-by-step guide walks through the full setup process from choosing a VPS to connecting MT5 and verifying your EAs are running.

· Educational guide · BK Corp Club Editorial Team

<h2>Why Run MT5 on a VPS?</h2><p>Your EA can only trade when MT5 is open and connected to the internet. If your computer loses power, your internet drops, or you shut it down, your EA stops. A VPS is a remote computer that runs 24/7 in a data centre. It stays connected regardless of what happens on your end, keeping your strategy running during all market sessions.</p><h2>Choosing a VPS for MT5</h2><p>For MT5, you need a Windows VPS (MT5 runs on Windows natively). Key specs to look for:<ul><li><strong>RAM:</strong> Minimum 1 GB for one MT5 instance; 2 GB if you run multiple terminals or chart-heavy setups</li><li><strong>Storage:</strong> 30 GB SSD is enough for MT5 and your EA files</li><li><strong>Location:</strong> Choose a server close to your broker's data centre. Most brokers use servers in London, New York, or Amsterdam. Ping time affects execution speed for scalping EAs.</li><li><strong>OS:</strong> Windows Server 2019 or 2022 is recommended</li></ul>Popular providers used by EA traders include Contabo, Vultr, Hostinger VPS, and ForexVPS. Some brokers offer free or subsidised VPS hosting if you meet a minimum volume requirement.</p><h2>Step 1: Set Up Your VPS</h2><p>After purchasing your VPS, your provider will email you the IP address, username (usually Administrator), and a temporary password. Use Windows Remote Desktop (RDP) to connect. On Windows, search for "Remote Desktop Connection" and enter the IP address. Log in with the credentials provided, then immediately change your password to something strong.</p><h2>Step 2: Download and Install MT5</h2><p>Inside the VPS, open Internet Explorer or Edge (the default browser) and navigate to your broker's website. Download the MT5 installer from your broker's platform download page — this ensures you get the broker-specific version pre-configured for their servers. Run the installer and log in with your trading account credentials.</p><h2>Step 3: Copy Your EA Files to the VPS</h2><p>You have two options. Option A: Use the Windows clipboard to drag and drop files between your local machine and the RDP session (some VPS providers enable this by default). Option B: Upload your EA .ex5 file to Google Drive or Dropbox, then download it from inside the VPS. Once downloaded, in MT5, go to File → Open Data Folder → MQL5 → Experts, and paste your .ex5 file there. Restart MT5 and the EA will appear in the Navigator panel.</p><h2>Step 4: Attach the EA to a Chart and Verify</h2><p>Open the chart you want to trade, drag the EA onto it, configure the inputs, enable AutoTrading (the green button at the top of MT5), and check that the EA shows a smiley face in the top-right corner of the chart. This confirms it is running and connected. Check the Experts tab at the bottom of MT5 to see any log messages from your EA.</p><h2>Step 5: Keep the VPS Session Running</h2><p>When you close your RDP window, the VPS continues running in the background. MT5 stays open. However, some VPS configurations lock the screen after inactivity, which can cause MT5 to pause. Disable screen lock and sleep settings in Windows Power Options on the VPS to prevent this.</p><h2>Maintenance Tips</h2><p>Check in on your VPS at least once a week. Verify MT5 is still connected, the EA is still active, and there are no error messages in the Experts log. Keep Windows updated but schedule updates for weekends to avoid unexpected restarts during trading sessions.</p><h2>Summary</h2><p>A VPS is essential infrastructure for serious EA trading. The setup takes less than an hour and means your EA never misses a trade due to your personal computer being offline. Choose a VPS close to your broker's servers, install MT5 from your broker's site, and monitor it weekly.</p>

Educational content only, not financial advice. Trading involves risk and losses are possible. Automated trading does not guarantee profits.

← All MT5 guides · EA Shop · White-label EA licensing