MT4 Multi-Account Setup: Run Multiple Accounts on One Computer

Most MT4 users hit a wall the moment they want to run two accounts at the same time. Different brokers, live + demo, separated EAs — MT4 by default refuses to play nicely with parallel instances.

The solution is portable mode. With portable installs, you can run as many MT4 instances as you want simultaneously, each connected to a different account, each with its own indicators, EAs, and templates.

This guide covers the full setup including the most common mistakes that cause the second instance to silently overwrite the first.


Why You’d Want Multiple MT4 Instances

Use case Why parallel MT4 helps
Different brokers Compare execution speed and spreads between two brokers in real time
Live + demo on same broker Test strategy changes on demo while live continues uninterrupted
Strategy isolation One MT4 runs trend EAs, another runs scalping EAs, no shared state
Hedging across brokers Long EUR/USD on Broker A, short on Broker B (regulatory edge cases)
News vs slow trading One instance for high-frequency news plays, another for slow swing setups
Team / family Multiple users on the same computer with separate trading accounts

Note: running two MT4 instances on the same broker with the same account is allowed — both connect to the same account on the broker server. Useful when one machine should chart while the other only trades.


How MT4 Stores Account Data (And Why “Just Install Twice” Doesn’t Work)

MT4 stores all your account data — open positions, history, custom indicators, templates — in a per-user Data Folder:

C:UsersYOUR_NAMEAppDataRoamingMetaQuotesTerminal<long-hex-string>

The hex string is a unique ID per MT4 install based on the install path. If two MT4 installs share the same path, they share the same hex string — and therefore the same Data Folder. Opening one overwrites the other’s settings.

Portable mode breaks this convention: it stores all Data Folder contents inside the install folder itself instead of AppData. Two portable installs in different folders = two completely independent MT4 instances.


How to Set Up Multiple MT4 Instances: 4-Step Guide

Step 1 — Install MT4 Portable for Each Account

For each account you want to run in parallel:

  1. Download the MT4 installer from your broker (see How to Install MetaTrader 4 Platform).
  2. Change the install path during setup. Pick a unique folder per instance:
    C:MT4-Broker-Live
    C:MT4-Broker-Demo
    C:MT4-OtherBroker-Live
  3. Click Settings in the installer and untick “Open MetaTrader 4 after installation” so it doesn’t auto-launch in non-portable mode (which creates the Data Folder).
  4. Complete the install.

Repeat for every account you want a separate instance for.

Tip: name the install folders by purpose rather than by broker — MT4-Scalping/ and MT4-Swing/ is more useful than MT4-1/ and MT4-2/.

Windows Explorer showing two MT4 portable installations in separate folders

Step 2 — Create Portable Shortcuts

Each MT4 install creates a desktop shortcut by default. We need to modify each shortcut to launch in portable mode.

For each MT4 instance:

  1. Right-click the desktop shortcut → Properties.
  2. In the Target field, you’ll see something like:
    "C:MT4-Broker-Liveterminal.exe"
  3. Add the /portable flag at the end:
    "C:MT4-Broker-Liveterminal.exe" /portable
  4. Click OK.
  5. Rename the shortcut so you can tell instances apart — e.g. MT4 Broker Live, MT4 Broker Demo.

Repeat for every MT4 install. The /portable flag forces MT4 to use the install folder as its Data Folder.

Windows shortcut properties showing terminal.exe with /portable flag in Target field

Step 3 — Launch Each Instance and Log In Separately

Double-click the first portable shortcut. MT4 launches and prompts you to log in. Enter the account credentials for that instance.

While the first MT4 is running, double-click the second portable shortcut. A second MT4 window opens alongside the first. Log in with the second account’s credentials.

If both instances appear in the Windows Taskbar, the setup is correct. If clicking the second shortcut just brings the first MT4 to the foreground, the /portable flag is missing — go back to Step 2 and recheck the Target field.


Step 4 — Verify Both Instances Run Independently

Open both MT4 windows. Each should show:

  • A different account number in the title bar
  • Different broker servers (if applicable)
  • Independent Trade tab with that account’s positions
  • Separate indicators and templates (your customisations on instance A do NOT appear on instance B)

Place a 0.01 lot test trade on instance A. Confirm it appears in instance A’s Trade tab and does not appear in instance B’s Trade tab. If it appears in both, something is wrong — most likely both instances are connecting to the same account.

