← Back to blog
Education7 min read

How to Install an Expert Advisor in MT5 (2026): Step-by-Step Guide

Installing an EA in MetaTrader 5 takes five minutes once you know where each file goes. Step by step: copy the .ex5, enable AutoTrading and confirm it trades.

Installing an Expert Advisor in MetaTrader 5 is simple once you know where each file goes. These are the exact steps, from copying the .ex5 to seeing the smiley face that confirms the EA is trading.

Step 1: open the MT5 data folder

In MetaTrader 5: menu File β†’ Open Data Folder. The explorer opens in the correct folder. Go into MQL5 β†’ Experts.

Step 2: copy the EA file

Copy your .ex5 file (or .mq5 if it is source code) into the Experts folder. If the EA ships its own indicators, put them in MQL5 β†’ Indicators.

Step 3: restart or refresh

Back in MT5, in the Navigator window, right-click "Expert Advisors" β†’ Refresh. Your EA appears in the list.

Step 4: drag the EA onto the chart

Open the chart of the pair and timeframe you want to trade. Drag the EA from the Navigator onto the chart. The properties window opens.

Step 5: enable algorithmic trading

  • On the Common tab, tick "Allow Algo Trading".
  • Set the EA parameters on the Inputs tab.
  • Click the Algo Trading button in the top toolbar (it must turn green).

If you see a smiley face in the top-right corner of the chart, the EA is active and trading.

Step 6: verify on demo first

Before real money, run the EA for 5–7 days on a demo account. Check that it opens and closes trades as expected and that the lot sizes match your configured risk.

Need an EA for MT5?

Master of Liquidity (SMC), grid management and drawdown protection for prop firms. One-time payment, no subscription.

See EAs β†’

Next: how to choose a good MT5 EA.

Running an EA involves risk. Always test on demo before trading live.

Frequently asked questions

Where do you install an EA in MT5?
In the MQL5 β†’ Experts folder inside the data folder (File β†’ Open Data Folder). Custom indicators go in MQL5 β†’ Indicators.
Why is my EA not trading in MT5?
Check that the Algo Trading button is green, that you ticked 'Allow Algo Trading' in the properties, and that the smiley face shows on the chart.
#MT5#expert advisor#EA#MetaTrader 5#install#tutorial#algo trading

Manage your risk with precision. Automated portfolios and tools for MT5.

Explore products β†’
Join Discord