Multiple EAs One Account: Setup Guide (2026)

Quick Answer

Running multiple EAs on one account comes down to getting three things right: unique magic numbers for each EA, lot sizes cut back so combined risk stays under 2%, and enough margin in reserve (300%+ free margin). Give each EA its own chart, write your setup down somewhere, and check combined exposure daily. Start with 2 EAs, and only add more once that pairing has proven stable.

I run Golden Viper EA as my primary system, but I get why traders want to diversify with multiple EAs on one account. The idea holds up: different strategies can complement each other across varying market conditions. The problem is that most people who try it fail, not because the idea is flawed, but because they skip past the configuration details that prevent conflicts and keep risk in check. This settings guide walks through every parameter you need to configure correctly, from magic numbers to margin management, so your multiple EAs on one account setup actually runs the way it should.

Configuring Magic Numbers

Magic numbers are the foundation of running multiple EAs on one account. Skip them and your Expert Advisors will interfere with each other's trades, which usually shows up as unexpected closures or duplicate positions.

What Magic Numbers Do

  • Trade identification: Each EA tags its orders with its magic number
  • Conflict prevention: EA-1 will not close or modify EA-2's trades
  • Performance tracking: Separate trade history by EA on Myfxbook
  • Manual trade protection: Manual trades use magic number 0, so EAs ignore them

How to Set Magic Numbers

  1. Right-click the chart with the EA attached
  2. Select "Expert Advisors" then "Properties"
  3. Go to the "Inputs" tab
  4. Find the "MagicNumber" parameter (naming varies by EA)
  5. Enter a unique integer (e.g., 111111 for EA-1, 222222 for EA-2)
  6. Click OK to apply

Best practice: Use distinctly different numbers (111111, 222222, 333333) rather than sequential ones (1, 2, 3), and write each EA's magic number down in a spreadsheet somewhere you'll actually check it. Never change a magic number while the EA has open trades.

MT4 vs MT5 Differences That Affect Multiple EAs

The core concept of a magic number is identical between platforms, but MT5 exposes a bit more under the hood. MT5's MQL5 trade functions let an EA read the magic number of every open position through the position and history APIs, which is why some MT5 EAs can offer built-in "manage only my own trades" logic that MT4 EAs have to implement more manually. In practice this doesn't change what you need to do as a trader: set a unique magic number per EA either way. It does mean that if you're mixing an MT4-style EA with an MT5-native one (or migrating), it's worth re-checking that any built-in filtering options are actually turned on rather than assuming default behavior carries over between platforms. If you're deciding which platform to build your multi-EA setup on in the first place, it's worth comparing the two platforms' practical differences beyond just magic numbers before committing.

One more MT4/MT5 quirk worth knowing: on MT5, a single account can be either a "netting" or "hedging" account depending on the broker. On a netting account, MT5 merges all positions on a symbol into one net position regardless of magic number, which breaks the entire premise of running independent EAs on the same symbol. Before setting up any multi-EA account, confirm with your broker (or check the account properties in the terminal) that you're on a hedging account if more than one EA will ever trade the same instrument.

Chart and Symbol Configuration

Each EA needs its own dedicated chart window, since the MetaTrader platform only allows one EA per chart.

