To install an Expert Advisor in MT4, open File โ Open Data Folder โ MQL4 โ Experts, paste your .ex4 (or .mq4) file there, refresh the Navigator, and then drag the EA onto a chart with AutoTrading enabled. In fact, the whole process takes about two minutes and works with any Expert Advisor (EA) or Forex robot.
All you need is the MetaTrader 4 platform from your broker and your EA file. Keep in mind that an EA always runs on a computer (PC, Mac or VPS). The MT4 mobile app can show your trades, but it cannot run Expert Advisors.


Install Expert Advisor in MT4: Step by Step
In short, you copy the EA file into the Experts folder of your MT4 and attach it to a chart. Follow these steps:
Step 0: Save your EA file (.ex4 or .mq4) to your desktop. For example, if you use our Double FX Robot, this is the DoubleFXRobotXXXXX.ex4 file you received by email.
Step 1: Open MT4 and go to File โ Open Data Folder.

Step 2: Next, double-click on the MQL4 folder.

Step 3: Then, double-click on the Experts folder.

Step 4: After that, copy and paste your EA file into the Experts folder.

Step 5: Next, go to the Navigator window, right-click on Expert Advisors and choose Refresh (or simply restart MT4). Your EA now appears in the list.

Step 6: Then, press the AutoTrading button on the top toolbar so that it turns green.

Step 7: Drag and drop your EA onto the chart you want to trade (EUR/USD, for example).

Step 8: In the Common tab, tick Allow live trading (and Allow DLL imports only if your EA provider requires it). Then, open the Inputs tab to change the default parameters if needed, and press OK.

Step 9: Finally, repeat steps 7 and 8 for every currency pair you want to trade, according to your preferred profit/risk.
Don’t have an EA yet? Our Double FX Robot is a fully automated MT4 robot with documented results since 2016. It is free for one year when you open a new account with one of our partner brokers. Get Double FX Robot free for one year
How to Check That Your EA Is Running
Once the EA is attached, look at the top-right corner of the chart. A smiling face (or a blue hat icon in newer MT4 builds) means the EA is active. In contrast, a sad face or a grey hat means automated trading is disabled. In addition, check the following:
- The AutoTrading button on the toolbar is green.
- Allow automated trading is ticked under Tools โ Options โ Expert Advisors.
- The Experts tab at the bottom of the Terminal shows that your EA was loaded successfully.
- The Journal tab shows no errors.
Still no trades? Follow our step-by-step checklist: MT4 expert advisor not trading? How to fix it.
EX4 vs. MQ4 Files: What Is the Difference?
An .ex4 file is a compiled Expert Advisor that is ready to run, and most commercial EAs come in this format. An .mq4 file, on the other hand, is the source code. MT4 compiles it automatically when you restart the platform, or you can compile it yourself in MetaEditor (F7). Either way, both file types go into the same MQL4 โ Experts folder.
How to Install an Expert Advisor on Mac or VPS
On a Mac, MT4 usually runs through a compatibility package supplied by your broker, so the steps are the same: use File โ Open Data Folder to find the Experts folder. On a VPS (Virtual Private Server), connect with Remote Desktop and install the EA exactly as you would on a PC. As a result, your EA can trade 24/5 even when your own computer is off.
How to Remove an EA from MT4
To stop an EA, right-click on the chart and choose Expert Advisors โ Remove. To delete it completely, close MT4 and then remove the file from the MQL4 โ Experts folder.
Where to Download an Expert Advisor
Before you can install anything, you need an EA file. Here are the main options:
- The MQL5 Market: the official MetaTrader store, with thousands of free and paid EAs.
- Your EA developer or provider, who usually sends the file by email or a download link.
- Our free Forex robot: the Double FX Robot, free when you open an account with one of our partner brokers. For more details, see our Expert Advisor for MT4 page.
Only download EAs from trusted sources, and always test a new EA on a demo account first.
Get More from Your Expert Advisor
Want to run more than one EA at the same time? See our guide on how to run multiple expert advisors on one MT4 account.
Technical stability is a top priority for any automated trader, yet unexpected issues can occasionally arise. Fortunately, our dedicated team is available to help you resolve any connectivity or platform challenges. Specifically, if you encounter difficulties with your setup or need guidance, you can access our comprehensive Algo Trading Support page for immediate assistance. Consequently, you can ensure your systems remain active and efficient in the market.
FAQ: Installing an Expert Advisor in MT4
Why is my EA not showing in the Navigator?
Usually, the file is in the wrong folder or MT4 has not refreshed yet. First, make sure the file is in MQL4 โ Experts (not in Indicators or Scripts). Then, right-click on Expert Advisors in the Navigator and choose Refresh, or simply restart MT4. Also, check that the file ends in .ex4 or .mq4 and not .zip.
Can I run an EA on MT4 mobile?
No. Expert Advisors run only on the desktop version of MetaTrader 4 (Windows, Mac or VPS). However, you can monitor every trade your EA opens from the MT4 mobile app.
Do I need to keep my computer on?
Yes. MT4 must stay open and connected to the internet for the EA to trade. Therefore, many traders install their EA on a VPS, which runs 24/5 even when their own computer is off.
Can I run several EAs at the same time?
Yes. You can attach one EA per chart, so you can run several EAs on different charts of the same account.
Is it free to install an Expert Advisor on MT4?
Yes. Installing an EA in MetaTrader 4 costs nothing. However, some EAs are paid products, while others, like our Double FX Robot, are available for free.

