How to buy, install, test and use a MT5 Expert Advisor

Eleni Anna Branou  

Here is a step by step guide for buying, installing, testing and using a Metatrader 5 Expert Advisor (Robot, Bot are whatever):

1. First make sure that you have the necessary funds required for your purchase in your MQL5 account, its always easier to pay with your MQL5 balance, than using a credit card during the buying procedure.

2. Find the Expert Advisor that you want in the MQL5.com website and open its product page.

3. Click the Buy or Rent button to continue with your purchase.




4. Choose the payment method and click the green Next button to continue with your payment.



5. After your payment is completed, you will need to open your MT5 terminal in order to download and install your MT5 Expert Advisor.

6. When you open your MT5 terminal, you must make sure that your are logged into your MQL5 account with your MQL5 account login and NOT with your email, facebook or any other. For example my login is the last part of my profile url, in my case: eleanna74, the last part of: https://www.mql5.com/en/users/eleanna74

7. So, open the MT5 >> Tools >> Options >> Community tab and make sure you are logged in with your MQL5 account login.



8. Then go in the Navigator window and click the Market folder and then Purchases. Then your Purchases window opens on the right with all your purchases and you can click the Install button on the right for the product you've just purchased.



Notice: If you can't see your purchase when you click the Purchased option, check the below mentioned issues:

Make sure that:

  • that you have Internet Explorer or Microsoft Edge latest version installed on your computer or VPS
  • that you are using the latest build of MetaTrader 5
  • that you are logged into your MQL5 account in MT5 >> Tools >> Options >> Community tab, using your login - NOT your email
  • that your MQL5 account password is less than 10 characters (if your password is 10 or more characters - change MQL5 account password here)

In case you still don't see the product on the list of your purchases in the terminal, try the following:

  1. Close ALL your MetaTrader terminals
  2. Go to C:\Users\{user name}\AppData\Roaming\MetaQuotes\Terminal\Community
  3. Delete all files starting from mql4.market.* and mql5.market.*
  4. Open the MetaTrader terminal
  5. Try to install your product again



9. After your Expert Advisor is installed you may want to test it. Go and click on MT5 >> View >> Strategy Tester. The Strategy Tester opens below and you need to click on the Expert Advisor selector on the right side of the window first and then from the Market options, you click on the one you've just purchased in order to test it.




10. Then click on the Inputs tab below to adjust the Expert Advisor's settings or load any set file that you've been provided by the seller, in order to test it. Then click the Settings tab and adjust the time period for your test, choose the desired timeframe and click the green Start button on the bottom right side of the Tester window.




11. After you've experimented enough with your Expert Advisor's settings and you've found the correct settings for your strategy, you may want to put it to work. You are now ready to trade on a demo or live account with it. So, open the appropriate chart of the symbol that you want to trade with your Expert Advisor, choose the correct timeframe and then from the left side of your MT5 terminal, in the Navigator window, find your purchased Expert Advisor from within the Market options and drag it onto the chart (or double click it).




12. The Expert Advisor's settings window will open. There you click the Allow modifications of Signals settings and Allow Algo Trading option in the Common tab and click OK.




13. Then you go onto the Inputs tab and adjust your Expert Advisor's settings or Load any set file, you've been provided by the seller, by clicking the Load button in the bottom. After you've finished adjusting or loading your settings, click the OK button.




14. After you've closed the Expert Advisor's window, you will see that there is a red sign on the top right of your chart. That means that your EA does not trade yet. You need to click the Auto Trading button and instantly the sign will turn green. Now your Expert Advisor trades on your demo or live account.




15. The only thing that remains to do is to make sure that you will not suffer any power or network disruptions and that can be accomplished by employing a MQL5 VPS (virtual private server), in order to have your Expert Advisor trading on the cloud 24/7 around the clock.

16. If you haven't purchased yourself a virtual server for your trading account, you right click on your account number in the Navigator window and you chooce >> Register a Virtual Server.



17. In the Virtual Hosting Wizard window that opens, you choose the plan that suits you and click the Next button.



18. Then you complete your payment. I suggest to have the necessary funds available in your MQL5 account and use the MQL5 method of payment on the left.

19. After you've completed your MQL5 VPS purchase, you need to synchronize your trading environment with your virtual server. You right click on the MQL5 VPS in the Navigator window and choose >> Synchronize experts, indicators. Another way to synchronize/migrate your trading environment to your MQL5 VPS in MT5, is by going down in the Toolbox window, click the VPS tab, then tick the Migrate experts: account, charts, experts, indicators and settings option and finally click the green Migrate button.



or




20. After a few seconds, the green sign of your Expert Advisor will turn red again and the Auto Trading button will be turned off. That means that your trading environment was succesfully synchronized with your MQL5 VPS.

21. In order to make sure that your synchronization was succesful, you need to check the MQL5 VPS Journal logs. You right click on your MQL5 VPS in the Navigator window >> Journals.



22. In your MQL5 VPS's Journals logs, you need to look for the below message:



23. That means that your Expert Advisor was succesfully synchronized and now trades in the cloud environment.

24. Now you can close your MT5 terminal and computer and be assured that your Expert Advisor will trade 24/7 without any problems or interruptions.

25. The only thing you need to do every day or two, is to check your MQL5 VPS Journal, in order to make sure that everything runs smoothly.


WARNING: After you've synchronized your trading environment with your MQL5 VPS, you DO NOT NEED TO CLICK THE AUTO TRADING BUTTON AGAIN in your local MT5 terminal, because if you do, you will trade with your Expert Advisor twice and that is very dangerous!

Sergey Golubev  

For Metatrader 5 only, limitations (from the announcement):

  • 32-bit terminals are no longer allowed to load programs from the Market.
  • 32-bit terminals cannot connect to the hosting service.
  • The 32-bit MetaEditor version does not support additional file protection via MQL5 Cloud Protector.
  • MQL5 programs compiled under old MetaEditor versions (released 5 years ago or more) cannot run in the new terminal version.
  • more here
  • ----------------

    Support for the 32-bit platform version was discontinued a year ago, after the release of build 2360. We strongly recommend upgrading to the 64-bit MetaTrader 5 version in order to access all the platform's features without any limitation.
    Furthermore, we recommend all Sellers, who have previously uploaded 32-bit product versions to the Market, to recompile them using the latest 64-bit MetaEditor and to upload the new versions. The ability to run 32-bit MQL5 programs in terminals will be completely disabled soon.


    Forex Market – App Store of MetaTrader 5 trading robots, Expert Advisors and technical indicators
    Forex Market – App Store of MetaTrader 5 trading robots, Expert Advisors and technical indicators
    • www.mql5.com
    An official showcase of applications for trading from the terminal