How to Run Multiple Expert Advisors (EAs)?

Share this:
Editorial Note: While we adhere to strict Editorial Integrity, this post may contain references to products from our partners. Here's an explanation for How We Make Money. None of the data and information on this webpage constitutes investment advice according to our Disclaimer.

You can run up to 100 EAs simultaneously because the MT4 platform allows you to open up to 100 charts at a time. To install EAs, copy the EA file into the Expert Advisors folder. Login to the MT4 and drag the EA to a chart. From the MT4 platform, you can directly install EAs from the MetaTrader Market; but, you must have an MQL5.com account.

In recent times, the use of trading robots has gained wide acceptance among financial market traders. A study showed that about 92% of Forex trades emanated from trading algorithms and not humans. These robots can automatically scan the charts and open trade positions when they detect a trading opportunity. Of course, they close the trade at the right time; according to their program.

Expert Advisors (EAs) are software algorithms or trading robots that are capable of automating trades on the MT4 and MT5 trading platforms. MetaTrader 4 (MT4) is currently the most widely used Forex trading platform because it is free, rugged, and comes with powerful tools for trading and analysis. Trading with EAs comes with some advantages as well as disadvantages. In this article, we will discuss how to optimize your Forex trades with multiple EAs.

Start trading Forex now with eToro!
eToro is a multi-asset platform which offers both investing in stocks and cryptoassets, as well as trading CFDs.
  • What is an EA bot?

    It is a computer program that automates forex trading on the MT4 or MT5 trading platforms. A trader can automate his strategies by coding them into an EA bot and installing them on the MT4. The EA monitors the charts, finds a good trade setup according to its program, and trades on behalf of the trader without his intervention.

  • What is MT4 used for?

    It is a popular trading platform used for forex and CFD trading. The MT4 enables traders to speculate on the prices of underlying assets by opening and closing trade positions manually or automatically using EAs.

  • What is a magic number on MetaTrader 4 (MT4)

    It is a unique number assigned to an EA to track the orders it opens, especially where there are multiple EAs. Magic numbers help EAs to identify and manage their orders effectively. It is also useful for traders to track the trades of their respective EAs.

  • Can I run more than one EA at the same time on MT4?

    Yes, you can run as many as 100 EAs at the same time. The MT4 platform supports one EA to a chart and also allows you to open up to 100 charts at the same time.

How to run Expert Advisors on MT4

Acquiring EAs

Generally, traders can acquire EAs through any of the following ways:

MetaTrader Market

The MT4 platform gives traders direct access to the “MetaTrader market”. Just click on the “Market” tab within the platform, then click on the “Experts” tab.

MetaTrader market

MetaTrader market

Here, you will find a large collection of EAs and indicators for free, rent, or purchase. You can click on any EA of your choice to view its details such as description, screenshots, specifications, user reviews, price, etc.

To download any EA, you need to first log in to your MQL5 account. If you have none, you can easily create one at no cost. If you wish to test the EA before buying, click on “download demo”.

Developing your own EA

A Forex trader can automate his strategies by coding them into an EA. This can be done in the “MetaEditor” app using the MQL4 programming language. To start the process, open the MT4 platform, right-click on “Expert Advisors” in the Navigator window, and select “Create in MetaEditor”.

If you cannot code, there are EA builder softwares that can help you build an EA without coding. Some of them are EA Builder Pro, EA Studio, StategyQuant X, etc.

Third-party sources

Forex traders can also acquire EAs through third-party websites where they can purchase and download the EA installable files into their computers. Also, free EAs can be obtained in some Forex forums where traders share resources among themselves. Furthermore, some brokers offer traders free EAs. If you do not know how to begin your search for EAs, you can take a look at this article “What Is The Best Forex EA For MT4”.

Installing an EA on the MT4 platform

Downloading EAs from the MetaTrader market automatically installs it on the MT4 platform. It becomes ready for use immediately. But, if you got your EA from another source, follow the steps below to install your EA:

  • Copy the EA files.

  • Go over to your MT4 platform and log into your account.

  • From the Menu bar, click File> Open Data Folder.

  • A new window opens, open the “MQL4” folder.

  • Open the “Experts” folder and paste the EA files here.

  • Close the MT4 platform and restart again. This will enable the changes to take effect.

  • Login to your MT4 again. On the Menubar, click View> Navigator.

  • When the navigator window opens, click on the + sign beside “Expert Advisors” to display all the EAs.

  • Open the chart you want the EA to trade.

  • Choose the EA you want to activate and drag it over the chart. Alternatively, you can right-click the EA and select “attach to a chart”.

Installing an EA

Installing an EA

  • Set the EA parameters and Click OK.

For more details, check out the article “How To Install Forex Expert Advisor (EA)”.

Best Forex brokers in 2024

1
9.4/10
Go to broker
eToro is a multi-asset investment platform. The value of your investments may go up or down. Your capital is at risk. Don’t invest unless you’re prepared to lose all the money you invest.
Minimum deposit:
$50, $100 (for UK clients)
Bonus for deposit:
0%
Regulation:
CySEC, FCA, ASIC
2
9.2/10
Go to broker
Your capital is at risk.
Minimum deposit:
No minimum
Bonus for deposit:
0%
Regulation:
FSC (BVI), ASIC, IIROC, FCA, CFTC, NFA

