OTE Trade Copier User Manual
This guide explains how to connect a master account to one or more copier accounts on the same Windows computer or VPS. It explains only the settings visible in the EA Inputs window.
What This Copier Does
A simple explanation before installation.
Install the Copier
Repeat the installation in every MT4 or MT5 terminal that will participate.
Open the terminal
Start the master or copier MetaTrader terminal.
Open Data Folder
Click File โ Open Data Folder.
Open the Experts folder
For MT5, open MQL5 โ Experts. For the matching MT4 version, use MQL4 โ Experts.
Paste the correct EA file
Use the MT5 EA in MT5 and the MT4 EA in MT4. An MT5 file cannot run directly inside MT4.
Refresh or restart
In Navigator, right-click Expert Advisors and select Refresh, or restart MetaTrader.
Enable algorithmic trading
Turn on Algo Trading/AutoTrading and allow live trading in the EA properties.
Simple Master and Copier Setup
The easiest working configuration.
On the Master Account
Attach the EA
Attach OTE Trade Copier to one chart on the account that contains the original trades.
Select MASTER
Set WorkMode = TC_ROLE_MASTER.
Choose the connection names
Keep CopyPath = copytrade and choose a ChannelName, for example goldmain.
Choose what to publish
Keep market positions true. Turn pending orders on only when needed. Use magic or symbol filters when the master has unrelated trades.
On Every Copier Account
Attach the copier
Attach the correct MT4 or MT5 copier EA to one chart.
Select COPIER
Set WorkMode = TC_ROLE_COPIER.
Match CopyPath and ChannelName
They must be identical to the master, including spelling. Example: copytrade and goldmain.
Choose lot mode
For the simplest mirror, use LotMode = TC_LOT_MIRROR and LotMultiplier = 1.00.
Check the dashboard
The peer/connection status should become active and the action line should show that master rows are being read.
goldmain, scalper2, or clientA.Common Settings
Click each input to read its simple explanation.
A_Common_Settings Default: "===== COMMON - FILL ON MASTER AND COPIER =====" โ
Section heading only.
Leave unchanged.
WorkMode Default: TC_ROLE_MASTER โ
Select what this copy of the EA should do.
MASTER publishes trades. COPIER reads the master file and opens matching trades.
CopyPath Default: "copytrade" โ
Folder name inside MetaTrader's shared Common Files area.
Use exactly the same value on master and copier. Default: copytrade.
ChannelName Default: "main" โ
Private channel name that links one master with its copier accounts.
Use exactly the same channel on connected terminals. Use different names for different copier groups.
SyncEverySeconds Default: 1 โ
Normal timer interval in seconds.
The EA forces a minimum of 1 second.
FastSyncMilliseconds Default: 500 โ
Faster millisecond timer interval.
Default 500 ms. Values below 100 ms are internally raised to 100 ms. Set 0 to use SyncEverySeconds.
AlsoProcessOnEveryTick Default: true โ
Also runs synchronization whenever a market tick arrives.
Keep true for faster response. Set false when reducing terminal load is more important.
ConnectionTimeoutSeconds Default: 10 โ
How long the dashboard considers the other terminal connected after its last heartbeat.
Default 10 seconds.
MaximumMasterSignalAgeSeconds Default: 60 โ
Maximum acceptable age of the master's snapshot.
The copier refuses stale trade information. Default 60 seconds.
DashboardSubtitle Default: "OTE Traders" โ
Text displayed below the copier title on the chart.
You may use your business, account, or strategy name.
Dashboard Settings
Click each input to read its simple explanation.
B_Dashboard_Settings Default: "===== DASHBOARD - OPTIONAL =====" โ
Section heading only.
Leave unchanged.
ShowDashboard Default: true โ
Shows or hides the on-chart copier status panel.
Recommended: true.
DashboardCorner Default: 0 โ
Chart corner used for the dashboard.
0 = upper-left, 1 = upper-right, 2 = lower-left, 3 = lower-right.
DashboardX Default: 12 โ
Horizontal dashboard distance in pixels.
Increase it to move the dashboard farther from the selected corner.
DashboardY Default: 18 โ
Vertical dashboard distance in pixels.
Increase it to move the dashboard farther down/up from the selected corner.
DashboardBackColor Default: C'18,22,28' โ
Dashboard background colour.
Change only for appearance.
DashboardAccentColor Default: C'0,153,255' โ
Main highlight colour.
Change only for appearance.
DashboardTextColor Default: clrWhite โ
Primary text colour.
Change only for appearance.
DashboardMutedTextColor Default: C'170,178,190' โ
Secondary or less-important text colour.
Change only for appearance.
DashboardGoodColor Default: C'46,204,113' โ
Colour for connected, ready, or successful conditions.
Change only for appearance.
DashboardBadColor Default: C'231,76,60' โ
Colour for disconnected, blocked, or failed conditions.
Change only for appearance.
DashboardProfitColor Default: C'0,153,255' โ
Colour used for profit-related information.
Change only for appearance.
Master-Only Settings
Click each input to read its simple explanation.
C_Master_Only Default: "===== MASTER ONLY - IGNORE WHEN COPIER =====" โ
Section heading only.
Ignore these settings when WorkMode is COPIER.
MasterCopyMarketPositions Default: true โ
Allows the master to publish open buy and sell positions.
Recommended: true.
MasterCopyPendingOrders Default: false โ
Allows the master to publish pending orders.
Default false. Turn on only when you want limits/stops copied before activation.
MasterMagicFilter Default: -1 โ
Restricts master trades by magic number.
-1 copies every magic number. Enter a specific magic number to publish only that EA's trades.
MasterSymbolFilter Default: "" โ
Restricts master trades to selected symbols.
Blank means all symbols. Use comma-separated symbols, for example XAUUSD,EURUSD.
Copier-Only Settings
Click each input to read its simple explanation.
D_Copier_Only Default: "===== COPIER ONLY - IGNORE WHEN MASTER =====" โ
Section heading only.
Ignore these settings when WorkMode is MASTER.
CopierCopyMarketPositions Default: true โ
Allows the copier to copy market positions.
Recommended: true.
CopierCopyPendingOrders Default: false โ
Allows the copier to copy pending orders.
Default false.
CopyStartMode Default: TC_COPY_EXISTING_AND_NEW โ
Controls what happens to trades already open when the copier starts.
EXISTING_AND_NEW copies existing and future master trades. NEW_ONLY ignores trades opened before the copier was attached.
ProfitFilter Default: TC_PROFIT_ALL โ
Filters source trades by current floating result.
ALL, LOSING_ONLY, or PROFITABLE_ONLY. The filter is applied before a new copy is opened.
CopierSourceMagicFilter Default: -1 โ
Copies only master trades with a selected source magic number.
-1 allows all source magic numbers.
CopierSourceSymbolFilter Default: "" โ
Copies only selected source symbols.
Blank allows all. Use comma-separated symbols.
AllowBuy Default: true โ
Allows copied buy positions and buy pending orders.
Set false to block buy-side copying.
AllowSell Default: true โ
Allows copied sell positions and sell pending orders.
Set false to block sell-side copying.
InvertTradeDirection Default: false โ
Reverses the copied direction.
Buy becomes sell and sell becomes buy. Use only for a deliberately tested reverse-copy strategy.
CloseWhenMasterCloses Default: true โ
Closes the copied trade when its corresponding master trade disappears.
Recommended: true for normal mirroring.
SyncLotReductions Default: true โ
Reduces copier volume when master volume is reduced.
Useful when the master partially closes a trade.
SyncStopLossTakeProfit Default: true โ
Keeps copied SL and TP synchronized with the master.
It works together with the SL/TP settings below.
SyncPendingOpenPrice Default: true โ
Updates a copied pending order if the master's pending entry price changes.
Relevant only when pending-order copying is enabled.
Copier Lot Settings
Click each input to read its simple explanation.
E_Copier_Lot_Settings Default: "===== COPIER LOT SETTINGS ONLY =====" โ
Section heading only.
These settings are used on COPIER accounts.
LotMode Default: TC_LOT_MIRROR โ
Selects how copied lot size is calculated.
FIXED: use FixedLot. MIRROR: use master lot. EQUITY_RATIO: scale by copier/master equity. BALANCE_RATIO: scale by copier/master balance.
FixedLot Default: 0.10 โ
Lot used when LotMode is FIXED.
Default 0.10. Choose a lot suitable for the copier account.
LotMultiplier Default: 1.00 โ
Multiplies the result from the selected lot mode.
1.00 = unchanged, 0.50 = half, 2.00 = double.
MinCopiedLot Default: 0.00 โ
Optional minimum copied lot.
0 means no extra minimum beyond the broker's own minimum.
MaxCopiedLot Default: 0.00 โ
Optional maximum copied lot.
0 means no user cap beyond the broker's maximum. Setting a cap is recommended for risk control.
Stop-Loss and Take-Profit Settings
Click each input to read its simple explanation.
F_Copier_SL_TP_Settings Default: "===== COPIER SL/TP SETTINGS ONLY =====" โ
Section heading only.
These settings are used on COPIER accounts.
UseStopLossTakeProfit Default: true โ
Turns copied/fixed SL and TP handling on or off.
When false, copied trades are opened without the copier applying SL/TP.
UseMasterStopLossTakeProfit Default: true โ
Uses the master's SL and TP values.
When false, FixedStopLossPoints and FixedTakeProfitPoints may be used instead.
FixedStopLossPoints Default: 0 โ
Fixed stop-loss distance in broker points.
0 means no fixed stop loss.
FixedTakeProfitPoints Default: 0 โ
Fixed take-profit distance in broker points.
0 means no fixed take profit.
Symbol Matching Settings
Click each input to read its simple explanation.
G_Copier_Symbol_Settings Default: "===== COPIER SYMBOL MATCHING ONLY =====" โ
Section heading only.
Used when broker symbol names differ.
CopierAutoDetectPrefixSuffix Default: true โ
Automatically matches symbols such as XAUUSD, XAUUSDm, or m.XAUUSD.
Recommended: true for most broker-to-broker copying.
SymbolMap Default: "" โ
Manual source-to-target symbol mapping.
Use mappings when auto-detection is insufficient. Example: US30=DJ30,XAUUSD=GOLD.
MasterSymbolPrefixToRemove Default: "" โ
Text to remove from the beginning of the master symbol.
Example: remove m. from m.XAUUSD.
MasterSymbolSuffixToRemove Default: "" โ
Text to remove from the end of the master symbol.
Example: remove .pro from XAUUSD.pro.
TargetSymbolPrefix Default: "" โ
Text to add before the target broker symbol.
Leave blank unless the copier broker uses a prefix.
TargetSymbolSuffix Default: "" โ
Text to add after the target broker symbol.
Example: m can turn XAUUSD into XAUUSDm.
Execution Settings
Click each input to read its simple explanation.
H_Copier_Execution_Settings Default: "===== COPIER EXECUTION SETTINGS ONLY =====" โ
Section heading only.
These settings affect execution on the COPIER.
CopierMagicNumber Default: -1 โ
Magic number assigned to copied trades.
-1 creates a stable automatic magic number from CopyPath and ChannelName.
CopySourceMagicNumber Default: false โ
Uses the master's original magic number on copied trades.
When true, this overrides the normal copier magic choice.
HideCopyComment Default: false โ
Removes the visible copier-identification comment from copied trades.
Useful for cleaner comments, but mapping still relies on the copier's internal files.
HideMagicWhenHidden Default: false โ
Uses magic 0 when copy comments are hidden.
Use carefully because magic 0 makes copied trades look more like manual trades.
MaxSlippagePoints Default: 30 โ
Maximum execution deviation in broker points.
Default 30.
MaxSpreadPoints Default: 0 โ
Blocks new copied trades when spread is above this value.
0 disables the spread limit.
MaximumPriceAgeSeconds Default: 30 โ
Blocks a copied entry when the available market price is considered too old.
Default 30 seconds.
MaxOpenCopiedTrades Default: 0 โ
Maximum number of mapped copied trades allowed.
0 means unlimited.
TradeRetries Default: 3 โ
Number of execution attempts after a failed open, modify, or close action.
Default 3.
RetryDelayMilliseconds Default: 120 โ
Delay between retry attempts.
Default 120 ms.
AllowSelfCopy Default: false โ
Allows master and copier to use the same platform/account identity.
Default false prevents accidental copying back into the source account.
Schedule and Master Drawdown Settings
Click each input to read its simple explanation.
I_Copier_Schedule_Settings Default: "===== COPIER SCHEDULE AND MASTER DD ONLY =====" โ
Section heading only.
Schedule rules use the copier terminal/server time shown by MetaTrader.
StartCopyWhenMasterDDPercent Default: 0.0 โ
Waits until the master account reaches this drawdown percentage before opening new copies.
0 disables this trigger.
StartCopyWhenMasterDDMoney Default: 0.0 โ
Waits until the master reaches this money drawdown before opening new copies.
0 disables this trigger. If both DD triggers are set, reaching either one allows copying.
StartCopyTime Default: "0.00" โ
Daily time when new copying may begin.
Use 24-hour format such as 08:00 or 8.00.
EndCopyTime Default: "23.59" โ
Daily time when new copying stops.
The window can cross midnight.
StartCopyDays Default: "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday" โ
Comma-separated days on which new copying is allowed.
Full or abbreviated English day names are accepted.
StopCopyDays Default: "" โ
Comma-separated days that are always blocked.
A day listed here overrides StartCopyDays.
CloseAllTradesBeforeMarketClose Default: false โ
Enables a scheduled forced close.
Default false.
CloseAllTradesDay Default: "Friday" โ
Day used for the scheduled close.
Default Friday.
CloseAllTradesTime Default: "22:45" โ
Time used for the scheduled close.
Default 22:45 in terminal/server time.
CloseOnlyCopiedTrades Default: true โ
Controls what the scheduled close is allowed to close.
True closes only mapped copied trades. False closes every open trade on the copier accountโuse extreme caution.
Prop-Firm Protection Settings
Click each input to read its simple explanation.
J_Prop_Firm_Mode Default: "===== PROP FIRM MODE ONLY =====" โ
Section heading only.
These protections apply to the COPIER side.
UsePropFirmMode Default: false โ
Turns prop-firm protections on or off.
Enable only after entering limits that match the firm's rules.
PropFirmCalculationMode Default: TC_PROTECT_EQUITY โ
Selects whether protection calculations use equity or balance.
EQUITY reacts to floating P/L. BALANCE mainly reacts after trades close.
SoftStopPercent Default: 0.0 โ
Pauses new copying when overall drawdown approaches this percentage.
It does not immediately close trades. The code applies a small internal safety buffer.
HardStopPercent Default: 0.0 โ
Closes every open trade and permanently stops the current EA session when this overall drawdown is reached.
Use with care; it affects all open trades, not only copied trades.
DailyDrawdownPercent Default: 0.0 โ
Daily drawdown percentage limit.
When reached, the EA closes every open trade and stops for the day.
DailyDrawdownMoney Default: 0.0 โ
Daily drawdown money limit.
0 disables this money limit.
MaxDrawdownPercent Default: 0.0 โ
Maximum overall drawdown percentage.
When reached, the EA closes every open trade and hard-stops.
MaxDrawdownMoney Default: 0.0 โ
Maximum overall drawdown money amount.
When reached, the EA closes every open trade and hard-stops.
DailyProfitTargetPercent Default: 0.0 โ
Daily profit percentage target.
When reached, copied trades are closed and new copying is disabled until the next day.
DailyProfitTargetMoney Default: 0.0 โ
Daily profit money target.
0 disables this money target.
TotalProfitTargetPercent Default: 0.0 โ
Total profit percentage target since EA start.
When reached, mapped copied trades close and copying remains disabled for the session.
TotalProfitTargetMoney Default: 0.0 โ
Total profit money target since EA start.
0 disables this money target.
Recommended Starting Setups
Safe starting points for demo testing.
Basic One-to-One Mirror
| Input | Master | Copier |
|---|---|---|
| WorkMode | TC_ROLE_MASTER | TC_ROLE_COPIER |
| CopyPath | copytrade | copytrade |
| ChannelName | main | main |
| Market positions | true | true |
| Pending orders | false | false |
| LotMode | Not used | TC_LOT_MIRROR |
| LotMultiplier | Not used | 1.00 |
| CloseWhenMasterCloses | Not used | true |
| SyncStopLossTakeProfit | Not used | true |
Lower-Risk Copier
TC_LOT_MIRROR with LotMultiplier = 0.50, or use FIXED lot with a carefully selected lot size. Add a sensible MaxCopiedLot cap.Different Broker Symbol Names
CopierAutoDetectPrefixSuffix = true. If it fails, use SymbolMap, for example XAUUSD=GOLD.Final Setup Checklist
Tick each item before relying on the copier.
Troubleshooting
Common problems and fixes.
The copier says it is waiting for the master snapshot
Confirm that the master EA is attached, WorkMode is MASTER, Algo Trading is enabled, and CopyPath plus ChannelName match exactly.
The dashboard shows the peer as disconnected
Both terminals must run under the same computer/VPS environment and have access to the same MetaTrader Common Files folder. Also check ConnectionTimeoutSeconds and whether either terminal is frozen or closed.
No trades are copied
Check market/pending switches, CopyStartMode, ProfitFilter, magic filter, symbol filter, buy/sell permissions, schedule, master drawdown trigger, stale-signal status, spread limit, maximum copied trades, and prop-firm locks.
XAUUSD copies as the wrong or unavailable symbol
Keep automatic prefix/suffix detection on. If necessary, set SymbolMap, for example XAUUSD=GOLD, or configure the source suffix to remove and target suffix to add.
The copied lot is too large
Check LotMode and LotMultiplier. Add MaxCopiedLot. Equity-ratio and balance-ratio modes can enlarge lots when the copier account is larger than the master.
Existing master trades were not copied
CopyStartMode may be NEW_ONLY. Change it to EXISTING_AND_NEW and reattach the copier if you want already-open master trades included.
The copier closed trades I did not expect
Review CloseWhenMasterCloses, scheduled close-all, CloseOnlyCopiedTrades, prop-firm hard stop, daily drawdown, and maximum drawdown settings. Some protection paths intentionally close every open trade on the copier account.
Do I need WebRequest?
No. This copier communicates through MetaTrader's shared Common Files folder.