HOW TO COPY
CONFIGURE MASTER ACCOUNT (SENDER)
- Open the chart where you want to run the EA (any symbol, any timeframe)
- Drag and drop "EA.ex5" onto the chart
- 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)
- Click OK
- You should see:
- Smiley face in top-right corner
- Message in Experts tab: "Initialized successfully"
- Message: "Sent 0 orders" (if no positions open)
- 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
- Open the second terminal (can be same MT4/MT5 or different)
- Open any chart
- Drag and drop "Universal_CopyTrader_v3" onto the chart
- 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)
- Click OK
- 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:
- 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:
- 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
- Configure Slave EA:
- Set SharedFolder to the same name as master
- Terminal will access via Common folder path
TEST THE CONNECTION
- On Master Account:
- Open 1 position (any symbol)
- Check Experts tab
- Should see: "Sent 1 orders → MASTER.txt"
- 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)
- 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
- On Master Account:
- Modify the SL or TP of your position
- 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
- On Master Account:
- Close your position
- 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?
- Open third terminal
- 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)
- Repeat for as many slaves as needed
- 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)


