Virtual Private Servers

If you do not have a computer to allocate just for automated trading 24/7 (or you do not have a reliable internet connection), you will need to run your MetaTrader software from a Virtual Private Server (VPS).

A VPS is just a computer at an offsite location that runs and stays online 24/7 with a very reliable high-speed internet connection.

Remote Desktop Connection

You can access your VPS from your home computer any time and use it just like you would your home computer via the Remote Desktop Connection App/program that comes standard with all Windows computers. Do a search on your computer if you can't find it or CLICK HERE for a Windows VPS login tutorial. MAC users may need to download the Microsoft Remote Desktop Connection APP. Your VPS company will provide you with an IP address, username and password to your VPS.

A new VPS usually comes with very strict security settings so after logging into your VPS, open your internet browser's security settings (on your VPS) and enable downloads in the advanced security settings.

You may also need to lower your overall browser security settings. This will allow you to download MT4 and your robot files onto the VPS through the web browser. Once your browser's security settings are lowered, log into your broker's website then download and install their MT4 trading platform onto your VPS.

You can run up to 6 instances of MT4 on a VPS with 1 GB RAM. See "How to Install Multiple MT4s" at the bottom of this page.

Following are popular VPS providers:

VPS Mart: (1 GB RAM w/Windows for $4.99/mo. 2 GB RAM w/Windows for $7.99/mo). There doesn't appear to be any usage fees.
Ionos.com Virtual Cloud Servers (2 GB RAM Starting at $10/month + up to $20/month for Windows OS based on minutes used).
VPSForexIndonesia.com (Starting at US$6.68/month TOTAL for 1 GB RAM. No auto-billing & old version of Windows but works fine)
Vultr.com (1 GB RAM starting at $4.99/month + $16/month for Windows +hourly usage rate)
Beeksfx.com (Good VPS's but expensive and poor customer service)
Ultrahosting.com (High prices and slow VPS's but still an option)

Before I got my Ionos VPS, I had a VPS from UltraHosting but Ionos VPS was so much faster that I dumped UltraHosting and got another Ionos VPS at a fraction of the price. The 1 GB RAM package I got is no longer available. The 2 GB RAM M package is the cheapest one that meets the requirements. The Windows license fee is up to $20/month based on minutes used. These are very fast dual core high quality servers. A 2 GB RAM VPS from Ionos can handle up to 12 MT4s running simultaneously so you can really get your money's worth!

YOU MUST HAVE A WINDOWS OPERATING SYSTEM ON YOUR VPS so choose the latest Windows Operating System they offer (Windows 2012 or 2016 are both fine). I now have 3 VPS with 1 GB RAM each from Ionos each running up to 6 MT4s simultaneously. I only noticed a slight lag after adding the 6th MT4 so it can handle a lot. After purchasing your VPS from Ionos.com, you can access your VPS login credentials under on the Ionos.com website under "Servers & Cloud" Then click the IP address to access your Username and password. The default username is "Administrator". If your VPS username is "root" then you got a Linux OS and you must contact customer support to have it changed to Windows.

Vultr.com has good prices and I have done several installations for clients on their servers and they seem just as fast as 1and1.com servers. So, if 1and1 does not accept you due to your country of residence (they don't service all countries) then Vultr.com is the next best choice.

BeeksFX has a good reputation and I've read good things about them but they are expensive. I tried to get a VPS at BeeksFX but I couldn't even get a reply from their customer support so that was the end of that effort, but I've included the link above so you have options. BeeksFX has servers all over the world and are known for having super fast speeds and are often used by scalpers, but that's not important with my robots since they are not scalpers and often go for big moves.

IMPORTANT TIPS:
It's important that you disable automatic Window's updates on your VPS, otherwise, your system will reboot after every update and will close your MT4 software. Instead, you can do manual updates on the weekends. Most VPSs come with the default setting "Download updates automatically but require permission to install". This is the setting you want but please confirm it.

AVOID CLOSING MT4 in the middle of a money management cycle if you are using the V2 EAs. The V2 EAs start with "RT_V2" in the EA file name. If you restart the MT4 platform when there are no open trades on a V2 EA, the EA (Robot) will default to the minimum lots on the next trade when the software is restarted. For example, if your robot just had 3 winning trades and the next trade should be 4 units (and no trades are currently open during restart), then it will default back to your minimum lot setting. However, you can compensate for this by simply disabling Roulette Trader Money Management (change to False) and use the Fixed Lot setting until the next trade opens at the correcct lot size, then enable RT Money Managemement and the EA will resume the correct unit count from that point forward.

Keep in mind that if you restart your MT4 during an open trade, then no adjustments are needed for the EAs that have open trades at the time of restart.

For more tips on these topics, visit: RouletteTrader.com/ea-tips

Recompiling your EA: The same is true if you compile your Expert Advisor source code. After each compile, the robot will default back to the minimum lots on the next trade so do not make changes to the EA source code in the middle of a trading cycle. Instead, use the Expert Advisor Properties feature on the chart to change any settings. To do this, right click on the chart that the EA is attached to and select "Expert Advisor > Properties" from the popup window. If your EA ever gets detached from your chart and must be re-attached, check these properties settings to make sure they did not change to the defaults in the source code.

 

HOW TO INSTALL MULTIPLE MT4 PLATFORMS ON A VPS

Follow these steps to install more than one instance of MT4 onto a PC or VPS, and DON'T SKIP ANYTHING!
 
The easiest way to get MT4 onto your VPS is to download the MT4 installation zip file onto your home computer. Then copy and paste the MT4 zip file onto the desktop of your VPS.
 
Double click it to start the first installation on your VPS. It will create a "MetaTrader" folder under the folder Program Files (x86). Close MT4 when it opens automatically and delete the 2 desktop icons it creates. Open the MetaTrader folder in Windows Explorer under c:\This PC\Local Disk\Program Files (x86) and change the name of the MetaTrader folder to something like OANDA-1 (or the name of your broker).
 
 
Then open the OANDA-1 folder, right-click over the Application file and choose "Create Shortcut".
 
 
Then Rename your new shortcut "OANDA-1" or "MT4-1"...
 
 
 
Double Click your newly renamed shortcut to open MT4 then copy and paste that shortcut onto your VPS Desktop. You can now open this MT4 from that shortcut on your VPS desktop.
 
 
Since you changed the MetaTrader directory name, you can now install another instance of MT4 without over-writing the previous installation. Repeat the steps above for each additional instance of MT4 but give each installation a unique name like OANDA-2, OANDA-3, etc.
 
To install the EAs, create a Roulette Trader folder on your VPS desktop. Then copy the EA files on your home computer and paste them into the Roulette Trader folder on your VPS. From there, you can copy the EA files into each separate installation of MT4. Open the Data Folder in each MT4 and you can paste the files in the appropriate folders of each one like an assembly line. In the MT4 Navigator that displays the Experts folder on the left side of MT4, right-click over "Experts" and choose "Refresh" so your newly installed EA files will appear.
 
 
After installation and EA setup is complete, close each MT4 and reopen them from your new desktop icons. This will save your current settings and make sure MT4 recognizes all of the new files.
Copyright 2019 - Roulette Trader - All Rights Reserved