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:
- Download the MT4 installer from your broker (see How to Install MetaTrader 4 Platform).
- Change the install path during setup. Pick a unique folder per instance:
–C:MT4-Broker-Live
–C:MT4-Broker-Demo
–C:MT4-OtherBroker-Live - 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).
- 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/andMT4-Swing/is more useful thanMT4-1/andMT4-2/.
—
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:
- Right-click the desktop shortcut → Properties.
- In the Target field, you’ll see something like:
"C:MT4-Broker-Liveterminal.exe" - Add the /portable flag at the end:
"C:MT4-Broker-Liveterminal.exe" /portable - Click OK.
- 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.
—
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.
—
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:
- In MT4 instance 1, click File > Open Data Folder.
- Open
MQL4/Indicators(orExperts, etc.). - Copy the files you want to share.
- In MT4 instance 2, click File > Open Data Folder to find that instance’s folder.
- Paste into the same subfolder.
- 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.tplsimultaneously. - For VPS hosting, the same portable approach works. Just install multiple MT4 instances in separate VPS folders, each with
/portableon 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
- How to Install MetaTrader 4 Platform – The basic MT4 install, then add
/portablefor multi-instance - How to Open MT4 Demo Account – Get a demo account to use as one of your parallel instances
- MT4 VPS Setup Guide – Move some instances to a VPS to free up local resources
- MT4 Templates and Profiles Guide – Save chart layouts independently per instance