How to install trading bot on MT5?

How to install my trading bot on MT5?


Learn how to install your created bot on MetaTrader 5 (MT5) step by step.

1. Download your bot 

  1. After creating your first bot, you can review and download your bot files form the Create and Manage Bots page in your dashboard. 

  2. Click the Action button for the bot you want to download. The available MT4 and MT5 versions will be displayed. Select MT5 version to automatically download the file to your system.


2. Copy your MT5 bot file

  1. Then copy your bot file and paste it into the correct folder in your MetaTrader software on your system or VPS.

3. Open your MetaTrader 

  1. Click on File → Open Data Folder

  1. Then click on the MQL5 folder


  1. Next, open the Experts folder

  1. Now, paste your copied MT5 bot file here

  2. Then close the folder and go back to your MetaTrader


  1. Click on Tools → Options, then go to the Expert Advisors tab 

  2. Enter the correct XAUBOT URL ( https://xaubot.com ), enable the features as shown in the picture, and click OK



  1. Click on View → Navigator

  2. Now, right-click on Expert Advisors on the sidebar, click Refresh, and you should see your bot name appear


  1. Now, from View → Market Watch, choose your preferred pair based on the market your bot is created for — Gold, Forex, Crypto, or Stocks

  2. Then right-click on the pair and click “Chart Window”. The chart for that pair will open on your screen



  1. From the Navigator, double-click on your bot name or drag and drop it onto the chart. Then the bot settings window will pop up

  2. In the first tab, named Dependencies in MT5, click on Allow DLL Imports and enable it.


  1. Go to the Inputs tab and enter the license key connected to this account number in the first parameter called “Input Your License Key”


  1. Go to the Common tab, click on Allow Algo Trading and enable it
  1. Now, click on OK  and let your bot read your license and settings. Then all elements will appear on the bot screen

  1. Now, your bot is “Live” and ready to explore the market and execute trades based on the settings and algorithm you selected during bot creation.