Camovia Tray™

Blog · Solutions

How to Install Expert Advisors on MT4 and MT5: A Step-by-Step Guide for Traders

Camovia Tray Team · 2026-09-12

You've just found a promising Expert Advisor (EA) that claims to perfectly capture your trading strategy. The backtest results look impressive, and you're eager to see it run on your live chart. You download the files, open your MetaTrader platform, and then... you pause. Where exactly do these files go? How do you actually make the EA start trading?

For many traders, especially those new to algorithmic trading, this moment of hesitation is all too familiar. The installation process for Expert Advisors on MetaTrader 4 (MT4) and MetaTrader 5 (MT5) isn't difficult, but it does require a precise sequence of steps. One wrong folder, and your EA won't even appear in the Navigator panel. One unchecked box, and it will sit on your chart like a silent ornament, never placing a single trade.

This guide provides a clear, step-by-step walkthrough for installing and activating an EA on both MT4 and MT5, highlighting the key details that can make or break your automated trading setup.

Understanding the Expert Advisor Installation Process

Before diving into the steps, it's important to understand what you're dealing with. An Expert Advisor is an automated trading program written in MQL4 (for MT4) or MQL5 (for MT5) . When you download an EA, it typically comes as a file with a specific extension. For MT4, look for files ending in .ex4 (compiled) or .mq4 (source code). For MT5, the extensions are .ex5 and .mq5 respectively .

Regardless of the platform, the installation involves placing these files into the correct directory within the MetaTrader platform's data folder. From there, the EA can be attached to a chart and configured to start trading.

Installing an Expert Advisor on MT5

The MT5 installation process is straightforward and doesn't require any special tools. Here's how to do it:

Step 1: Locate the Data Folder

Open your MT5 platform. On the top menu, click File and then select Open Data Folder . This will open a new file explorer window showing the root directory of your MT5 installation.

Step 2: Navigate to the Expert Advisors Folder

In the data folder, find and open the MQL5 folder. Inside, you will see a subfolder named Experts . This is the specific location where all your EA files must be placed.

Step 3: Copy the EA File

Now, locate your EA file (the .ex5 or .mq5 file) on your computer. Drag and drop or copy-paste this file directly into the Experts folder you just opened .

Step 4: Refresh and Activate

Close the data folder window. Return to your MT5 platform. In the Navigator panel (you can open it by pressing Ctrl+N), find the Expert Advisors section. Right-click on it and select Refresh . Alternatively, simply close and reopen MT5; the platform will load the new EA on startup . You should now see your newly installed EA listed.

Installing an Expert Advisor on MT4

The process for MT4 is nearly identical, with the main difference being the folder structure.

Step 1: Access the Data Folder

Open MT4 and go to File > Open Data Folder from the top menu .

Step 2: Navigate to the MT4 Experts Folder

In the data folder, locate the MQL4 folder and then open the Experts subfolder . This is the destination for your MT4 EA files.

Step 3: Copy the EA File

Copy your EA file (.ex4 or .mq4) into the Experts folder.

Step 4: Refresh and Confirm Installation

Return to MT4. In the Navigator panel (Ctrl+N), right-click on Expert Advisors and select Refresh . Your EA should now appear in the list.

Attaching an EA to a Chart and Enabling Auto-Trading

Placing the file in the right folder is only half the battle. To get your EA running, you must attach it to a chart and ensure automated trading is enabled.

Attaching the EA to a Chart

Open the chart for the instrument you want the EA to trade. In the Navigator panel, simply click on your EA and drag it onto the chart, or double-click it . An EA settings dialog box will appear.

Configuring EA Settings and Enabling Live Trading

In the settings dialog, the most critical action is on the Common tab. Here, you must check the box that says "Allow live trading" (MT4) or "Allow automated trading" (MT5) . If you don't, the EA will load on the chart but will not execute any trades.

Enabling the Global Auto-Trading Button

Even with "Allow live trading" checked, your EA won't trade until the global "AutoTrading" button is turned on. This button is located on the main MT4/MT5 toolbar . It typically looks like a green play icon. Make sure this button is active (pressed down) and not showing a red "stop" icon. For MT4, you can also verify the global setting by going to Tools > Options > Expert Advisors and ensuring "Allow automated trading" is checked .

Common Issues and How to Resolve Them

Even with the right steps, things can go wrong. Here are some of the most common pitfalls:

"My EA Isn't Showing Up in the Navigator"

The most frequent cause is using the wrong folder. Make sure you put the EA file in the MQL4/Experts or MQL5/Experts folder, not somewhere else like the root directory or the Indicators folder . Also, remember to refresh the Navigator or restart the platform.

"The EA is on the Chart, But Not Trading"

This usually points to one of two issues:

  1. The "Allow live trading" checkbox in the EA settings was not checked.
  2. The global AutoTrading button on the toolbar is disabled. Check it and ensure it's active .

"The EA Icon Shows an 'X' or Frown Face"

This is MT4's way of telling you the EA is loaded but the environment isn't ready for it to trade. The most common reason is that the global AutoTrading button is off. An EA with a smiley face icon means it's active and ready to trade .

A Practical Consideration for EA Users

Once your EA is installed and running, you'll notice it works only when the MetaTrader desktop terminal is open and connected to the internet. If your computer goes to sleep or you close the platform, the EA stops. Many traders solve this by using a Virtual Private Server (VPS) to keep their terminal running 24/7 .

This is where the broader experience of managing your trading tools comes into play. Installing an EA is often the first step. The next is managing the EA—and your other trading activities—efficiently.

You might find yourself frequently checking on the EA's performance. Does it have open positions? Are they in profit? This often means bringing the MetaTrader terminal to the foreground, which can be disruptive if you're using your computer for other tasks.

For those moments, it's helpful to have a way to keep an eye on your positions without interrupting your workflow. This is the kind of everyday scenario where a tool like Camovia Tray can be useful. It allows you to view live quotes and manage open positions directly from your system tray, keeping the information discreet and accessible without needing to bring the full MT4 or MT5 window to the front [citation:product_knowledge]. While your EA runs its automated strategy, you can maintain a convenient overview of your account's status and have the ability to close a position with a couple of clicks if needed [citation:product_knowledge]. It's about making the tools you already use work more smoothly in your day-to-day routine.

Turn MT5 / MT4 into a Tray Tool

Check quotes, manage positions, and hide in one click.

Download Camovia Tray

Frequently Asked Questions

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].

Where are the privacy policy and user agreement?

The "Privacy" and "EULA" links in the footer of this site, with GDPR/CCPA information included.

What is Camovia Tray?

A Windows desktop app that turns MT5/MT4 into a tray tool: hover the system tray to check the latest quotes and manage open positions (click an order to close it), hide the MT5/MT4 main window in one click, and keep quote and position data entirely on your computer.

Popular Symbols Trading Hours

Open/close times, weekend hours & live market status: