Launching MetaTrader VPS: A step-by-step guide for first-time users
Everyone who uses trading robots or signal subscriptions sooner or later recognizes the need to rent a reliable 24/7 hosting server for their trading platform. We recommend using MetaTrader VPS for several reasons. You can conveniently pay and manage the subscription through your MQL5.community account. If you haven't registered on MQL5.com yet, take a moment to sign up and specify your account in the platform settings.

1. Getting started
Connect to the trading account for which you want to run a VPS, and you are ready to migrate your platform to the cloud. The most straightforward way is to click on the "Open MQL5 Virtual Hosting" icon in the platform's top menu:
![]()
You can also select the virtual server option in the Navigator or in the trading account's context menu. A window will open showing the closest server and an estimated reduction in the delay compared to your current connection. Lower network latency provides better trading execution conditions, such as minimized slippage and reduced probability of a requote.
2. Service plans
Before choosing a payment plan, check if your broker offers MetaTrader 5 virtual hosting for free. Brokers participating in our recently launched Sponsored VPS program can provide virtual hosting to their clients as a bonus, subject to certain conditions.

Choose a VPS subscription plan: the longer the rental period, the lower the monthly cost. The plan can be changed when the rental period expires, that is, after a month. An auto-renewal option is provided for those who prefer a hands-off approach to monitoring the service status. This option can be enabled or disabled at any time. Furthermore, before any payments, the system will check the hosting status. If it is inactive, the subscription will not be renewed, safeguarding you from unnecessary expenses on unused servers.
Please note that if the subscription is interrupted, all hosting data will be lost. The server can be rented again, but you will have to re-configure the entire environment. The auto-renewal option can assist in avoiding such a situation.
3. Payment
All your payments are registered on MQL5.com, ensuring a unified and transparent hosting rental history. This eliminates the need to search for payments across different payment systems if such information is ever needed. Pay using your preferred method and access all transaction details in your profile. The hosting is ready for use immediately after payment, and thus you can proceed to migrate your local platform environment to the virtual server.
4. Preparation
Migration means transferring the current active environment from the trading platform to the virtual one. Your pre-configured set of charts, Expert Advisors, indicators, and copied signals can be seamlessly transferred to the VPS with a single command. A copy of your platform with the relevant settings and programs will run on the virtual server. Therefore, you need to prepare your local platform before migrating.
In the Market Watch window, set up the list of symbols required for your Expert Advisors' operation. Remove unused symbols and charts to reduce resource consumption. Add the necessary indicators and Expert Advisors to the charts for autonomous operation. Most trading robots do not use on-chart indicators, so review all programs and leave only the required ones. If your Expert Advisor will send emails, submit data via FTP, or copy Signal trades, specify the relevant settings. To copy signals, please make sure to specify your MQL5.community account credentials in the Community tab.
5. Migration
The trading environment is migrated with each synchronization of the platform. Synchronization is always performed in one direction: the local platform environment is migrated to the virtual platform, never the reverse. The virtual platform status can be monitored using platform and Expert Advisor logs, as well as via virtual server monitoring data.
To start synchronization, go to the VPS section and select the migration type:
- Full – if you want to simultaneously run Expert Advisor/indicators and copy signal subscriptions. In this mode, account connection data, all open charts, signal copying parameters, running Expert Advisors and indicators, FTP parameters, and email settings are copied to the virtual server.
- Expert – run Expert Advisors and indicators.
- Signal – copy a signal subscription.
The available history data for all open charts is automatically uploaded to the VPS during the first synchronization. Fetching history from the trading server may take some time, and all robots running on the charts should correctly process the updated data.
- Automated trading is always enabled in the virtual platform even if it is disabled in local platform settings or in the running Expert Advisor's parameters.
- Scripts are not transferred during migration even if they were running in an endless loop during synchronization.
- Charts with non-standard or custom timeframes and symbols are not migrated.
- Accounts with one-time password authentication cannot be used on the VPS. Autonomous platform operation is impossible if manual one-time password specification is required for each connection.
6. Operation
You can monitor the state of the rented server from the trading platform. The Tools \ VPS section provides the following options:
- View the virtual server data
- Synchronize the environment by performing the immediate migration
- Request platform and Expert Advisor logs
- Stop the server

Watch our new video to learn how to analyze virtual hosting reports and how to control your subscriptions.
To monitor the operation of the virtual platform, use the VPS \ Log section.

For further details about how to monitor the VPS please read the Documentation.
Translated from Russian by MetaQuotes Ltd.
Original article: https://www.mql5.com/ru/articles/13586
Warning: All rights to these materials are reserved by MetaQuotes Ltd. Copying or reprinting of these materials in whole or in part is prohibited.
Learn how to deal with date and time in MQL5
Mastering ONNX: The Game-Changer for MQL5 Traders
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Why can't I access the VPS I purchased? I also can't open the virtual hosting interface in the tools. How many VPSs can a community account open at most?
Make sure that you are logged into your MQL5 account in MT5 >> Tools >> Options >> Community and check the Journal tab of your MT5 terminal for any errors, because China has been actively restricting access to mql5.com and various foreign exchange (forex) provider platforms through its "Great Firewall".
Also confirm that (MQL5) VPS is enabled as an option in MT5 >> Tools >> Options >> Community, under your MQL5 account login credentials.
Please make sure that you are logged into your MQL5 account in MT5 >> Tools >> Options >> Community and check the "Logs" tab of your MT5 terminal for any errors as China has been actively restricting access to mql5.com and various foreign exchange (forex) provider platforms through the "Great Firewall".
Please also make sure that (MQL5) VPS is enabled as an option in MT5 >> Tools >> Options >> Community, under your MQL5 account login credentials.
Error code in logs, how to fix it please
Error code in logs, how to fix it please
As Sergey have already told you, the 1009 error, means that your access to MQL5.com is restricted by your internet provider in China.
The only way to access the MQL5.com Market and services is by using a VPN.
As Sergey has already told you, the 1009 error means that your access to MQL5.com is restricted by your Chinese Internet provider.
The only way to access the MQL5.com marketplace and services is to use a VPN.