Copy MT5 MT4 All In One

26 January 2026, 15:50
Teerathad Booranawisedkul
0
6

HOW TO COPY 

CONFIGURE MASTER ACCOUNT (SENDER)

  1. Open the chart where you want to run the EA (any symbol, any timeframe)
  2. Drag and drop "EA.ex5" onto the chart
  3. Settings window will open - Configure as follows:

Master Configuration:

=== Operation Mode ===

IsMaster = true   (Enable sending)
IsSlave = false   (Disable receiving)

=== File Settings ===
SharedFolder = "CopyTrade" (Keep default or change)
MyTerminalID = "MASTER"  MUST BE UNIQUE!

=== Master Settings ===
MasterMagicFilter = 0 (0 = send all orders)
    (Or specific magic number)

  1. Click OK
  2. You should see:
    • Smiley face in top-right corner
    • Message in Experts tab: "Initialized successfully"
    • Message: "Sent 0 orders" (if no positions open)
  3. Check the log (Experts tab) for this message:  Path: C:\Users\...\Terminal\Common\Files\CopyTrade\MASTER.txt

CONFIGURE SLAVE ACCOUNT (RECEIVER)

IMPORTANT: Slave can be on the same computer or different computer (using network shared folder)

Option A: Same Computer

  1. Open the second terminal (can be same MT4/MT5 or different)
  2. Open any chart
  3. Drag and drop "Universal_CopyTrader_v3" onto the chart
  4. Configure as Slave:

=== Operation Mode ===
IsMaster = false  (Disable sending)
IsSlave = true  (Enable receiving)

=== File Settings ===
SharedFolder = "CopyTrade"   MUST MATCH MASTER!
MyTerminalID = "SLAVE1" MUST BE UNIQUE!

=== Slave Settings ===
SlaveMagicNumber = 77777 (For copied orders)
Lot Size Type = LOT_MULTIPLIER (Choose your mode)
Multiplier = 1.0 (1.0 = same size)
CopySLTP = true (Copy SL/TP)
MaxSlippage = 30 (Pips)
AutoMapSymbols = true   (Auto-detect symbols)
ReverseOrders = false (Set true for hedging)
OnlyNewOrders = false (Set true to skip existing)

  1. Click OK
  2. You should see:
    • Smiley face in top-right corner
    • Message: "Initialized successfully"
    • Message: " Total 0 orders from 0 file(s)" (if master has no orders)

Option B: Different Computer (Network Setup)

On Master Computer:

  1. Create shared folder:
    • Navigate to C:\Users\[YourName]\AppData\Roaming\MetaQuotes\Terminal\Common\Files\
    • Right-click CopyTrade folder
    • Click Properties → Sharing tab
    • Click Share → Add "Everyone" → Set to "Read/Write"
    • Note the network path: \\COMPUTER-NAME\CopyTrade

On Slave Computer:

  1. Map network drive:
    • Open File Explorer
    • Click This PC → Map network drive
    • Choose drive letter (e.g., Z:)
    • Enter folder path: \\MASTER-COMPUTER\CopyTrade
    • Check "Reconnect at sign-in"
    • Click Finish
  2. Configure Slave EA:
    • Set SharedFolder to the same name as master
    • Terminal will access via Common folder path

TEST THE CONNECTION

  1. On Master Account:
    • Open 1 position (any symbol)
    • Check Experts tab
    • Should see: "Sent 1 orders → MASTER.txt"
  2. On Slave Account:
    • Wait 1-2 seconds
    • Check Experts tab
    • Should see:

Reading from MT5: MASTER.txt  
Symbol mapped: XAUUSD → XAUUSD.r (if different)  
Opened XAUUSD.r #123456 from MT5  
Total 1 orders from 1 file(s)

  1. Verify the position:
    • Open Terminal → Trade tab
    • You should see the copied position
    • Comment should say: "Copy:MASTER.txt_[ticket]"
    • Magic Number should be 77777 (or your setting)

TEST SL/TP UPDATE

  1. On Master Account:
    • Modify the SL or TP of your position
  2. On Slave Account:
    • Wait 1-2 seconds
    • Check the position
    • SL/TP should update automatically
    • Experts tab should show: "Updated XAUUSD.r SL=... TP=..."

TEST ORDER CLOSING

  1. On Master Account:
    • Close your position
  2. On Slave Account:
    • Wait 1-2 seconds
    • Position should close automatically
    • Experts tab should show: "Closed XAUUSD.r (master closed)"

MULTIPLE SLAVES (OPTIONAL)

Want to copy to multiple accounts?

  1. Open third terminal
  2. Configure as Slave:

MyTerminalID = "SLAVE2" DIFFERENT from SLAVE1! SharedFolder = "CopyTrade" (Same as master) Lot Size Type = LOT_MULTIPLIER Multiplier = 0.5 (Half size, for example)

  1. Repeat for as many slaves as needed
  2. Each slave must have UNIQUE Terminal ID

Example Setup:

  • Master: ID = "MASTER"
  • Slave 1: ID = "SLAVE1" (1.0x lots)
  • Slave 2: ID = "SLAVE2" (0.5x lots)
  • Slave 3: ID = "SLAVE3" (2.0x lots)