Possible problems and how to solve them

Zip Files

If you downloaded your EAs from websites, it is possible that you downloaded archived or zip files. Zip files will not work if you copy them to the MT4 Experts folder. To unzip a file, right-click it and select “extract all”.

EA not visible in MT4

If your EA is not displayed in the Expert Advisors section of the “Navigator” window after pasting it there, log out of the MT4 platform and close the window. Relaunch the MT4 and log into your account.

Make sure that the downloaded file is in the correct format which is the .ex4 extension. Check again to ensure that your download was not interrupted.

EA is not working

To activate your EA on the charts, click the “AutoTrading” button on the toolbar of the MT4. It will display a green indication when active and red when inactive. If your EA is working, you will see a smiley face on the top right-hand corner of the chart. If you see a sad face, it means that the EA is not active.

Check the activation of the EA

Check the activation of the EA

Enable DLL Files if Required

Some EAs use .dll files and you need to enable dll before it works. On the MT4 menubar, click Tools>Options. Click the “Expert Advisors” tab and check “Allow automated trading” and “Allow DLL imports”. Click ok.

Allow DLL imports

Allow DLL imports

Next, from the Navigation window, double-click on the EA. Check the “Allow DLL imports” checkbox and click “ok”.

Allow DLL imports

Allow DLL imports

Can you run 2 Expert Advisors at the same time?

Yes, on the MT4, you can only run one EA per chart. If you try to open another EA on the same chart, a dialogue box opens and asks if you want to stop the current EA and execute the new one.

EA chart on the MT4

EA chart on the MT4

This means that you can run up to 100 EAs simultaneously because the MT4 platform allows you to open up to 100 charts at a time.

EA charts on the MT4

EA charts on the MT4

Magic number

This is a unique number assigned to every EA to distinguish the orders it opens. If you have multiple EAs trading the same pair at different timeframes using different strategies, tracking orders placed by each EA becomes challenging. But, with the magic number assigned to each EA, it will be able to identify and manage all its trades without interfering with other trades.

The magic number is very important for monitoring and assessing the performance of each EA especially when you have numerous EAs deployed simultaneously. It can be found under “inputs” in the “properties” window of some EAs. It will also display as a screen tip when you hover your mouse pointer over an active order on the “trade” tab of the MT4.

Unique EA number

Unique EA number

Pros and cons of running multiple EAs

👍 Pros

24/5 trading: EAs do not sleep, so they hardly miss good trading opportunities.

Diversification: Several trades on different currency pairs at the same time can spread the risks and reduce losses.

Increased profit potential: With EAs, you can implement different strategies on several Forex pairs at the same time. This may likely result in increased potential profits.

Time-saving: It eliminates the time that would have been spent on analyzing multiple Forex pairs.

Emotionless trading: Humans are emotional which is bad for Forex trading but EAs have no emotions.

👎 Cons

Potential losses: With time, most EAs lead to multiple losses due to constantly changing market conditions. Also, most EAs do incorporate “market news” or fundamental data; they just keep trading at all times.

High Complexity: Deploying multiple EAs will consume system resources and so the trader will require a more powerful computer or VPS.

High costs: Good EAs cost a lot of money, so deploying multiple EAs will be capital-intensive. Also, the trading fees will be high as brokers charge per open position.

Technical failures: EAs may develop technical hitches like poor connectivity or software bugs. These will lead to missed opportunities and losses.

Potential scam: Using several EAs increases the chances that some of the EAs may be the handiwork of scammers.

Conclusion

EAs are trading robots used on the MT4 platform. EAs are the future of Forex trading because they are fast, precise, emotionless, and trade round the clock. A trader can deploy a maximum of 100 EAs at the same time, from the same MT4 account. Running multiple EAs will reduce risks due to diversification, and increase profit potentials.

To install EAs, copy the EA file into the Expert Advisors folder. Login to the MT4 and drag the EA to a chart. From the MT4 platform, you can directly install EAs from the MetaTrader Market; but, you must have an MQL5.com account.

Furthermore, running multiple EAs comes with some drawbacks. Some of them are higher system requirements, potential technical failures, higher costs, and possible losses due to constantly changing market conditions.

Team that worked on the article

Chinmay Soni
Contributor

Chinmay Soni is a financial analyst with more than 5 years of experience in working with stocks, Forex, derivatives, and other assets. As a founder of a boutique research firm and an active researcher, he covers various industries and fields, providing insights backed by statistical data. He is also an educator in the field of finance and technology.

As an author for Traders Union, he contributes his deep analytical insights on various topics, taking into account various aspects.

Dr. BJ Johnson
Dr. BJ Johnson
Developmental English Editor

Dr. BJ Johnson is a PhD in English Language and an editor with over 15 years of experience. He earned his degree in English Language in the U.S and the UK. In 2020, Dr. Johnson joined the Traders Union team. Since then, he has created over 100 exclusive articles and edited over 300 articles of other authors.

Mirjan Hipolito
Cryptocurrency and stock expert

Mirjan Hipolito is a journalist and news editor at Traders Union. She is an expert crypto writer with five years of experience in the financial markets. Her specialties are daily market news, price predictions, and Initial Coin Offerings (ICO).