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

Trading Heroes

Forex Trading Education

  • Articles
  • Products
  • About
  • Resources
  • 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: December 4, 2022
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.

SEE ALSO: The Top 7 Forex Backtesting Software Solutions Compared

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

  • Linux for Forex tradingHow to Run MetaTrader and Forex Tester on Linux
  • Metatrader 4 Strategy TesterHow to Backtest in MT4 with EA Strategy Tester
  • MaxR vs MFEMaxR vs MFE: Why You Need Both
  • Stairs going upHow to Use Advanced Risk Multiple Tracking
  • Broadcast trading alerts on SlackHow to Broadcast Alerts to Multiple Traders From MT4, MT5 and TradingView
  • The Fastest Way to Calculate Risk in ForexThe Fastest Way to Calculate Risk in Forex
  • Journal missed trades for maximum profits5 Reasons to Journal Your Missed Trades Too
  • tradingview RSI alertsHow to Setup RSI Alerts on TradingView

Category: Trading Software Tutorials Tag: MetaTrader 4 Tutorials

About Hugh Kimura

Hi, I'm Hugh. I'm an independent trader, educator and researcher. I used to work at a hedge fund and the largest bank in Hawaii. Now I help traders optimize their trading psychology and trading strategies. Learn more about me here.

Financial freedom is probably closer than you think. Stop paying for things that don’t make you truly happy.
Nobody understand everything. Double check your assumptions. Double check others.

Primary Sidebar

Trading Guides

The Ultimate Beginner’s Guide to Forex Backtesting

How to Figure Out Your Trader Personality Profile

The Forward Testing Guide for Beginners

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

Learn the weird trading method that doesn't use stop losses...

Forex Hedging Guide
FREE Guide
Download Now

Footer

Company

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

Community

  • YouTube
  • Twitter
  • Instagram
  • Facebook

Tutorials & Guides

  • Best Trading Resources
  • Free Forex Trading Course for Beginners
  • Free Backtesting Guide for Beginners
  • Trader Personality Profile
  • Best Trading Books

Articles

  • Backtesting
  • Podcast
  • Trader Life
  • Trading Psychology
  • Trading Software Tutorials
  • Trading Strategies

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. You are 100% responsible for your losses...and gains. You are more powerful than you know, keep expanding.

 

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

Learn Zen8 Forex Hedging

Hedging can be a low-stress and consistent way to trade. Enter your email and I'll send you the FREE guide. 

x