Download your EA by clicking 'Export to MetaTrader 4'.
Click 'Compiled' to download the 'ex4' file, or 'MQL' (subscribers only) to download the 'mq4' file.
Go to the folder where the file is downloaded, right-click the file and choose 'Copy'.
Launch MetaTrader 4.
In MetaTrader, go to 'File', 'Open Data Folder'.
Open the 'MQL4' folder, then the 'Experts' folder.
Paste the file you copied.
This step is for if you downloaded the mq4-file only: double-click the file. Wait for MetaEditor to open the file. Click 'Compile' in the menu bar.
Go back to MetaTrader 4.
In the 'Navigator' panel, right-click 'Expert Advisors' and choose 'Refresh'.
Step 2: Adjusting settings
In MetaTrader 4, go to 'Tools', 'Options' and open the 'Expert Advisors' tab.
Make sure the 'Allow automated trading' checkbox is enabled. Mind you that if you leave the 'Disable ...' checkboxes enabled, the EA will be disabled automatically when you perform these actions. It's entirely up to you if you want that to happen.Options - Expert advisor MT4
click the 'OK' button.
Step 3: Run EA on Demo/ Live
You can now drag-and-drop your EA, from the Navigator panel on the chart.
When the EA window pops up, please verify that in the 'Common' tab the 'Allow live trading' checkbox is enabled.Common - Expert advisor MT4
Click the 'OK' button.
Verify that in the top right corner of the chart you see a happy face.Expert advisor MT4 successfully running
If you don't see a happy face, please open the 'Terminal' panel and look at both the 'Experts' tab and the 'Journal' tab for any error message which will tell you why the EA isn't running.
MetaTrader 5
Step 1: Copying files
Download your EA by clicking 'Export to MetaTrader 5'.
Click 'Compiled' to download the 'ex5' file, or 'MQL' (subscribers only) to download the 'mq5' file.
Go to the folder where the file is downloaded, right-click the file and choose 'Copy'.
Launch MetaTrader 5.
In MetaTrader, go to 'File', 'Open Data Folder'.
Open the 'MQL5' folder, then the 'Experts' folder.
Paste the file you copied.
This step is for if you downloaded the mq5-file only: double-click the file. Wait for MetaEditor to open the file. Click 'Compile' in the menu bar.
Go back to MetaTrader 5.
In the 'Navigator' panel, right-click 'Expert Advisors' and choose 'Refresh'.
Step 2: Adjusting settings
In MetaTrader 5, go to 'Tools', 'Options' and open the 'Expert Advisors' tab.
Make sure the 'Allow automated trading checkbox is enabled. Mind you that if you leave the 'Disable ...' checkboxes enabled, the EA will be disabled automatically when you perform these actions. It's entirely up to you if you want that to happen.Options - Expert advisor MT5
click the 'OK' button.
Step 3: Run EA on Demo/ Live
You can now drag-and-drop your EA, from the Navigator panel on the chart.
When the EA window pops up, please verify that in the 'Common' tab the 'Allow Algo Trading' checkbox is enabled.Common - Expert advisor MT5
Click the 'OK' button.
Verify that in the top right corner of the chart you see a blue hat. If it's gray, the EA is disabled.Expert advisor MT5 successfully running
If you don't see a happy face, please open the 'Terminal' panel and look at both the 'Experts' tab and the 'Journal' tab for any error message which will tell you why the EA isn't running.