ForexCopilotEA

Portfolio

Running Several Expert Advisors on One Account: Correlation, Risk Budget and Setup

By Benjamin Lee · Updated · 6 min read

One EA is a bet on one idea. Several EAs sound like safety in numbers, and sometimes they are. But two EAs that both trade gold, or two trend followers that both lose in a range, are one bet counted twice. A set of EAs on one account only reduces risk if they are different enough, and only if the combined risk is set deliberately. This guide explains correlation in plain terms, how to set a shared risk budget, the technical setup that stops EAs interfering, and how to monitor a group of them.

Key takeaways

  • Count the total risk of all EAs at once, not each one alone.
  • EAs that trade the same symbol or the same style tend to lose at the same time.
  • Give every EA its own magic number and, where possible, its own symbol.
  • Add one EA at a time and watch it before adding the next.
  • Use a shared drawdown limit for the account, as well as a limit for each EA.

Why traders run more than one EA

The idea is diversification. If one strategy has a bad month, another may do well, and the account curve is smoother. It can work, but only when the strategies are genuinely different in what they trade, how they enter and when they are active. A gold breakout EA and a EURUSD mean-reversion EA do different things. Two gold breakout EAs from different sellers often do the same thing with different names.

There are also practical reasons: some EAs only suit one symbol or timeframe, so covering several markets needs several EAs. This is fine, as long as you treat the group as a portfolio with one total risk figure.

Correlation: the hidden risk

Correlation describes how much two things move together. Two EAs are correlated when they tend to win and lose in the same weeks. Common sources are the same symbol, the same style (both trend following), the same trigger (both trade the London open), or the same exposure (both short the dollar). When correlated EAs lose together, your risk is the sum of the losses, not the average.

How correlated common EA combinations tend to be
CombinationLikely correlationReason
Two gold breakout EAsHighSame market, same kind of trigger
Gold EA and EURUSD EAModerateBoth react to the dollar, but not identically
EURUSD and GBPUSD EAsModerate to highShare the dollar leg and often move together
EURUSD and USDCHF EAsHigh, often oppositeMoves tend to mirror each other, so one long and one short can offset
Trend EA and mean-reversion EALowerDifferent bets on how price behaves
Scalper and swing EA on one symbolVariableDifferent holding times, but exposure can stack

You can check correlation on your own data. Export each EA's daily or weekly results from a backtest or a live history and compare how often they lose in the same period. If most of their losing weeks overlap, treat them as one position when you set risk.

Set a shared risk budget

Decide the most you are willing to lose at once, then divide it. If you accept 3 percent total open risk on a 5,000 euro account, that is 150 euros. Three EAs that each risk 1 percent per trade add to 3 percent only if their trades are all stopped at the same time, which can happen with correlated EAs. If they might all be open together, the sum is your worst case.

Example risk budget, 5,000 euro account (illustrative)
EARisk per tradeMax open tradesWorst-case open risk
Gold breakout EA0.5% (25 euros)125 euros
EURUSD trend EA0.5% (25 euros)250 euros
GBPUSD mean-reversion EA0.5% (25 euros)250 euros
Total if everything is stopped together5125 euros (2.5%)

If the total is higher than your budget, cut the lot size of each EA until it fits. A group of smaller positions is not riskier than one big one, provided the total fits the budget. Use the lot size calculator for each EA, and the guide on sizing an account for the method.

The technical setup that prevents trouble

  • Unique magic numbers. Each EA instance needs a different one, so it manages only its own trades. See magic numbers explained.
  • Hedging or netting. On a netting account, two EAs on the same symbol merge their positions, which usually breaks both. Use a hedging account or separate symbols. See hedging versus netting.
  • One chart per EA and symbol. Do not attach two EAs to the same chart.
  • Margin. Add up the margin needed if every EA opens its maximum positions. Check free margin stays healthy, as in the margin calculator.
  • Terminal load. Many EAs and charts use memory. A VPS with enough resources prevents lag. See the VPS setup guide.
  • Separate accounts. For very different strategies, separate accounts make it easier to see each one's results and drawdown.

Add EAs one at a time

  1. Step 1: Run the first EA until you trust the setup

    Several weeks on demo and then small live. Know what normal looks like.

  2. Step 2: Check the candidate for overlap

    Compare symbol, style, session and trades with the first EA. Prefer one that is different.

  3. Step 3: Backtest the combination

    If you can, test both on the same account in the Strategy Tester or compare the equity curves, and look at the combined drawdown.

  4. Step 4: Demo the pair

    Run both on demo with the planned lot sizes and a unique magic number each.

  5. Step 5: Go live small

    Start the new EA at the minimum lot and increase only after it behaves.

Monitoring a group

Keep a simple sheet with one row per EA: symbol, magic number, lot size or risk, maximum drawdown in the test, current drawdown, and your stop rule. Review it weekly. Track the account's total drawdown as well as each EA's, because the account limit is what protects you. When one EA breaches its rule, switch off that one and leave the others, as explained in when to turn off your EA.

Multi-EA checklist
0/8

Sources and further reading

  1. MQL5 Reference: Trade Request StructureThe magic field an Expert Advisor uses to tag its own orders.
  2. MetaTrader 5 Help: Basic Principles of Trading OperationsOrders, deals and positions, and how netting and hedging accounts differ.
  3. MetaTrader 5 Help: Expert Advisors and Custom IndicatorsHow Expert Advisors and custom indicators work in the terminal.

Frequently asked questions

Can I run multiple EAs on one MT5 account?

Yes. Give each instance a unique magic number, avoid two EAs on one symbol on a netting account, check combined margin and set a total risk limit.

Does running several EAs reduce risk?

Only if they are different in symbol, style and timing. Correlated EAs lose together, so the combined risk can be as high as the sum of their risks.

How many EAs should I run?

As many as you can monitor and size within your risk budget. Many traders do better with a few well-understood EAs than with a long list.

Do I need separate accounts for each EA?

Not necessarily, but separate accounts make results and drawdown easy to read. They are worth it when the strategies are very different or when one EA needs a different account type.

What is a magic number?

It is a number an EA stamps on its orders so that it can tell them from other trades. Each EA instance should use a different one.

Expert Advisors in these styles

Apply the checks above to any of these before you buy: read the manual, run your own backtest, and start on demo.

Browse Expert Advisors