Back to blog

Trade Copier VPS: Copy Trades Between MT4 and MT5 Accounts

IM Host EditorialOctober 14, 20268 min read
Trade Copier VPS: Copy Trades Between MT4 and MT5 Accounts

A trade copier VPS is a Windows server that runs your master terminal and one or more slave terminals side by side, so a copier Expert Advisor can mirror trades from one MT4 or MT5 account to others around the clock. Because every terminal sits on the same machine, the copy step itself is local and fast; what remains is each terminal's connection to its broker. The server needs enough RAM for every terminal and has to stay on.

How a local trade copier works

Most local copiers have two parts, both running as EAs:

  • Master (provider). An EA on the source account watches for new, modified and closed positions and writes them somewhere the other terminals can read, typically a file in MetaTrader's shared "Common" folder.

  • Slave (receiver). An EA on each target account reads those signals at a short interval and opens, modifies or closes matching positions, applying your rules for lot size, symbols and limits.

MetaTrader gives every terminal running under the same Windows user a shared data folder at %APPDATA%\MetaQuotes\Terminal\Common\Files. That is why local copiers work so well when all terminals are on one machine, and why they generally cannot copy between two different computers unless the copier has its own network mode.

Many copiers let you log the master account in with its investor (read-only) password, because the master EA only reads positions. Check whether yours supports this; it reduces what can go wrong on the source account.

Why run a copier on a VPS

  • It has to be always on. If the machine sleeps, every slave misses trades, and the copier must reconcile positions when it wakes up.

  • Every terminal on one machine. File-based copying needs master and slaves together on the same server.

  • A shorter path to the broker. Each slave sends its orders to its broker's trade server. Placing the VPS near the brokers involved shortens that path.

  • Isolation. Your copier is not exposed to restarts and software changes on your everyday computer.

Resources per terminal pair

Each master and each slave is a full terminal with its own memory footprint, and Windows itself needs roughly 1–2 GB. A copier EA is usually light, but every terminal still processes ticks for all the symbols in its Market Watch. Our article on Forex VPS requirements and RAM per terminal explains how to measure this. For planning, count terminals:

  • 1 master + 1 slave = 2 terminals.

  • 1 master + 3 slaves = 4 terminals.

  • Several masters copying to many managed accounts = many terminals, so plan for more RAM and keep each terminal lean (hide unused symbols, few charts, low history settings).

Setup steps

Every copier comes with its own manual, but on a VPS the setup follows the same pattern.

  1. Install each terminal in its own folder. One MetaTrader installation folder runs only one instance at a time. In the installer's settings choose a different folder per account, for example C:\MT4-Master, C:\MT5-Slave1 and C:\MT5-Slave2.

  2. Use portable mode. Start each terminal with the /portable switch so its data stays inside its own installation folder instead of a separate AppData path. Each setup then becomes easy to find, back up and restore.

  3. Log in to each account in its own terminal, using the investor password on the master if your copier supports it.

  4. Install the copier EA into each terminal's MQL4\Experts or MQL5\Experts folder (in portable mode, inside the installation folder), then refresh the Navigator.

  5. Enable algorithmic trading. Turn on AutoTrading (MT4) or Algo Trading (MT5) and allow live trading in the EA's settings. Allow DLL imports only if the copier genuinely requires them and comes from a source you trust.

  6. Attach the EAs. Put the master EA on one chart in the master terminal and the slave EA on one chart in each slave terminal.

  7. Test on demo accounts first. Open, modify and close trades on the master and confirm every slave follows correctly, including partial closes and stop-loss changes.

Shortcuts with the portable switch look like this:

"C:\MT4-Master\terminal.exe" /portable
"C:\MT5-Slave1\terminal64.exe" /portable
"C:\MT5-Slave2\terminal64.exe" /portable

