Running Multiple EAs: Configuration Guide (2026)
Running multiple EAs on MT4/MT5 requires configuring unique magic numbers for each EA, attaching each to a separate chart, reducing individual lot sizes so combined risk stays under 2%, and ensuring adequate VPS resources. One EA per chart is the platform rule -- open multiple chart windows to run multiple EAs. Start with 2 and scale up only after proving stability over several weeks.
Running multiple EAs is one of the most common goals I hear from traders who want to diversify their automated strategies. The concept is straightforward: different EAs performing different strategies can smooth out equity curves and reduce reliance on any single approach. But the configuration details matter enormously. In this guide, I will cover every setting you need to get right when running multiple Expert Advisors, from VPS resource allocation to portfolio risk settings.
In This Guide
Platform Rules for Running Multiple EAs
Before configuring anything, understand the fundamental rules that govern how multiple EAs operate on MetaTrader:
- One EA per chart: Each chart window can only have one active EA. Attaching a second EA replaces the first.
- Unique magic numbers required: Every EA instance must use a different magic number to prevent trade conflicts
- Shared margin pool: All EAs draw from the same account equity and margin
- Global AutoTrading toggle: The AutoTrading button enables or disables ALL EAs simultaneously
- Separate charts per instance: Even running the same EA on different timeframes requires separate charts
VPS Resource Configuration
Your VPS specifications directly impact how many EAs you can run reliably:
| Number of EAs | RAM | CPU Cores | Storage | Monthly Cost |
|---|---|---|---|---|
| 1-2 EAs | 1 GB | 1 core | 20 GB SSD | $10-20 |
| 3-5 EAs | 2 GB | 2 cores | 40 GB SSD | $20-35 |
| 6-10 EAs | 4 GB | 2-4 cores | 60 GB SSD | $35-50 |
| 10+ EAs | 8 GB+ | 4+ cores | 80 GB SSD | $50+ |
VPS Optimization Tips
- Disable Windows visual effects to save RAM
- Close unnecessary chart windows -- each open chart uses memory
- Limit chart history bars: Tools, Options, Charts, set "Max bars in chart" to 5000
- Set up daily auto-restart of MT4 via Task Scheduler to prevent memory leaks
EA-Specific Settings
For each EA you add, configure these critical settings:
Magic Number
In the EA's Inputs tab, set a unique magic number. I recommend using a consistent scheme: 100000 for EA-1, 200000 for EA-2, 300000 for EA-3. Document everything in a spreadsheet.
Lot Size / Risk Percentage
Reduce each EA's risk setting proportionally. With 3 EAs, each should risk roughly one-third of what a single EA would. If your standalone risk is 2%, set each EA to 0.6-0.7%.
Maximum Positions
If your EA has a "max trades" or "max positions" setting, reduce it. An EA that normally opens up to 5 positions should be limited to 2-3 when running alongside others.
Portfolio Risk Configuration
The most dangerous mistake in multi-EA setups is ignoring combined exposure. Here is how I approach it:
- Maximum total risk: Never exceed 2% combined risk across all EAs at any given moment
- Correlated pairs: Treat EAs on correlated instruments as a single risk unit. Two EAs on XAUUSD and XAGUSD should be sized as if they are one EA
- Margin buffer: Maintain at least 300% margin level at all times, even with all EAs at maximum exposure
- Drawdown limit: Set an overall portfolio drawdown limit (e.g., 15%). If reached, disable all EAs and reassess
For detailed lot sizing calculations, read our lot sizing guide. Understanding how XAUUSD trading works is essential if gold is one of your EA's instruments.
Monitoring Setup
- Myfxbook: Connect to Myfxbook and filter performance by magic number to track each EA separately
- Mobile app: Set up push notifications via the MT4 mobile app
- Email alerts: Configure MT4 to send email alerts on trade events
- Daily review: Check margin levels, open positions, and journal errors every morning
Best Practices for Running Multiple EAs
- Start with one proven EA: Establish consistent profits with your primary EA before adding others
- Add EAs gradually: One new EA at a time, with 2-4 weeks of monitoring before adding the next
- Test on demo first: Run any new multi-EA configuration on demo for at least 2 weeks before going live. See our demo testing guide
- Diversify strategies: Mix trend-following with mean-reversion, or different timeframes
- Document everything: Keep a record of each EA's magic number, settings, symbol, and timeframe
- Have a kill switch: Know how to disable all EAs instantly (click the AutoTrading button to red) in emergencies
Choose the right broker with sufficient server capacity and fair EA policies before scaling up your EA portfolio.
Frequently Asked Questions About Running Multiple EAs
Can I run the same EA on multiple charts?
Yes, you can run the same EA on multiple charts with different symbols or timeframes. Each instance must have a unique magic number. For example, Golden Viper EA on XAUUSD H4 with magic number 111111 and another instance on XAUUSD H1 with magic number 222222. Remember to reduce lot sizes for each instance.
How many EAs can I run on one MT4 at once?
There is no hard technical limit, but practical limits depend on your VPS resources. With 2 GB RAM you can comfortably run 3 to 5 EAs. With 4 GB RAM, 6 to 10 EAs. Most successful traders run 2 to 4 EAs because managing more becomes complex without proportional benefit.
What VPS specs do I need for multiple EAs?
For 1 to 2 EAs, use 1 GB RAM and 1 CPU core. For 3 to 5 EAs, use 2 GB RAM and 2 CPU cores. For 6 or more EAs, use 4 GB or more RAM and 2 to 4 CPU cores. Always use SSD storage for faster data loading and chart rendering.
Do multiple EAs need separate broker accounts?
No, multiple EAs can run on the same broker account using magic numbers to identify their trades. However, some traders prefer separate accounts for cleaner performance tracking and risk isolation. Separate accounts prevent one poorly performing EA from consuming margin that another EA needs.
What happens if two EAs open opposite trades?
In hedging-enabled accounts (standard for MT4), both positions remain open independently. The net market exposure is reduced, but you pay spread costs on both positions. This is not necessarily bad but should be monitored. If it happens frequently, your EAs may not be well diversified.