This guide shows you exactly how to install MT4 and MT5 Expert Advisors on your MetaTrader platform, step by step. An Expert Advisor, or EA, is an automated trading program that watches the market and places trades for you based on its rules. Every EA on forexmt4systems.com arrives as a compiled file — an .ex4 for MetaTrader 4 and an .ex5 for MetaTrader 5 — so once you copy it into the correct folder it attaches to your chart and runs on its own. In short, the copy step takes about a minute. The key difference from an indicator is that an EA opens and manages real trades, so you also have to switch automated trading on before it can act.
First, the good news: there is no compiling and no coding. You download a file, drop it into one folder, refresh the platform, and drag it onto a chart. After that, you enable trading with two clicks and confirm the EA is live. Below, you will find the full walkthrough for both platforms, plus where MetaTrader keeps its files, how to turn on automated trading safely, how to update or remove an EA, and how to fix the few issues that occasionally come up.
What you need before you install an MT4 or MT5 Expert Advisor
Before you begin, get the following ready:
- A working installation of MetaTrader 4 or MetaTrader 5 from your broker or from MetaQuotes.
- The Expert Advisor you downloaded from this site, unzipped. You will see an
.ex4file for MT4 or an.ex5file for MT5. - A chart open on the pair or instrument the EA is built to trade.
- A demo account to test on first, so no real money is at stake while you learn the settings.
Because the downloads arrive as compiled, ready-to-run files, you do not need the MQL source code, and you never have to open MetaEditor. As a result, installation stays simple and identical across every Expert Advisor in the library.
How to install an MT4 or MT5 Expert Advisor step by step
The core idea stays the same on both platforms: first you copy the file into the terminal’s Experts folder, then you refresh the Navigator, next you drag the EA onto a chart, and finally you allow it to trade. The platform-specific instructions follow underneath.

Install an Expert Advisor on MetaTrader 4
- Download and unzip the EA, then locate the
.ex4file. - Open MetaTrader 4 and click File → Open Data Folder.
- Inside the window that opens, go to MQL4 → Experts.
- Copy the
.ex4file into that Experts folder. - Back in MT4, right-click Navigator → Expert Advisors and choose Refresh, or simply restart the terminal.
- Drag the EA from the Navigator onto your chart, set the inputs, and tick Allow live trading in the Common tab before you click OK.
- Finally, click the AutoTrading button in the toolbar so it turns green. A smiley face in the top-right corner of the chart means the EA is running.
Install an Expert Advisor on MetaTrader 5
- Unzip the EA first, then locate the
.ex5file. - Open MetaTrader 5 and click File → Open Data Folder.
- Next, go to MQL5 → Experts.
- Copy the
.ex5file into the Experts folder. - Right-click Navigator → Expert Advisors and choose Refresh, or restart MT5.
- Drag the EA onto your chart, confirm the inputs, and tick Allow Algo Trading before you click OK.
- Finally, click the Algo Trading button in the toolbar so it turns green, then check for the smiley face on the chart.
Where MetaTrader stores Expert Advisors
Expert Advisors live inside the platform’s data folder, not in the Program Files installation folder. That is why every step above starts with File → Open Data Folder — it takes you straight to the right place, even on a portable or multi-terminal setup. Inside the data folder, MT4 uses the MQL4 directory while MT5 uses MQL5, and EAs always sit in the Experts sub-folder. Note that indicators go in Indicators and scripts in Scripts, so make sure you drop the EA file into Experts. Finally, if you copied the file while the terminal was open and it does not appear, simply refresh the Navigator or restart the platform.

How to enable automated trading safely
An Expert Advisor cannot place a single trade until you switch automated trading on. There are two toggles, and both must be active. In the attach dialog, tick Allow live trading on MT4 or Allow Algo Trading on MT5. Then, in the main toolbar, click the AutoTrading button on MT4 or the Algo Trading button on MT5 so it shows green. When both are on, a smiley face appears in the top-right corner of the chart; a sad face or a red toolbar button means trading is still blocked.

