Homeใ€€>ใ€€EA & MT5 Knowledge Baseใ€€>ใ€€Running Multiple EAs at Once

Multi-EA OperationLive OperationIntermediate

Running Multiple EAs at Once โ€” MagicNumber and Interference Prevention

Last updated: 2026-05-20 | Estimated reading time: 14 min

Running multiple EAs together can diversify risk and smooth out performance. However, incorrect configuration can cause EAs to interfere with one another, leading to unexpected losses. This article covers the practical points you need to run multiple EAs safely at the same time.

Benefits of running multiple EAs simultaneously

Relying on a single EA means the entire account falls into drawdown whenever that EA enters a difficult market phase. Combining multiple EAs with different market tendencies allows one EA to hold its own while another is underperforming, resulting in a smoother equity curve.

To maximize this effect, it is important to select EAs with low correlation. Simply stacking EAs on the same currency pair with the same strategy provides no real diversification. Combine different currency pairs and different strategy types โ€” for example, trend-following alongside mean-reversion.

Detailed guidance on building EA combinations is covered in the "EA Portfolio Strategy" article. This article focuses specifically on the practical mechanics of running them simultaneously once you have decided on a combination.

The role of MagicNumber

MagicNumber is a number used by an EA to identify the positions it has opened. Each position carries this number, and an EA only operates on positions that carry its own MagicNumber.

When multiple EAs run on the same account, as long as each EA has a different MagicNumber, they will not interfere with each other's positions. If two EAs share the same number, however, one EA may accidentally close a position opened by the other.

The cardinal rule when running multiple EAs is: assign a unique MagicNumber to every EA. Always verify MagicNumbers to distinguish EA-managed positions from manual trades as well.

Preventing EAs from interfering with each other

Beyond MagicNumber, keep the following in mind when running multiple EAs.

1

Give every EA a unique MagicNumber

This is the most important rule. EAs from this site ship with a unique number pre-assigned. If you change it yourself, make sure there are no duplicates.

2

Avoid running multiple EAs on the same symbol

Running more than one EA on the same symbol can cause one EA's positions to influence the other's logic. The general rule is one EA per symbol.

3

Keep to one EA per chart

MT5 only allows one EA per chart. Open a separate chart for each EA.

4

Check for unintended hedging

If one EA is long and another EA is short on the same symbol, the account is in a net-hedged state. Avoid unintended hedging.

Managing combined risk

The most commonly overlooked aspect of running multiple EAs is combined risk. If each EA is set to 1% risk, the moment three EAs all enter at the same time the account's total risk is 3%.

Furthermore, highly correlated EAs tend to enter in the same direction at the same time, which inflates combined risk even further. The more EAs you add, the lower each individual EA's risk percentage must be.

No. of EAsRisk per EA (guideline)Combined risk (guideline)
11.0%1.0%
2โ€“30.5โ€“0.7%approx. 1.5โ€“2.0%
4โ€“60.3โ€“0.5%approx. 2.0โ€“2.5%
7 or more0.2โ€“0.3%keep below 2.5%
Keeping combined risk to 2โ€“3% is a reasonable guideline. Also verify that your margin level remains comfortable when all EAs are holding positions simultaneously.

How many EAs can one MT5 instance handle?

MT5 itself can run many EAs concurrently, but the practical limit is determined by your VPS or PC specifications. Each additional EA means another chart and more indicator calculations, which consume memory and CPU.

A VPS with 2 GB of RAM can generally handle 3โ€“5 EAs stably; 4 GB allows roughly 5โ€“10. EAs with heavy compounding calculations or those that use many indicators consume more resources.

Increasing the number of EAs is not a goal in itself. What matters is carefully selecting EAs with low correlation. Running 10 similar EAs side by side produces almost no diversification benefit. Leave headroom in your system specs, and reduce the number of EAs if performance degrades.

๐Ÿ“ˆ Learn how to combine EAs effectively

The effectiveness of running multiple EAs depends on which ones you pair together. The portfolio strategy article explains how to build a combination.

Read the portfolio strategy guide โ†’

Frequently Asked Questions

Q: What is a MagicNumber and do I have to set it?

MagicNumber is the number an EA uses to identify the positions it has opened. When running multiple EAs on the same account, each EA must have a different number. EAs from this site ship with a unique number pre-assigned, so you normally do not need to change it.

Q: Can I run two EAs on the same currency pair?

As a general rule, avoid it. Running more than one EA on the same symbol can cause each EA's positions to influence the other's logic and may result in unintended hedging. While two EAs with different MagicNumbers can technically coexist, risk management becomes significantly more complex. Stick to one EA per symbol.

Q: Can I attach multiple EAs to a single chart?

No. MT5 allows only one EA per chart. To run multiple EAs, open a separate chart for each one and attach a single EA to each chart.

Q: Does adding more EAs always improve diversification?

Not if the EAs are similar. What matters is low correlation. Running 10 EAs with similar strategies on the same currency pairs means they will all lose in the same direction at the same time โ€” providing almost no diversification benefit. Combine different currency pairs and different strategy types.

Q: How should I set the risk percentage when running multiple EAs?

Think of risk in terms of the combined total. If three EAs each risk 1%, the combined exposure when all three enter simultaneously is 3%. As you add more EAs, reduce the risk percentage per EA so that the combined total stays within 2โ€“3%.