Put these shortcuts in the Startup folder (shell:startup) so all terminals open after a reboot. The guide to keeping MT4/MT5 running 24/7 with auto-restart covers automatic sign-in and restart handling. If one of your accounts trades on cTrader instead, first check whether your copier supports it at all, since many local copiers are MetaTrader-only; the cTrader VPS setup guide covers running cTrader on the same server.

MT4 to MT5: details that cause wrong copies

  • Symbol names. Brokers add suffixes such as EURUSD, EURUSD.m or EURUSDpro. Map symbols explicitly in the copier.

  • Contract size and lot steps. Gold, indices and CFDs can have different contract sizes at different brokers, so 1.00 lot is not always the same exposure.

  • Hedging vs netting. MT5 accounts can be hedging or netting. On a netting account, positions on the same symbol merge into one, so copying several hedged MT4 positions behaves differently. Check the account type before you start.

  • Stops and freeze levels. A stop loss that is valid at one broker can be too close to the price for another, and the copier may reject or adjust it.

Latency and slippage

On a single VPS the copy step is local, so most of the delay comes from two places: the copier's polling interval and the round trip from each slave terminal to its broker. The price can also move between the master fill and the slave fill; that is ordinary slippage. You cannot remove it, but you can reduce and control it:

  • Choose a VPS location close to the slave brokers' trade servers.

  • Use a short polling interval if the copier allows it, without pushing CPU usage too high.

  • Set a maximum price deviation so a slave skips a trade when the price has already moved too far.

  • Compare fills on master and slave for a few weeks on demo before you trust the setup with real money.

Risk controls to configure before going live

  • Lot sizing method: fixed lot, multiplier, or proportional to balance or equity. Proportional sizing is safer when account sizes differ.

  • Maximum lot size and maximum open trades per slave.

  • Equity stop: stop copying, or close positions, when a slave's equity falls below a level you choose.

  • Symbol filter: copy only the instruments you intend to.

  • Restart behaviour: decide whether a slave that was offline should open trades the master opened in the meantime, or only copy new ones.

  • Account rules: some prop firms and account agreements restrict copy trading. Check the terms of every account involved.

Trading involves risk, and a copier replicates losses as faithfully as it replicates gains.

Protect the server

A copier VPS holds logins to several trading accounts, which makes it a valuable target. Use a long Administrator password, restrict RDP to your own IP addresses where possible, install Windows updates on a schedule outside market hours, and keep unrelated software off the machine. The guide to hardening RDP on a Windows VPS lists the steps.

Which plan tier fits

IM HOST Forex VPS plans are sized by terminal count. A simple master and slave pair fits Standard (up to 2 terminals, 3 vCPU/6 GB). A master with up to four slaves fits Pro (up to 5 terminals, 4 vCPU/8 GB). Account managers and prop traders copying to many accounts should look at Elite (unlimited terminals, 6 vCPU/16 GB), keeping in mind that RAM and CPU are still the practical limit, so measure as you add accounts.

Frequently asked questions

Can I copy trades from MT4 to MT5?

Yes, if your copier supports both platforms. Map symbols and lot sizes carefully, and check whether the MT5 account uses hedging or netting.

Do the master and slave terminals need to be on the same VPS?

For local, file-based copiers, yes. They exchange signals through the shared MetaTrader Common folder on one Windows machine.

Can I run two terminals from the same broker on one VPS?

Yes. Install each one in a separate folder and start it in portable mode.

How many accounts can one VPS copy to?

RAM and CPU set the limit more than the copier does. Measure each terminal and choose a plan by the number of terminals you will run.

Trade copying on IM HOST Forex VPS

IM HOST Forex VPS runs Windows Server (licence not included) with full Administrator RDP access, dedicated vCPU, NVMe storage, free daily backups and a 1 Gbit port, in London, New York and Chicago. Choose the tier by how many terminals your copier setup needs, from Standard for a single pair to Elite for many accounts.

More from our blog

Discover more practical guides and product insights from the IM Host team.

View all articles