Because an EA trades with real money the moment it is live, treat the switch-on with care. Follow these habits:
- Test on a demo account first. Run the EA on demo for days or weeks so you see how it behaves before you risk a cent.
- Use a stop loss on every trade. Confirm the EA sets a stop, or set one in its inputs, so a single move cannot run away against you.
- Start small. Begin with the minimum lot of 0.01, or risk around 1% per trade, until the results convince you.
- Run it on a VPS. An EA only works while MetaTrader is open and online, so a Forex VPS keeps it trading 24/5 without your own computer running.
- Match the EA to the right symbol and timeframe. Attach it only to the pair and period it was built for.
Most EAs expose their risk controls through the inputs panel. Common settings include the money-management mode (a fixed lot such as 0.01, or a % risk per trade), StopLossPips and TakeProfitPips, a MagicNumber that keeps the EA’s trades separate from your manual ones, MaxOpenTrades to cap exposure, and MaxSpreadPoints to skip trading when the spread is too wide. Set these to match your account size and risk comfort before you go live.
How to update or remove an Expert Advisor
To update an EA, first remove it from any open charts, then replace the old .ex4 or .ex5 with the new file of the same name, and refresh the Navigator. To remove one from a chart, right-click the chart, choose Expert Advisors → Remove, or simply attach a different template. Finally, to uninstall it completely, delete the file from the Experts folder and refresh once more. Removing an EA stops new trades, but it does not close positions already open — close or manage those yourself in the Trade tab.
Common problems when you run an Expert Advisor
- The EA is attached but places no trades. First check that AutoTrading (MT4) or Algo Trading (MT5) is green in the toolbar, and that the chart shows a smiley face rather than a sad one.
- “Allow live trading” was left unticked. Re-open the EA’s properties, tick the box in the Common tab, and click OK. Without it, the EA runs but cannot send orders.
- The market is closed. Many EAs only trade during specific sessions, and none trade over the weekend. Wait for the pair to open, or check the EA’s session inputs.
- The spread is too high. If
MaxSpreadPointsis set low, the EA skips trades when the spread widens. Raise the limit only if it suits your broker’s conditions. - Wrong symbol or timeframe. Attach the EA to the pair and period it was designed for; on the wrong chart it may do nothing.
- “Expert cannot load” or wrong platform. An
.ex4file runs on MetaTrader 4 only, while an.ex5runs on MetaTrader 5 only, so copy the file that matches your platform.
Tips to get the most from your Expert Advisor
Once the file sits in the Experts folder and both trading toggles are on, the EA works on its own. First, run it on a demo account long enough to trust it; next, learn how each input changes its behaviour; and above all, keep an eye on it rather than leaving it unwatched forever. A VPS keeps the EA online through the trading week, while a strict stop loss and a small lot size protect your account while you learn. If automated trading is new to you, Investopedia’s primer on automated forex trading makes a solid starting point. Finally, when you want more, browse the full collection of free MT4 and MT5 Expert Advisors.
FAQ
Where do I put MetaTrader Expert Advisors?
They go into the data folder: MQL4/Experts on MT4 and MQL5/Experts on MT5. Simply open it from File → Open Data Folder, then refresh the Navigator.
Do I need to keep MetaTrader open for the EA to trade?
Yes. An Expert Advisor only trades while MetaTrader is running and connected to the internet. If you close the terminal, the EA stops. To keep it trading around the clock, run it on a Forex VPS instead of your own computer.
Does my PC need to stay on for the EA to work?
Your computer must stay on and online while the EA runs, or you move it to a VPS. A VPS keeps MetaTrader and the EA live 24/5 even when your PC is off.
Is it safe to run an Expert Advisor?
An EA trades automatically with real money, so treat it with care. Test it on a demo account first, make sure every trade uses a stop loss, and start with small lots. Those habits keep the risk under control while you learn how it behaves.
Why is my EA not trading?
Run through the checklist: AutoTrading or Algo Trading must be green, Allow live trading must be ticked, the market must be open, the spread must be within the EA’s limit, and the chart must show the smiley face.
Can I change how much the EA risks?
Yes. Open the EA’s inputs and adjust the money-management settings — a fixed lot such as 0.01, or a percentage risk per trade — along with StopLossPips, MaxOpenTrades and the other risk controls. Set them to match your account before you go live.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed, and past performance is not indicative of future results. Therefore, treat any Expert Advisor as one tool in your own trading, test it on demo first, and never risk money you cannot afford to lose.
