• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Trading Heroes

Forex Trading Education

  • About
  • Articles
  • Resources
  • Shop
  • Login

How to Install an EA in MT4

Learn the fastest way to install an Expert Advisor for MetaTrader 4. Also learn the common mistakes to avoid.

Home / Trading Software Tutorials / How to Install an EA in MT4

Last updated: March 29, 2024
By Hugh Kimura

The process of installing an Expert Advisor (EA) is very simple. EAs are also known as trading robots. They can execute automated trading strategies or manage your trades.

Installing an EA is easy, here are the steps:

  1. Download the custom EA
  2. Open MT4 and go to File > Open Data Folder in the menu
  3. Navigate to MQL4 > Experts
  4. Drag the EA into the Experts folder
  5. Restart MT4 and drag the EA onto the chart

If you want more details, the tutorial below will give you step-by-step instructions on how to install your first EA.

It only takes a couple of minutes, once you know what you're doing.

The Installation Process

Installing an EA can be a little confusing, if you've never done it before.

These simple steps will have you up and running with your new EA in just a couple of minutes.

For Trading Heroes Readers Only: Click here to get a HUGE limited-time discount on Forex Tester

Remember that EAs cannot be installed on the web or mobile versions of MT4. They only work on the desktop version.  

Step 1: Download the Custom EA

First download the custom EA from your provider. It doesn't matter where you get the EA from, as long as you trust the source.

You can download an EA from the MT4 Codebase or from our Store.

If the EA is in .ZIP format, then double click the file to extract it. From there, you should get a .EX4 or .MQ4 file.

Either file format will work.

EA file types

Step 2: Open the MT4 Data Folder

Once you have the EA downloaded, it's time to add it to MT4.

Open MetaTrader, then go to File > Open Data Folder at the top of the screen.

This will open the data folder where all of the data for your user profile is stored.

Step 3: Copy the EA Into the Data Folder

Double-click the MQL4 folder, then double-click the Experts folder.

Then drag and drop the EA into the Experts folder.

Your EA is now installed.

Step 4: Restart MT4

In order for the EA to be available, you have to restart MT4.

MT4 navigator window

Once you restart MetaTrader, make sure the Navigator window is open. You can access the Navigator window by doing one of the following:

  • Press Control + N on your keyboard
  • Click the Navigator button on the toolbar
  • Go to View > Navigator in the menu

The expand the Experts folder to see your EA.

Step 5: Activate the EA on a Chart

AutoTrading active

Now be sure that the AutoTrading button is selected. If the button is green EAs are activated. If the button is red, EAs will not work.

Drag the EA from the Navigator window into your chart window. You should see the name of the EA in the upper right corner with a happy face next to it. This shows that the EA is active.

If there is a sad face next to the indicator name, that means you have to activate AutoTrading by clicking the button in the toolbar.

Common Mistakes When Installing an EA

There are 2 common mistakes that people make when installing an EA.

First, some people double click the EA and expect it to install by itself. An EA has to be installed manually and does not include an auto installer. 

EAs come in either .EX4 or .MQ4 formats. If you want to edit an EA, then you need the .MQ4 file. This is the source file that humans can read and edit.

Once the .MQ4 file is compiled, it's turned into a .EX4 file, which MetaTrader 4 can use. You cannot edit an EA in .EX4 format.

Second, some traders try to use Windows File Explorer to navigate to the MT4 folder and install the EA. MetaTrader used to work like that, but they now use profile folders that are hidden deep in the Windows file system. 

So you need to use the File > Open Data Folder menu item to access the Experts folder that you're currently using with your user profile in Windows.

Final Thoughts

EAs are fantastic tools for automating part or all of your trading system. You don't have to run a completely automated robot. Incremental Automation helps you automate your entry, exit or trailing stop loss.

So consider using an EA, even if you don't want to be 100% automated trader. If you don't know how to code, here are tips on finding a programmer.

You can see our available EAs and other MetaTrader plugins here.

Related Articles

  • How to Install Custom Indicators on MT4 Mac
  • How to Install Custom Indicators in MetaTrader 4
  • How to Install Indicators on MT5
  • How to Install Custom MT4 Indicators in Forex Tester 5
  • How to Retrieve a MetaTrader 4 Deleted Chart Window
  • How to Measure Pips and Bars/Candlesticks on a MT4 Chart

Category: Trading Software Tutorials Tag: MetaTrader 4 Tutorials

About Hugh Kimura

Hi, I'm Hugh and I'm an independent trader. Before starting Trading Heroes in 2007, I used to work at the trading desk of a hedge fund, for one of the largest banks in the world and at an IBM Premier Business Partner.

Learn more about me here and read more of my articles here.

Primary Sidebar

Trading Guides

How to Backtest a Trading Strategy in Any Market

The Heroic Guide to Forex Hedging for Beginners

How to Figure Out Your Trader Personality Profile

The Forward Testing Guide for Beginners

How to Create a Precise Trading Plan (with PDF worksheet)

About Hugh Kimura

 About Hugh Kimura

Hi, I'm Hugh. I'm an independent Trader and I started Trading Heroes in 2007.

Before starting this site, I worked at the trading desk of a hedge fund, at one of the largest banks in the world, and at an IBM Premier Business Partner.

Learn more
FREE Forex Hedging Guide
Forex Hedging Guide
Learn how Forex Hedging really works.

Download Now

Footer

Company

  • Trading Courses and Education
  • Trading Blog
  • About
  • Contact
  • Beware of Imposters

Articles

  • Backtesting
  • Etheric Finance Podcast
  • Forward Testing
  • Funded Trader Programs
  • Podcast
  • Trader Life
  • Trading Psychology
  • Trading Software Tutorials
  • Trading Strategies

Community

  • YouTube
  • Flipboard
  • Twitter
  • Instagram
  • Facebook

Trading involves risk and can result in the loss of your investment. Invest at your own risk. Past performance does not guarantee future results. All information on this site is for informational purposes only and is not trading, investment, tax or health advice. The reader bears responsibility for his/her own investment research and decisions. Seek the advice of a qualified finance professional before making any investment and do your own research to understand all risks before investing or trading. TrueLiving Media LLC and Hugh Kimura accept no liability whatsoever for any direct or consequential loss arising from any use of this information. This site is reader supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate, we earn from qualifying purchases. You are more powerful than you know, keep expanding.

 

Copyright © 2007–2025 TrueLiving Media LLC | Terms | Privacy | Risk