How to Run Expert Advisors on MT4 and MT5: A Complete Setup Guide
Camovia Tray Team · 2026-09-16
The first time you attach an Expert Advisor to a chart and nothing happens, you start questioning everything. Is the EA broken? Did you install it wrong? Is algorithmic trading even enabled?
This moment is surprisingly common. It usually happens because of a simple overlooked checkbox. But before getting to the fix, let’s step back and look at what we’re actually dealing with.
What Expert Advisors Really Are
An Expert Advisor (EA) is an automated trading program that runs inside MetaTrader 4 or MetaTrader 5. It monitors the markets and executes trades based on predefined rules. Some EAs follow simple moving average crossovers, others use complex multi-indicator systems. The idea is the same: remove emotion from execution and stick to the plan.
EAs are written in MQL4 for MT4 and MQL5 for MT5. They can run continuously - even when you are away. That is the appeal. But they are not magic money-makers. An EA that performed well in backtests can start losing rapidly if market conditions change. You still need to monitor them.
Installing an EA: The Step-by-Step
The process is nearly identical for MT4 and MT5. Here is how it works.
Step 1: Download the EA file.
EAs typically come with .ex4 or .mq4 extensions for MT4, and .ex5 or .mq5 for MT5. Download from reputable sources such as the official MQL5 Market or trusted developers. Be wary of claims promising unrealistic returns.
Step 2: Locate the Data Folder.
Open your MetaTrader platform, go to File > Open Data Folder. This opens the directory where the terminal stores all its files.
Step 3: Copy the EA to the right folder.
Navigate to MQL4 > Experts for MT4, or MQL5 > Experts for MT5. Paste the EA file here. If the EA requires .dll libraries, those go into the Libraries folder.
Step 4: Restart the terminal or refresh the Navigator.
Close and reopen MetaTrader, or right-click on Expert Advisors in the Navigator window and select Refresh. The EA should now appear in the list.
Step 5: Attach the EA to a chart.
Drag the EA from the Navigator onto the chart of the instrument you want to trade. A settings window appears.
The Big One: Enabling Algorithmic Trading
This is the step most people miss.
In the settings window, check the box marked Allow Algo Trading (MT5) or Allow live trading (MT4).
But that alone is not enough. You also need to enable the master switch. Look at the top toolbar in MetaTrader - there is a button called Algo Trading (MT5) or AutoTrading (MT4). Click it. It should turn green or show a play icon.
If the EA still does not run, check the Experts and Journal tabs at the bottom of the platform for error messages. Common issues include:
- EA is disabled: This can happen if the EA settings are too aggressive or if the account balance is low.
- DLL imports are blocked: Some EAs require external libraries. Go to Tools > Options > Expert Advisors and check Allow DLL imports.
Where the Installation Process Gets Tedious
Here is the reality: setting up an EA is straightforward the first time, but repetitive if you manage multiple EAs or multiple terminals. You copy files, navigate folders, enable settings, and check the EA is actually running.
Once the EA is live, you might leave MetaTrader minimized while you attend to other things. The platform runs in the background, but the main window takes up screen space. Every time you need to check if the EA is still active or see open positions, you bring the terminal back up.
This is where Camovia Tray becomes relevant. It is not an EA itself, nor does it execute trades. Instead, it turns your MT5 or MT4 into a tray tool[citation:PRODUCT_KNOWLEDGE]. You can check live quotes by hovering over the system tray icon without opening the main terminal. The order panel shows open positions with real-time profit/loss, and you can close positions with a click[citation:PRODUCT_KNOWLEDGE].
For traders running EAs, this solves a practical problem: how to monitor what the EA is doing without constantly switching windows. The data is read from the local terminal and stays on your computer, so there is no data upload or external sharing[citation:PRODUCT_KNOWLEDGE].
Final Thoughts
Running an EA on MT4 or MT5 works when the installation path is correct and algorithmic trading is enabled. Test any EA on a demo account before going live. And if you find yourself constantly clicking back to MetaTrader just to check positions, a tray-based view might simplify that part of the routine.
MT4/MT5 Tray Assistant
Silent tracking, one-click close - check quotes and manage positions right from the tray.
Download Camovia TrayFrequently Asked Questions
What information can I monitor?
Quotes and open positions: symbol, direction, open time, current P&L, and more - all visible in the popup positions tab. Click an order to close it.
Which languages are supported?
Chinese and English, switchable on both the website and the client.
How do I download it?
Install from the Microsoft Store - the download page on this site has the link.
How do I report issues or contact you?
Send an email to [email protected].
Popular Symbols Trading Hours
Open/close times, weekend hours & live market status:
Related Articles
Stop Loss in Trading: What It Is and Why It Matters for Every Trader
Learn what stop loss is and how it protects your capital. Camovia Tray keeps MT4/MT5 running in the background so your stops stay active without screen clutter.
The Hidden Power of Input Parameters in MetaTrader Programs
Discover how input parameters in MetaTrader programs power EA optimization, and why manual traders need fast tools too. Camovia Tray turns MT5/MT4 into a tray tool for quick quotes, position management, and privacy—keeping all data local.
What Is a Stop Loss Explained: From Novice Mistake to Trader’s Safety Net
Discover what a stop loss is and why it's essential for risk management. Learn how Camovia Tray helps MT5/MT4 traders monitor stops and manage positions from the system tray.
MT4 Historical Data Comparison: Why Your Backtest Results May Not Match Reality
Compare MT4 historical data across sources and see why backtest results vary. Camovia Tray helps manage MT4/MT5 terminals with tray-based quotes and position management.
Market Structure Shifts an EA Can Actually Trade: Why Most Traders Get This Wrong
Turn your MT5/MT4 into a tray tool with Camovia Tray. Check live quotes, manage positions, and monitor EA trades from the system tray—data stays local.