Home › Blog

How to Install an Expert Advisor (EA) on MT5: Step-by-Step

By MR WOW EA Team · September 29, 2026 · 8 min read

What Is an Expert Advisor and Why Install One on MT5?

An Expert Advisor (EA) is a program that runs inside MetaTrader 5 and executes trades automatically based on pre-programmed rules. Instead of sitting at your computer watching charts all day, an EA can monitor price movements, identify setups, and place trades for you. Many retail traders use EAs to trade gold (XAUUSD), currency pairs, and other instruments without manual intervention.

MT5 is one of the most popular trading platforms worldwide, and it supports Expert Advisors written in the MQL5 programming language. Before you can use any EA, you must install it correctly. This process involves downloading the EA file, placing it in the right folder, and enabling automated trading in your MT5 settings.

Keep in mind that while EAs can automate your strategy, trading always carries risk. No EA can guarantee profits, and you should only trade with capital you can afford to lose.

Step 1: Download Your Expert Advisor File

First, you need to obtain the EA file itself. Most EAs come as .ex5 files, which are compiled MQL5 programs ready to run on MT5. You might also see .mq5 files, which are the source code versions that need compilation.

If you're getting an EA from MR WOW EA, you'll typically download a .ex5 file from the product page. For example, the Trend Stacker EA or the BUY STOP & SELL STOP EA come ready to install. Save the file to a location on your computer where you can easily find it, such as your Downloads folder or Desktop.

Step 2: Locate the MT5 Data Folder

MT5 stores all Expert Advisors in a specific folder on your computer. To install your EA, you need to place the file in this folder. Here's how to find it:

A new Windows Explorer (or Finder on Mac) window will open. This is your MT5 data directory. Inside, you'll see several folders including MQL5.

Step 3: Copy the EA File to the Experts Folder

Now you'll place your EA file in the correct location:

If you downloaded a .mq5 source file instead, you can place it here too, but you'll need to compile it first using the MetaEditor (press F4 in MT5 to open MetaEditor, open the .mq5 file, and click Compile).

After copying the file, you can close the file explorer window.

Step 4: Refresh or Restart MT5

MT5 doesn't automatically detect new files added to the Experts folder while it's running. You have two options:

After refreshing or restarting, your EA should appear in the Navigator panel under Expert Advisors.

Step 5: Enable Automated Trading in MT5

Before any EA can run, you must enable automated trading in MT5. This is a safety feature that prevents EAs from placing trades without your permission.

If the button is gray or red, automated trading is disabled and your EA won't work.

You can also check this setting by going to Tools > Options > Expert Advisors and making sure Allow automated trading is checked.

Step 6: Attach the EA to a Chart

Now it's time to load your EA onto a chart:

A settings window will pop up immediately.

Step 7: Configure EA Settings and Inputs

The settings window has several tabs:

Common Tab

This tab controls basic EA behavior:

Inputs Tab

This is where you customize your EA's trading parameters. Every EA has different inputs, but common ones include:

For example, when setting up the Gold Grinder or Bull Dog Pro scalping EAs, you'll typically adjust lot size and risk parameters to match your account size and risk tolerance.

If you're unsure about any setting, start with the default values or contact MR WOW EA support for guidance on optimal configurations.

Dependencies Tab

Shows any additional files the EA requires. Usually you can ignore this tab.

After reviewing all settings, click OK to attach the EA to your chart.

Step 8: Verify the EA Is Running

Once attached, you should see a small smiley face icon in the top-right corner of your chart:

You'll also see the EA's name in the top-left corner of the chart, confirming it's loaded.

Open the Experts tab at the bottom of MT5 (in the Toolbox panel) to see log messages from your EA. This shows initialization messages, trade actions, and any errors.

Common Installation Issues and Solutions

EA Not Appearing in Navigator

If your EA doesn't show up after copying it:

EA Shows Sad Face or Error

Common causes:

Check the Experts log tab for specific error messages.

EA Not Placing Trades

If the EA runs but doesn't trade:

Testing Your EA Safely

Before running any EA on a live account, test it first:

Demo Account Testing