Setup Steps

  1. Open a separate chart for each EA you want to run
  2. Set the correct symbol for each chart (check your broker's symbol naming)
  3. Set the correct timeframe each EA requires
  4. Drag the EA onto its chart from the Navigator panel
  5. Configure settings and click OK

Example Multi-EA Layout

ChartSymbolTimeframeEAMagic Number
Chart 1XAUUSDH4Golden Viper EA111111
Chart 2EURUSDH1Forex EA222222
Chart 3GBPUSDM15Scalper EA333333

Once you have the layout working, save it as a chart profile (File › Profiles › Save As in MT4/MT5) so a platform restart or VPS reboot restores every chart, EA, and timeframe exactly as configured instead of leaving you to rebuild it from memory. Name the profile something you'll recognize later, like "3-EA-Portfolio," and keep a written note of which profile is the live one if you're also testing alternate combinations. It's a small step, but it's the difference between a five-minute recovery after a VPS restart and rebuilding your whole setup from scratch while the market moves without you.

Choosing Which EAs to Combine

Configuration is only half the problem. The other half, and arguably the more important one, is deciding which EAs actually belong together in the first place. Two badly-paired EAs configured perfectly will still underperform two well-paired EAs configured loosely, because the real driver of portfolio-level results is how the underlying strategies behave relative to each other, not just whether the settings are technically correct.

Strategy Style Diversification

The most useful diversification usually comes from combining EAs with genuinely different approaches rather than different symbols running the same underlying logic. A trend-following EA and a mean-reversion EA tend to sit out or lose during different market regimes, which smooths the combined equity curve. Two trend-following EAs on different pairs, by contrast, will often draw down together during the same choppy periods, even if the symbols themselves aren't correlated, because both strategies are vulnerable to the same type of market condition. Investopedia's overview of diversification covers the underlying principle in more detail, and it applies just as much to combining algorithmic strategies as it does to combining asset classes.

Timeframe Diversification

Running EAs across different timeframes (say, an H4 swing system alongside an M15 or M5 scalper) also reduces the odds that both strategies get hit by the exact same short-term event in the exact same way, since they're reacting to price action on different time horizons. The tradeoff is that a fast timeframe EA generates more trades, more spread cost, and needs a more stable connection, so weigh that against the diversification benefit before adding a scalper purely to "spread things out."

Symbol Correlation

Our single-symbol vs. multi-asset exposure guide goes deeper into this tradeoff, but the short version is: running Golden Viper EA on XAUUSD alongside an EA on XAGUSD isn't really diversification, it's leveraged exposure to the same underlying move, since gold and silver are historically tightly correlated. Pairing gold with an EA on a currency pair that has low historical correlation to gold, or combining timeframes on the same symbol with appropriately reduced risk, generally does more for your overall risk profile. For a dedicated look at combining strategies specifically (rather than just avoiding conflicts), see our guide on diversifying with multiple EAs.

Risk Settings for Multiple EAs

This is where most traders trip up. They set each EA's risk in isolation and never stop to add up the combined exposure across all of them.

Recommended Risk Per EA

Number of EAsRisk Per EA Per TradeMax Combined Risk
1 EA1-2%1-2%
2 EAs0.5-1%1-2%
3 EAs0.3-0.7%1-2%
5 EAs0.2-0.4%1-2%

The rule to remember: total combined risk across all your EAs shouldn't exceed 2% per trade event. So if you normally risk 2% with one EA, that has to come down to 0.5% each once you're running four. Our lot sizing guide for $1,000 accounts covers the position-sizing math in more detail.

A Worked Example

Say you run a $5,000 account with three EAs. On a single-EA account you might comfortably risk 1.5% per trade, or $75. Split across three EAs trading independently, you don't just divide by three and call it done, because all three could theoretically have a losing trade open at once. A more conservative approach is to budget total simultaneous risk at 1.5-2% ($75-$100) and divide that across the EAs based on how often each one trades and how correlated their signals are. If EA-1 (Golden Viper EA on XAUUSD) trades a few times a week and the other two trade daily, EA-1 might get 0.7% per trade while the two higher-frequency EAs get 0.4% each, keeping the worst-case combined exposure inside your budget rather than assuming they'll never overlap.

Correlation Awareness

  • High correlation: XAUUSD and XAGUSD tend to move together, so running EAs on both is essentially doubling the same bet
  • Moderate correlation: EURUSD and GBPUSD often move in the same direction
  • Low correlation: XAUUSD and USDJPY often move inversely, which gives you better diversification

Correlation, in this context, just means how consistently two instruments move together, on a scale that runs from perfectly aligned to perfectly opposite. It isn't fixed forever; correlations between gold, silver, and currency pairs shift as macro conditions change, so a pairing that was low-correlation a year ago isn't guaranteed to stay that way. Tools like Myfxbook's correlation tracker let you check current relationships between symbols before committing to a specific multi-EA combination, and it's worth a quick check every few months rather than assuming your original pairing logic still holds.

Start with one proven EA.Golden Viper EA delivers verified live results as your portfolio foundation. Add other EAs later.
Get Access →

Margin Requirements Configuration

Before you enable multiple EAs, work out what worst-case margin usage looks like:

  • Minimum: 200% margin level at all times
  • Recommended: 300-500% margin level
  • Calculate worst case: All EAs at maximum simultaneous positions

If that worst-case number would drop margin below 150%, cut your lot sizes or run fewer EAs. A margin call hits much harder with multiple EAs running than with a single EA, since the broker may close positions across all of them at once, and it usually starts closing the largest or most negative position first rather than the one you'd choose yourself.

A Simple Worst-Case Check

To sanity-check your setup, add up the margin required if every EA opened its maximum number of positions at its maximum lot size simultaneously, then compare that to your account equity. If that worst-case margin usage alone would push your margin level under roughly 200-300%, you're running too tight, because that's before any of the positions have moved against you at all. Build the buffer in before you go live rather than discovering it during a fast-moving news event when every EA happens to be in a trade at once.

Hardware and VPS Requirements

Each additional EA adds a small but real load: more indicator calculations on every tick, more log writes, more chart redraws. On a single home PC that's rarely a problem until the market gets busy and every EA is evaluating conditions at once, which is exactly when you can least afford a frozen terminal. The table below is a general guide rather than a strict rule, since actual load depends heavily on how tick-hungry a given EA's logic is.

EA CountMinimum RAMRecommended SetupVPS Suggested?
1-2 EAs4 GBHome PC, stable internetOptional
3-5 EAs8 GBHome PC or entry VPSRecommended
6-10 EAs8-16 GBDedicated VPS near broker serverYes
10+ EAs16 GB+Higher-tier VPS, monitor CPU closelyYes, essential

A VPS matters for more than raw processing power, though. Running on a VPS instead of a home PC means your EAs keep running through a power outage, a Windows update reboot, or your laptop simply being closed for the evening, all of which would otherwise pause every EA on the account at once. For a multi-EA setup specifically, look for a VPS located close to your broker's trade server to keep execution latency low for every EA, not just your primary one, and confirm the plan's RAM and CPU allocation against the table above before assuming a cheap entry-tier VPS will hold up once you're past two or three EAs.

Monitoring Configuration

Good monitoring is what catches problems before they turn into losses:

  • Push notifications: Configure MT4 mobile app alerts for all trade events
  • Myfxbook tracking: Connect your account so you can track each EA's performance by magic number
  • Daily checklist: Confirm every EA still shows the smiley face, check margin level, and skim the journal for errors
  • VPS monitoring: If you're running on a VPS, set up uptime monitoring so a disconnection doesn't go unnoticed

With more than one EA on the account, it's worth keeping a simple running log outside the platform too, a spreadsheet or notes file with each EA's magic number, its intended risk setting, the date you last reviewed it, and any changes made. It sounds like overkill for two EAs, but it becomes genuinely useful the moment you're troubleshooting a margin issue at 2am and need to quickly rule out which EA is responsible, or when you're deciding six months later whether a given EA is still earning its place in the portfolio.

News Events and Multiple EAs

High-impact news events (NFP, FOMC rate decisions, CPI releases) deserve extra attention on a multi-EA account, because the risk isn't just that one EA reacts badly, it's that several EAs can react to the same event at the same time, compounding spread widening and slippage across your whole portfolio simultaneously rather than in one position. Spreads on XAUUSD in particular can widen sharply in the seconds around a major release, and if more than one EA is attempting to enter or exit at that exact moment, the combined slippage cost can be meaningfully worse than either EA would show in isolation.

A few practical steps help here. First, know which of your EAs actually trade around news (some are built to stay flat during high-impact windows, others aren't) and don't assume a strategy that backtested well ignores news unless you've confirmed that in its actual logic or settings. Second, if you're running EAs on correlated instruments, remember that a single major release, a US inflation print, for instance, can move gold, silver, and several currency pairs simultaneously, meaning "diversified" EAs can suddenly behave like one large correlated position exactly when volatility (and your risk) is highest. Third, keep the worst-case margin math from the section above centered on news windows specifically, since that's when multiple EAs are most likely to actually be in the market together.

Multiple EAs on One Account vs. Separate Accounts

Running several EAs on a single account is the more common approach and the one this guide focuses on, but it isn't the only option, and it's worth knowing when separate accounts make more sense.

  • Setup complexity: One account keeps you to a single login and platform instance; separate accounts mean multiple logins and possibly multiple brokers to manage.
  • Performance tracking: One account requires filtering results by magic number to see each EA's numbers; separate accounts split performance automatically.
  • Margin pooling: A shared account lets one pool of margin support the combined exposure of every EA; separate accounts keep each EA's margin fully isolated from the others.
  • Risk isolation: On one account, a margin call can affect every EA at once; on separate accounts, a margin call on one doesn't touch the others.
  • Capital efficiency: One account uses a single pool of capital with no idle splits; separate accounts divide capital upfront, which can leave some of it underused.

One account with multiple EAs is generally the simpler and more capital-efficient path, and it's what this guide is built around. Separate accounts start to make more sense once you're running enough EAs, or a specific high-risk EA you want fully firewalled, that a margin event on one strategy taking down your entire portfolio becomes an unacceptable risk. Some traders land on a middle ground: a core account running one or two proven, well-understood EAs like Golden Viper EA, and a separate smaller account for testing newer or higher-risk strategies before deciding whether they've earned a spot on the main account.

Common Configuration Errors

  • Same magic number on multiple EAs: This causes trade interference, so double-check that each EA has a unique number.
  • Not reducing lot sizes: Combined risk ends up exceeding your tolerance. Go back and recalculate per-EA risk.
  • Wrong chart symbol: An EA gets attached to the wrong instrument. Confirm the symbol matches what the EA requires.
  • "Not enough money" errors: Margin isn't sufficient for the combined positions. Reduce lots or deposit more.
  • Two EAs on the same chart: Only the last one attached actually runs. Give each EA its own chart.
  • One EA missing trades entirely: AutoTrading may be disabled globally, or that specific chart's EA icon may show a red X. Check both the global AutoTrading toggle in the toolbar and each individual chart, since one can be on while the other is off.
  • Netting account merging positions: On an MT5 netting account, opposite-direction trades from different EAs on the same symbol merge into a single net position instead of staying separate. If your broker offers a choice, use a hedging account for any multi-EA setup that might trade the same symbol from more than one EA.
  • Terminal settings blocking automated trading: Both "Allow Algo Trading" (MT5) or "Allow live trading" (MT4) in the terminal options and the per-EA "Allow live trading" checkbox in the EA's own properties need to be enabled, and it's easy to toggle one without the other after a platform update.

If an individual EA stops trading altogether while the others keep running fine, our dedicated EA not trading troubleshooting guide walks through the full diagnostic checklist, covering the specific error codes and terminal settings you're likely to run into. For general EA troubleshooting, our XAUUSD trading guide and broker selection guide are worth a read for execution quality tips. And if magic numbers themselves are still unclear, our dedicated magic numbers guide goes deeper than the summary above.

It's also worth remembering that running any automated trading system, single EA or a full portfolio of them, carries real risk of loss, and no configuration guide changes that. The CFTC's Learn and Protect resources are a useful independent reference on the general risks of leveraged and automated trading if you want a regulator's perspective alongside the practical setup steps here.

Frequently Asked Questions About Multiple EAs on One Account

Can I run multiple EAs on one MT4 account?

Yes. Attach each EA to a different chart and give each one a unique magic number, and you're set. Each chart window can only run one EA at a time, so open as many charts as you need, and make sure your account has enough margin to cover all the combined positions.

What are magic numbers and why do they matter?

Magic numbers are unique identifiers attached to each EA's trades. They keep EAs from interfering with each other by making sure an EA only manages the trades it actually opened. Without unique numbers, one EA could accidentally close or modify another EA's positions, and that's how unexpected losses happen.

How much margin do I need for multiple EAs?

Add up the combined maximum position sizes across all your EAs, then keep at least 300 to 500 percent free margin on hand. Plan around the worst case, where every EA opens its maximum positions at the same time, which is exactly what tends to happen during volatile market events.

Should I reduce lot sizes when running multiple EAs?

Yes, without question. If you normally risk 2% per trade with one EA, bring that down to 0.5-1% per EA once you're running several, so the total combined risk stays within 1-2%. This is the step people skip most often, and it's the main reason multi-EA accounts blow up.

Will multiple EAs slow down my platform?

Running 2 to 5 EAs on modern hardware with 8 GB RAM is usually fine. Go beyond 5 and you may need more resources or a dedicated VPS. Keep an eye on CPU usage during high-activity periods like the London-New York overlap, when all your EAs could be processing signals at the same time.

Can I run Golden Viper EA alongside other EAs on the same account?

Yes. Golden Viper EA runs on its own chart with its own magic number like any other EA, so it can sit alongside other Expert Advisors on the same account. Give it a dedicated XAUUSD chart, keep its magic number unique, and size the other EAs so combined portfolio exposure stays within the 1-2% guideline covered above.

What happens if two EAs try to trade the same symbol at the same time?

As long as each EA has its own chart and magic number, both can hold positions on the same symbol without technical conflict, since MT4/MT5 tracks tickets by magic number rather than symbol. The real risk isn't interference, it's doubled exposure to the same instrument, so treat two EAs on the same symbol as correlated and size accordingly. Note that on an MT5 netting account, opposite-direction trades on the same symbol will merge instead of staying separate, so confirm you're on a hedging account first.

Do I need a VPS to run multiple EAs?

Not strictly for 2-3 EAs on a modern PC, but a VPS becomes far more valuable as you add EAs, since your platform needs to stay connected and processing around the clock regardless of whether your own computer is switched on. Most serious multi-EA setups benefit from a dedicated VPS located close to your broker's trade server.

How do I know if two EAs I want to combine are correlated?

Compare the symbols and market drivers each EA trades, use a correlation tool like Myfxbook's correlation tracker to check historical price relationships, and watch whether entries from both EAs consistently line up in the same direction. Two EAs trading genuinely uncorrelated instruments diversify risk more than two EAs both trading the same currency pair or metal, and correlations do shift over time, so it's worth rechecking periodically rather than assuming an old pairing decision still holds.

Should I test a multi-EA combination on demo before going live?

Yes. Backtest each EA individually first, since the Strategy Tester only runs one EA at a time and can't simulate the interaction between several running together. Then forward test the actual combination on a demo account for at least a few weeks to confirm magic numbers, margin usage, and correlation assumptions hold up in live conditions before committing real capital.

Myfxbook Verified

Automate Your XAUUSD Trading

+€1,485Net · 6-mo (verified)
56%Win Rate (51/91)
24/5Automated
Starting at $199 one-time
Get Lifetime Access →
✓ Instant download✓ Full feature access✓ MT4 & MT5 compatible
DC

Daniel Cole

Daniel Cole writes about MetaTrader 4/5, Expert Advisors and trading automation for Golden Viper EA.

Myfxbook VerifiedVerified live since Jan 2026Public track record

Let Golden Viper EA trade gold for you

Automated XAUUSD trading for MT4 & MT5, verified live on Myfxbook. One-time $199, lifetime access.

Get Lifetime Access — $199