Back

How to copy Expert Advisors from your home PC to a VPS

When you order a Forex VPS from us, we understand that it makes life a lot easier if you can copy over all your Expert Advisors (EAs) and their settings to your new server, so that you don’t need to configure everything manually. This guide outlines the steps you need to take to copy over your EAs.

Connect your home PC’s disk to a VPS

First, you need to create a connection between your home PC and the VPS to transfer files. Please follow the steps in our dedicated article that guides you through how to do this: How to connect to a Windows server

Allow experts to run on the VPS

Once you’ve set up the connection, you then need to allow EAs to run on the VPS. To do this:

  1. Open MetaTrader on the VPS

  2. In the main menu select Tools -> Options

  3. Switch to the Expert Advisors tab

  4. Make sure the following options are checked (check them if needed):

    1. Allow algorithmic trading

    2. Allow DLL imports

expert advisors options

Copy Expert Advisor files

EAs consist of several files located in the Experts, Libraries, and Presets folders in your MetaTrader data folder. In this section we explain how to find them on your working MetaTrader instance and copy them out for transfer later.

Export EA onto a VPS

1. Open MetaTrader on your PC

2. In the main menu go to File -> Open Data Folder

select open data folder under File

3. A new Explorer window will open. In this window find a folder called MQL5 or MQL4 and open it

Select MQL5 folder

4. Copy Experts, Libraries, and Presets from that folder to your desktop or another easily reachable location

copy experts, libraries and presets

5. Go to the VPS, navigate to your home PC’s drive, to which you connected in the previous section, and find the exported Experts, Libraries, and Presets folders there. Copy them to the VPS desktop

Import EA into MetaTrader on the VPS

  1. On the VPS open MetaTrader

  2. In the main menu go to File -> Open Data Folder

  3. A new Explorer window will open. In this window navigate to the MQL5/MQL4 folder

  4. Copy the Experts, Libraries, and Presets folders from the VPS desktop into this folder. Confirm overwriting if necessary

  5. In MetaTrader, in the Navigator area, expand Expert Advisors, then expand Advisors. Right click the Advisors folder and select Refresh in the context menu. The newly copied EA should appear

select refresh in the context menu

Share

Suggested Articles

  • Forex VPS

    How Often Do You Back Up Forex VPS