Several EAs on one MT5 account: 7 ways they get in each other's way

Several EAs on one MT5 account: 7 ways they get in each other's way

2 December 2026, 17:26
Northern Lights
0
10

Each EA passed its own backtest. Each one has its own stop, its own lot size and its own idea of risk. Then you put five of them on one account and the account behaves like none of the tests.

The reason is simple. In the tester every EA had the account to itself. Live they share one balance, one margin pool, one terminal and sometimes one symbol. None of them knows the others exist. Here are the seven ways that goes wrong, roughly in the order we see them, with a check for each one you can do today.

1. Two EAs, one magic number

The magic number is the only thing that tells MetaTrader which trade belongs to which EA. Many EAs ship with a round default like 0, 123 or 12345 and most people never change it. Two EAs with one magic see each other's positions as their own. One of them counts the other's trade toward its max positions, trails a stop it never set or closes it on its own exit signal.

Check: open the inputs of every EA on the account and write the magic numbers down in one list. Any number that appears twice gets changed today, before the next trade.

2. The same EA running twice

A template or a profile loads an EA onto a chart that already had one. Or you opened a second chart of the same symbol to look at a higher timeframe and dragged the EA there too. Now two copies read the same signals and each one sends its own order. Every entry is doubled. The lot size you tested is not the lot size you trade.

Check: Window menu, go through the open charts one by one. One EA per symbol unless you meant otherwise.

3. A VPS and your PC on the same account

You moved the EAs to a VPS and kept the terminal at home running "just to watch". Both terminals have the EA attached and Algo Trading on. They cannot see each other, so both trade. You find out when every position comes in pairs.

Check: after a migration, the home terminal either has Algo Trading off or no EAs attached. Pick one machine that trades.

4. A netting account and two EAs on one symbol

On a hedging account each EA gets its own positions. On a netting account there is only one position per symbol. Two EAs trading EURUSD share it. One buys 0.30, the other sells 0.20 and you hold 0.10 that neither of them planned. When one EA closes "its" trade it closes part of the other's.

Check: the account type (hedging or netting) is in the account details your broker sent you. If you can't find it, ask them. If it says netting, give each EA its own symbol or move them to a hedging account.

5. One EA eats the margin of all of them

A grid or a martingale EA keeps adding positions in a bad move. Margin is shared, so the free margin the other EAs need is gone. Their next order comes back with "not enough money" (retcode 10019). Nothing crashes. They just stop trading and the journal is the only place that says why.

Check: Experts and Journal tabs, search for 10019 or "not enough money". If one EA can use most of the margin, give it a cap in its own settings or a smaller account.

6. Three EAs, one currency

Each EA risks 1%. The first is long EURUSD, the second long GBPUSD, the third short USDJPY. That is not three trades at 1%. It is one bet against the dollar at roughly 3%. A single US data release moves all three the same way. Every EA's own risk check passes because each one only looks at itself.

Check: once a day sort your open positions by symbol and write down the net direction per currency. If one currency shows up on the same side three times you have one big trade, not three small ones.

7. The EA that went quiet

An EA does not have to crash to stop. Someone closes its chart. The terminal restarts with a different profile. Algo Trading gets switched off and nobody turns it back on. The account looks fine because nothing is losing. It is just one EA less than you think. A scalper that has not traded for six hours is a problem. A swing EA that has not traded for four days is a normal week. So the useful question is not "did it trade today" but "is it quiet for longer than usual for this EA".

Check: for each magic number look at the usual gap between its trades over the last months. When the current silence is several times longer, look at its chart.

The common thread

The account-wide daily stop is the usual answer to all of this and it is the wrong tool for most of it. It sees one number for the whole account. When one EA has a bad day it closes all five, including the ones that are up for the day and the ones halfway through a trade they waited two days for. And it says nothing about doubled entries, a shared magic or an EA that quietly stopped.

What you need is the account split by magic number: one row per EA, its own result for the day, its own limit and a warning when two of them collide.

That is what we built BotDeck for

BotDeck by Dojiwave reads the magic numbers from positions, orders and history and shows every EA on the account in one table. Each EA gets its own limits and only the one that breaks them is stopped. The others keep trading. It also warns about most of the list above: an EA that went quiet, the same EA running twice on one symbol, two different EAs using one magic number and several EAs on the same side of one currency. On a netting or exchange account it only alerts. Run it on one computer only. A VPS and your PC cannot see each other.

BotDeck on the Market: https://www.mql5.com/en/market/product/213339

Quick Start: https://www.mql5.com/en/blogs/post/782862