Two MT4 instances running side-by-side with different broker accounts logged in

Sharing Indicators and EAs Across Instances

Each portable MT4 has its own MQL4/Indicators/, MQL4/Experts/, templates/ and profiles/ folders. To share custom files between instances:

Option A — Copy/paste:

  1. In MT4 instance 1, click File > Open Data Folder.
  2. Open MQL4/Indicators (or Experts, etc.).
  3. Copy the files you want to share.
  4. In MT4 instance 2, click File > Open Data Folder to find that instance’s folder.
  5. Paste into the same subfolder.
  6. Refresh Navigator on instance 2.

Option B — Symbolic link (advanced):

Use Windows mklink /D to create a junction point so both instances point to the same physical folder:

mklink /D C:MT4-Broker-LiveMQL4Indicators C:MT4-SharedIndicators

Now installing an indicator into the shared folder makes it appear in every linked instance simultaneously. Saves disk space and avoids forgetting to copy files manually.


Common Issues

Second instance won’t open — only foregrounds the first

The /portable flag is missing from the second shortcut’s Target field. Right-click the shortcut → Properties → confirm /portable is at the end of the Target.

Both instances share the same Trade tab / positions

You logged in to the same account on both. Either change one instance’s login, or accept that two instances connected to the same account will mirror each other’s Trade tab.

Indicator I installed on instance A doesn’t appear on instance B

Portable mode means each install has its own indicator folder. Copy the .ex4 file from instance A’s MQL4/Indicators/ to instance B’s MQL4/Indicators/ and refresh Navigator on B.

Computer is slow with multiple MT4 instances

Each MT4 uses ~100-500 MB RAM and 1 CPU core under load. Three or more parallel instances need at least 4 GB RAM free and a quad-core CPU. If your machine struggles, consider running some instances on a VPS.


Pro Tips

  • Use distinct chart background colours per instance (right-click chart → Properties → Background colour). Helps avoid placing a trade on the wrong instance.
  • Custom name each MT4 window’s title bar if your broker supports it (most show account number — sufficient).
  • Keep templates synced manually. Don’t try to share templates/ via symlink — MT4 sometimes corrupts shared templates if both instances open the same .tpl simultaneously.
  • For VPS hosting, the same portable approach works. Just install multiple MT4 instances in separate VPS folders, each with /portable on the launcher.
  • Don’t run more than 4-5 instances on a single machine. Even with adequate RAM, the broker connections and EA threads compete for the same single CPU core per instance.

Frequently Asked Questions

Can I run multiple MT4 instances on the same computer?

Yes — using portable mode. Install MT4 to different folders, add the /portable flag to each shortcut, and launch them independently. Without portable mode, MT4 enforces single-instance via a shared Data Folder in AppData.

Does running multiple MT4 instances violate broker rules?

No. Brokers allow you to log in to the same account from multiple devices and to run multiple accounts in parallel. Some brokers explicitly support multi-account setups for traders managing accounts on behalf of others.

How many MT4 instances can I run at once?

No hard software limit. Practical limit is your computer’s RAM and CPU. A modern laptop with 16 GB RAM handles 3-4 active MT4 instances comfortably; older 8 GB machines start to struggle past 2-3.

Can I use the same custom indicator in multiple instances?

Yes — but each instance needs its own copy in MQL4/Indicators/. Use copy/paste or Windows symlinks (mklink /D) to share a single indicator folder across instances.

Can MT4 multi-account managers (MAMs) replace this setup?

MAMs are different — they let one master account allocate trades across multiple sub-accounts. If you’re managing other people’s money, look into PAMM/MAM accounts offered by your broker. For personal multi-account use, the portable method described here is simpler and free.

Does portable mode work for MT5 too?

Yes. MT5 supports the exact same /portable flag with identical behaviour. Multi-account setups work the same way on MT5.


Related Tutorials

Author: Dominic Walsh
blank

I am a highly regarded trader, author & coach with over 16 years of experience trading financial markets. Today I am recognized by many as a forex strategy developer. After starting blogging in 2014, I became one of the world's most widely followed forex trading coaches, with a monthly readership of more than 40,000 traders! Make sure to follow me on social media: Instagram | Facebook | Youtube| Twitter | Pinterest | Reddit | Telegram Channel