Setting Up A Metatrader 4 Expert Advisor On A VPS Tutorial
Forex VPS Guide (Tutorial)
If you already have a VPS, skip to the steps below. If you are still looking for a VPS, then check out this important forex VPS review and comparison of all the top providers to make your decision easier.
You must have a windows based VPS for this tutorial to work for you.
Signup to a forex VPS provider and you will get an e-mail with an IP address, username and password to connect to.
Open the remote desktop connection program in windows. You can usually find it in your Start Menu under Accessories. It should look something like the image below.
Enter your IP for you VPS and your username, then it will prompt you for your password when you press connect.
You should now be connected to your VPS and a fresh empty windows desktop should appear. All that’s left now if to download Metatrader 4 platform installer from your broker. So open up Internet Explorer and browse to your brokers website, and find the download link.
Once you have Metatrader 4 installed, you will want to get your expert advisor(s) on to the VPS. The easiest way I find to do this is using the local resources tab on the Remote Desktop Connection like so.
Click the options arrow like shown below…
Now click on the local resources tab and you will see this below…
Then click the more button show above under local devices and resources and you should get this…
Checkmark the drives you want to share with your VPS and click OK. Now your done and can transfer files between your desktop and your forex VPS.
Install the expert advisor into your Metatrader 4 experts folder just like you would on your own computer, and then start the MT4 terminal.
Attach the EA to the appropriate charts, and you’re done!
Autorun on startup?
If you want your MT4 terminal(s) to autorun whenever the VPS gets restarted, then just create a shortcut in the following directory. C:\Documents and Settings\Administrator\Start Menu\Programs\Startup
Multiple MT4 Installations?
If you want to install multiple MT4 instances from say Alpari UK demo, then just change the install directory to something like C:\Program Files\Metatrader 4 Alpari UK 2\