TC
OTE Trade CopierMT4/MT5 Same-PC Copier Manual
Version 1.42 โ€ข Shared Common Files โ€ข No WebRequest

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.

MT4/MT5 EA fileMT4/MT5 compatible systemMarket and pending ordersProp-firm protection
โœ“

What This Copier Does

A simple explanation before installation.

Master terminalPublishes selected open trades into MetaTrader's shared Common Files folder.
Copier terminalReads the shared file and opens, updates, or closes matching trades.
Same PC or VPSThe terminals must be able to access the same MetaTrader Common Files location.
No WebRequest is required.This copier uses local shared files, not an online website or API. Do not add any WebRequest URL for it.
Account safetyTest on demo accounts first. Lot modes, reverse copying, scheduled close-all, and prop-firm hard stops can materially change or close trades.
1

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.

Chart choiceThe copier is account-wide. You may attach it to one active chart per participating account. The chart symbol itself does not limit copied symbols unless you set a symbol filter.
2

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.

Do not use the same channel for unrelated masters.Give each independent master group a unique ChannelName such as goldmain, scalper2, or clientA.
1

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.

2

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.

3

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.

4

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.

5

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.

6

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.

7

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.

8

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.

9

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.

10

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.

โ˜‘

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.

No matching setting was found.