Summary: Complete guide to setting up MetaTrader 5 Virtual Private Server (VPS) directly through the terminal. Covers registration, hosting plans, auto-renewal, payment, and EA migration.




A couple of months ago, I had a client whose EA kept missing trades every night. His internet would drop, the laptop would go to sleep, and boom - a gap in the chart meant no entries. I told him: you need a VPS. But instead of going through some third-party provider, I pointed him straight to the built-in solution inside MT5 itself.

The MetaQuotes Virtual Hosting service is tucked right inside the terminal. You don't need to mess around with Remote Desktop, Windows updates, or firewall rules. It's all handled for you.

Step 1: Open the VPS Registration Window

Open Navigator (Ctrl+N), right-click your trading account, and select "Register a Virtual Server" . The system will automatically ping the nearest data center to your broker and show you the latency comparison between your local machine and the hosted server. Lower latency = less slippage.

Step 2: Pick a Hosting Plan

The official MetaTrader 5 help documentation explains the pricing structure clearly . Longer rental periods give you better value. There are also two special options to look out for:

  • Free - If you cancel a previously rented VPS, any unused time gets credited back to your MQL5 account. You can use that credit to rent a new one .

  • Sponsored - Some brokers cover the cost. You'll see this option if your broker offers it. Check with them directly .


  • Step 3: Link Your MQL5 Account

    You need a valid MQL5.community account to rent a VPS . If you haven't logged in yet, the terminal will prompt you to add your credentials. This is also where your payment history and credits are tracked.

    Step 4: Auto-Renewal (The Hidden Lifesaver)

    Here's something the official docs emphasize but most people skip: enable "Automatically renew subscription with sufficient funds and terminal activity" . Without this, your VPS expires, all your data gets wiped, and you have to reconfigure everything from scratch. The system attempts to charge you the day before expiration. If it fails, you get an email notification. The new term starts when the current one ends, not when the payment clears.

    One exclusive insight I've picked up: the auto-renewal uses the same payment method you used initially. If your card expires, it falls back to your MQL5 account balance. I always keep a small buffer in my MQL5 wallet precisely for this reason. The official docs mention this, but they don't emphasize how critical it is to check both your card expiry and your wallet balance before renewal day.

    Step 5: Payment and Migration

    Select your payment method. If you choose MQL5, the amount gets transferred from your community account balance first, then applied to the subscription . After payment, you'll see a "Migrate" button. Click it, and the terminal uploads your entire environment - charts, EAs, indicators, settings - to the virtual server.

    Final Check

    Once migrated, you can close your local MT5. The EA keeps running. I've had clients run EAs for three months straight on this service without a single interruption. The built-in VPS is simpler than dealing with third-party providers, and the latency is usually better because MetaQuotes picks the server closest to your broker's infrastructure.

    Reference: MetaTrader 5 Help - Virtual Hosting (metatrader5.com).

    This article was originally published on FXEAR.com. All rights reserved. Unauthorized reproduction is prohibited.