Open a free demo account with your broker and install the EA there. This lets you see how it performs with no financial risk. Run it for at least a few days or weeks to understand its behavior.

Strategy Tester

MT5 includes a built-in Strategy Tester for backtesting EAs:

The tester will simulate months or years of trading in minutes. Remember that past performance in backtests does not guarantee future results. Backtesting helps you understand an EA's logic but can't predict real-world results with certainty.

Start with Small Lot Sizes

When you first go live, use the minimum lot size (often 0.01) until you're confident the EA works as expected. You can gradually increase position sizes as you gain experience.

Managing Multiple EAs

You can run multiple Expert Advisors simultaneously on different charts:

For example, you might run Alpha Tactical Machine on XAUUSD M5 chart while also using a different EA on EURUSD H1, as long as each has different magic numbers.

Important Settings Summary

Setting Location Purpose
AutoTrading Button Top toolbar Enable/disable all EAs
Allow Live Trading EA settings Common tab Let specific EA place trades
Lot Size EA settings Inputs tab Position size per trade
Magic Number EA settings Inputs tab Identify EA's trades
Stop Loss/Take Profit EA settings Inputs tab Risk management levels

Updating Your EA

When a new version of your EA is released:

Your previous settings may not carry over, so write down or screenshot your configuration before removing the old version.

Risk Management Reminders

Installing an EA is just the technical first step. The real challenge is managing risk properly:

No Expert Advisor, no matter how sophisticated, can eliminate trading risk or guarantee profits. Markets are unpredictable, and automated systems can experience losses just like manual trading.

Getting Help with Installation

If you're having trouble installing an EA from MR WOW EA, we're here to help. Reach out through our contact page with details about any error messages or issues you're seeing. Include screenshots if possible, and mention which EA you're trying to install and what broker you're using.

Many installation problems are simple fixes once we understand what's happening. Don't hesitate to ask for assistance before risking real money on a misconfigured EA.

Final Thoughts

Learning how to install EA on MT5 is an essential skill for anyone interested in automated trading. Once you've done it a few times, the process becomes second nature. You'll be able to test different EAs, compare their performance, and find strategies that fit your trading style and risk tolerance.

Remember that the installation is just the beginning. Success with Expert Advisors requires ongoing monitoring, adjustment, and realistic expectations. Start small, test thoroughly, and never invest more than you can afford to lose.

With your EA properly installed and configured, you're ready to explore the world of automated trading on MetaTrader 5. Good luck, and trade responsibly.

Frequently Asked Questions

Where exactly do I place the EA file on my computer?

Open MT5, click File > Open Data Folder, then navigate to MQL5 > Experts. Place your .ex5 file in that Experts folder. After copying, refresh the Navigator in MT5 or restart the platform.

Why does my EA show a sad face icon instead of a smiley face?

A sad or gray face usually means automated trading is disabled. Click the "AutoTrading" or "Algo Trading" button in the top toolbar of MT5 until it turns green. Also check that "Allow live trading" is enabled in the EA's settings on the Common tab.

Can I run multiple Expert Advisors at the same time?

Yes, you can attach different EAs to different charts simultaneously. Just make sure each EA has a unique magic number to identify its trades, and monitor your total margin usage since all EAs will draw from the same account balance.

Should I test an EA before using it on my real account?

Absolutely. Always test on a demo account first for at least several days, or use the MT5 Strategy Tester to backtest. Start with minimum lot sizes when you go live. Remember that testing shows how the EA works but cannot guarantee future profits, as markets are unpredictable.

What's the difference between .ex5 and .mq5 files?

An .ex5 file is a compiled, ready-to-use Expert Advisor that you can immediately attach to a chart. An .mq5 file is the source code that needs to be compiled first using MetaEditor before it becomes an .ex5 file. Most users receive .ex5 files that are ready to install directly.

Risk warning: Trading forex and gold carries a high level of risk. Past performance does not guarantee future results. Test any EA on a demo account first. Read the full risk disclaimer.
Need help setting up an EA? Browse our MT5 Expert Advisors and indicators or contact our support team.

More articles