Skip to main content

How Do I Install an Expert Advisor in MT4?

Updated this week

Use the following steps to install an Expert Advisor for automated or algorithmic trading:

  1. Open the MT4 platform and select 'File' from the main menu

  2. Click on 'Open Data Folder' to bring up a new folder panel

  3. Select the 'MQL4' folder, drag the 'Experts' file, and drop your EA file(s) into this folder

  4. Restart MetaTrader 4 for changes to take effect

Detailed Installation Guide

Step 1: Obtain the Expert Advisor Files

Before installation, ensure you have the necessary EA files. These typically include:

  • .ex4 file (compiled EA)

  • .mq4 file (source code, optional)

  • Additional libraries or resources if required by the EA

Step 2: Access the Data Folder

  1. Launch your MT4 platform

  2. Click on 'File' in the top menu

  3. Select 'Open Data Folder' from the dropdown menu

Step 3: Navigate to the Experts Folder

  1. In the File Explorer window that opens, double-click on the 'MQL4' folder

  2. Inside the MQL4 folder, find and open the 'Experts' folder

Step 4: Install the EA Files

  1. Copy your EA files (.ex4 and/or .mq4)

  2. Paste them into the 'Experts' folder

    • If your EA requires additional libraries, place them in the 'Libraries' folder within MQL4

    • If your EA includes custom indicators, place them in the 'Indicators' folder

Step 5: Restart and Verify

  1. Close and restart your MT4 platform

  2. Check the Navigator panel (press Ctrl+N if not visible)

  3. Expand the 'Expert Advisors' section

  4. Your newly installed EA should appear in the list

Step 6: Attach the EA to a Chart

  1. Right-click on the EA in the Navigator panel

  2. Select 'Attach to a Chart' or drag and drop it onto your desired chart

  3. Configure the EA settings in the dialog box that appears

  4. Click 'OK' to start using the EA

Troubleshooting Tips

  • If the EA doesn't appear after restart, verify the file was placed in the correct folder

  • Ensure the EA file is compatible with your MT4 version

  • Check if the EA requires additional files or libraries

  • Some EAs may require specific permissions to be enabled in your MT4 settings

For additional assistance with installing or using Expert Advisors on your FXTRADING.com trading account, please contact our support team through Live Chat in your Client Portal or email [email protected].

Did this answer your question?