Local Trade Copier EA MT4/5 – Settings/Inputs Guide - Part 2
If you need help with your setup, please contact me through my MQL5.com profile or my company email and I will be happy to assist you with your setup.
Contact me on MQL5.com | Company email: info@juvenille-emperor.com
✔️ Local Trade Copier EA MT4©: MQL5 Market – MT4 Version
✔️ Local Trade Copier EA MT5©: MQL5 Market – MT5 Version
Which Version Do I Need?
MT4 → MT4: Local Trade Copier EA MT4©
MT5 → MT5: Local Trade Copier EA MT5©
MT4 → MT5: Local Trade Copier EA MT4© + Local Trade Copier EA MT5© versions
MT5 → MT4: Local Trade Copier EA MT5© + Local Trade Copier EA MT4© versions
If your setup contains both MT4 and MT5 terminals, you need both versions.
Quick Setup Video
Part 1: Quick Simple Setup
Part 2: Setup with Symbols with Suffixes
Part 3: Setup with Special Symbols
Important! The only 2 settings that are filled in the transmitter account side are these 2 highlighted in the screenshot below. All other settings are filled in the receiver account side.

Local Trade Copier EA MT4/5 Settings/Inputs Guide
For the Part 1 of the Settings/Inputs Guide, please click here: https://www.mql5.com/en/blogs/post/745681
Trade Management
Synchronized Trade Closure: Controls how closing/deleting the original Transmitter trade/order affects its Receiver copy.
-
True: Closes/deletes corresponding Receiver market trades and pending orders when the Transmitter originals are closed/deleted.
-
False: Receiver trades/orders remain active after their Transmitter originals are closed/deleted.
-
True for Market Trades Only: Closes the Receiver position only when the corresponding Transmitter position is also a market trade at that time.
-
True for Pending Orders Only: Deletes the Receiver pending order only when the corresponding Transmitter position is also pending at that time.
-
True for Same Trade/Order Type: Synchronizes closure only when both sides are the same type. Market-to-market and pending-to-pending are synchronized; mismatched types are left unchanged.
Closure Delay in Seconds: Delays Receiver trade closure by the specified number of seconds. Enter one value, such as 5, or a range such as 5,20 for a random delay.
Configure Transmitter Server Offset Hours if the brokers use different server times.
Closure Better Price: Enables/disables waiting for the configured closure price condition.
Important: This can cause a closure to be missed if the required price is never reached, potentially leaving the Receiver trade open and unmanaged.
Closure Better Price Difference in Points: Defines the price condition required before closing.
0 closes a Buy at the same or higher price and a Sell at the same or lower price.
50 closes a Buy 50 points higher or a Sell 50 points lower.
-50 closes a Buy 50 points lower or a Sell 50 points higher.
Symbol-specific values can be entered, for example:
10,GBPUSD-20,USDJPY30
Include Receiver suffixes where applicable.
10,GBPUSD.r-20,USDJPY.r30
Reopen Closed Copied Trades: Controls whether Receiver trades/orders that were closed are reopened while the corresponding Transmitter trades/orders remain open.
-
False: Does not reopen.
-
Instantly: Reopens immediately.
-
At Open Price or Better: Reopens when the current price reaches or improves upon the original Transmitter open price, subject to Better Price settings.
-
At a Specific Time: Reopens at the time configured below if the Transmitter position is still open.
Reopen Closed Copied Trades Time: Sets the HH:MM time used by At a Specific Time above.
Apply Partial Closure: Enables/disables copying of partial closures from the Transmitter to the Receiver.
Close Transmitter if Receiver is Closed: Closes the original Transmitter trade/order when its corresponding Receiver trade/order is closed.
Important: Configure this setting on the Transmitter side.
Receiver TP/SL & Trailing Management
Virtual/Hidden TP/SL Levels: Uses virtual/hidden TP, SL, Break Even and Trailing Stop levels for Receiver copied trades. These levels are not visible to the broker or market.
Show Virtual Levels on Chart: Displays virtual TP and SL levels on the chart where the EA is attached. TP appears as a lime line and SL as a salmon line, with profit/loss information on mouse hover.
Virtual levels can only be drawn on the chart where the EA itself is attached.
Use TP/SL Levels in: Selects whether the following TP, SL, Break Even and Trailing settings are calculated in Points or Money.
Take Profit in Points: Applies the specified TP distance in points to Receiver copied trades. Used only when Copy Take Profit=false.
Stop Loss in Points: Applies the specified SL distance in points. Used only when Copy Stop Loss=false.
Break Even Profit in Points: Moves SL to Break Even when the specified profit in points is reached. Used only when Copy Take Profit=false and Copy Stop Loss=false.
Trailing Start in Points: Starts trailing when the specified profit in points is reached. Used only when Copy Take Profit=false and Copy Stop Loss=false.
Trailing Stop in Points: Defines the Trailing Stop distance in points. Used only when Copy Take Profit=false and Copy Stop Loss=false.
Trailing Step in Points: Defines the Trailing Stop step in points. Used only when Copy Take Profit=false and Copy Stop Loss=false.
Take Profit in Money: Applies the specified TP amount in account currency. Used only when Copy Take Profit=false.
Stop Loss in Money: Applies the specified SL amount in account currency. Used only when Copy Stop Loss=false.
Break Even Profit in Money: Moves SL to Break Even when the specified profit in account currency is reached. Used only when Copy Take Profit=false and Copy Stop Loss=false.
Trailing Start in Money: Starts trailing when the specified profit in account currency is reached. Used only when Copy Take Profit=false and Copy Stop Loss=false.
Trailing Stop in Money: Defines the Trailing Stop distance in account currency. Used only when Copy Take Profit=false and Copy Stop Loss=false.
Trailing Step in Money: Defines the Trailing Stop step in account currency. Used only when Copy Take Profit=false and Copy Stop Loss=false.
TP Based on Risk/Reward Ratio 1/: Calculates Receiver TP from the trade's SL according to the specified risk/reward ratio.
Requires Copy Take Profit=false, Take Profit in Points=0 and Take Profit in Money=0.
Example: With 2 and a 100-point SL, TP is 200 points. With 0.5, a 100-point SL produces a 50-point TP.
Partial Closure Management
Partial Closure Take Profit % 1: First profit level, expressed as a percentage of the TP distance, at which a partial closure occurs.
Example: With a 100-point TP and value 30, the first partial closure occurs at +30 points.
Partial Closure TP Lot Size % 1: Percentage of the trade's initial lot size closed at TP level 1.
Example: 30 closes 0.30 lots from an initial 1-lot trade, leaving 0.70.
Partial Closure Take Profit % 2: Second partial-closure level as a percentage of TP distance.
Example: 50 with a 100-point TP triggers at +50 points.
Partial Closure TP Lot Size % 2: Percentage of the initial lot size closed at TP level 2.
Example: Another 30% of an initial 1-lot trade closes 0.30 lots, leaving 0.40 after two 30% closures.
Partial Closure Take Profit % 3: Third partial-closure level as a percentage of TP distance.
Example: 70 with a 100-point TP triggers at +70 points.
Partial Closure TP Lot Size % 3: Percentage of the initial lot size closed at TP level 3.
Example: Another 30% of an initial 1-lot trade closes 0.30 lots, leaving 0.10 after three 30% closures.
Partial Closure Stop Loss % 1: First loss level, expressed as a percentage of the SL distance, at which a partial closure occurs.
Example: With a 100-point SL and value 30, partial closure occurs at 30 points toward the SL.
Partial Closure SL Lot Size % 1: Percentage of the trade's initial lot size closed at SL level 1.
Partial Closure Stop Loss % 2: Second partial-closure level as a percentage of SL distance.
Partial Closure SL Lot Size % 2: Percentage of the trade's initial lot size closed at SL level 2.
Partial Closure Stop Loss % 3: Third partial-closure level as a percentage of SL distance.
Partial Closure SL Lot Size % 3: Percentage of the trade's initial lot size closed at SL level 3.
As with the TP examples, three 30% partial closures of an initial 1-lot trade close 0.30 lots at each stage, leaving 0.10 lots after the third closure.
Scheduled Trade Closure
Close All Copied Market Trades on: Selects a day—Monday through Sunday, Every Day, or false—on which all Receiver copied market trades are automatically closed.
Close All Copied Market Trades Time: Sets the closing time in HH:MM format, using the Receiver broker's Market Watch server time.
Example: 09:30 or 18:30.
Delete All Copied Pending Orders on: Selects a day—Monday through Sunday, Every Day, or false—on which all Receiver copied pending orders are automatically deleted.
Delete All Copied Pending Orders Time: Sets the deletion time in HH:MM format using the Receiver broker's Market Watch server time.
Close Copied Trades in Minutes: Automatically closes each Receiver copied market trade after the specified number of minutes.
Example: 120 closes each copied market trade two hours after it was copied.
Does not apply to pending orders.
Basket Trade Management
Basket Management in % of Balance
Use Basket Take Profit %: Enables/disables Basket Take Profit %.
Basket Take Profit %: Closes all Receiver copied trades when their combined result reaches the specified percentage of balance. Decimals are supported.*
Use Basket Stop Loss %: Enables/disables Basket Stop Loss %.
Basket Stop Loss %: Closes all Receiver copied trades when their combined loss reaches the specified percentage of balance.*
Use Basket Break Even %: Enables/disables Basket Break Even %.
Basket Break Even %: Moves the basket Stop Loss to Break Even when the combined profit reaches the specified percentage of balance.*
Use Basket Trailing Stop Loss %: Enables/disables Basket Trailing Stop Loss %.
Basket Trailing Start %: Starts basket trailing when combined profit reaches the specified percentage of balance.
Basket Trailing Stop %: Defines the basket trailing Stop Loss level in percentage of balance. If reached, the copied positions are closed.*
Basket Trailing Step %: Defines the percentage step by which the basket trailing Stop Loss is moved.
Basket Management in Money
Use Basket Take Profit in Money: Enables/disables Basket Take Profit in Money.
Basket Take Profit in Money: Closes all Receiver copied trades when their combined result reaches the specified profit in account currency.*
Use Basket Stop Loss in Money: Enables/disables Basket Stop Loss in Money.
Basket Stop Loss in Money: Closes all Receiver copied trades when their combined loss reaches the specified amount in account currency.*
Use Basket Break Even in Money: Enables/disables Basket Break Even in Money.
Basket Break Even in Money: Moves the basket Stop Loss to Break Even when the specified combined profit in account currency is reached.*
Use Basket Trailing Stop Loss in Money: Enables/disables Basket Trailing Stop Loss in Money.
Basket Trailing Start in Money: Starts basket trailing when the specified combined profit in account currency is reached.
Basket Trailing Stop in Money: Defines the basket trailing Stop Loss level in account currency. If reached, the copied positions are closed.*
Basket Trailing Step in Money: Defines the account-currency step by which the basket trailing Stop Loss is moved.
Basket Management in Average Points
Use Basket Take Profit in Average Points: Enables/disables closing all copied trades/orders when their average profit reaches the specified number of points.
Basket Take Profit in Average Points: Defines the target average profit in points.
Example: If three trades are at +40, +70 and -20 points, their average is:
(40 + 70 - 20) / 3 = 30
A setting of 30 closes all copied positions.
Use Basket Stop Loss in Average Points: Enables/disables closing all copied trades/orders when their average loss reaches the specified number of points.
Basket Stop Loss in Average Points: Defines the maximum average loss in points.
Example: If three trades are at -40, -70 and +20 points, the average loss is 30 points. A setting of 30 closes all copied positions.
Use Basket Break Even in Average Points: Enables/disables moving the basket Stop Loss to Break Even when the specified average profit is reached.
Basket Break Even in Average Points: Defines the average profit level in points that triggers Basket Break Even.
Use Basket Trailing Stop Loss in Average Points: Enables/disables basket trailing based on average points.
Basket Trailing Start in Average Points: Defines the average profit level at which basket trailing begins.
Basket Trailing Stop in Average Points: Defines the trailing Stop Loss level in average points. If the average result falls to this level during trailing, all copied trades/orders are closed.
Basket Trailing Step in Average Points: Defines the average-points step by which the basket trailing Stop Loss moves upward as average profit increases.
Emergency Account Protection
Use Emergency Account Protection: Enables/disables closing all Receiver copied trades and stopping copying when either Receiver Account Stop Loss Equity or Receiver Account Take Profit Equity is reached.
After Emergency Account Protection is triggered, to resume copying you must close the chart where the EA is attached, open a new chart, reattach the EA and configure the Receiver again.
Receiver Account Stop Loss Equity: Equity level below which Emergency Account Protection is triggered.
Receiver Account Take Profit Equity: Equity level above which all open trades are closed and copying is disabled. This must be higher than the current equity.
Max Drawdown % from Balance High: Defines the maximum accepted drawdown percentage from the highest account balance reached since the EA was attached. When reached, the EA closes all Receiver copied trades and disables copying.
This protection remains active even when Use Emergency Account Protection=false.
Maximum Daily Drawdown from: Selects whether Maximum Daily Drawdown is calculated from Balance or Equity.
Maximum Daily Drawdown in %: Defines the maximum daily drawdown percentage. When reached, all Receiver copied trades are closed and copying is suspended until the next day.
The percentage is calculated from the selected Balance or Equity value at 23:59:59 of the previous day.
If Copy Current Trades=true, Transmitter trades that remain open and were not previously copied can be copied when copying resumes.
This protection remains active even when Use Emergency Account Protection=false.
To override the protection, delete the Receiver terminal's Global Variables through:
MT4/MT5 → Tools → Global Variables → Ctrl+A → Delete
Then restart both Transmitter and Receiver terminals and reapply the EA setup.
Important: Do not delete these Global Variables while copied trades are open, because those trades will be left unmanaged.
Maximum Daily Drawdown in Money: Defines the maximum daily drawdown in account currency. When reached, all Receiver copied trades are closed and copying is suspended until the next day.
It uses the selected Balance or Equity value at 23:59:59 of the previous day and otherwise follows the same resume, Global Variables and open-trade precautions described above.
Maximum Daily Profit from: Selects whether Maximum Daily Profit is calculated from Balance or Equity.
Maximum Daily Profit in %: Defines the desired maximum daily profit percentage. When reached, all Receiver copied trades are closed and copying is suspended until the next day.
The percentage is calculated from the selected Balance or Equity value at 23:59:59 of the previous day.
If Copy Current Trades=true, still-open Transmitter trades that were not previously copied can be copied when copying resumes.
This protection remains active even when Use Emergency Account Protection=false.
To override the protection, delete the Receiver terminal's Global Variables through:
MT4/MT5 → Tools → Global Variables → Ctrl+A → Delete
Then restart both Transmitter and Receiver terminals and reapply the EA setup.
Important: Do not delete these Global Variables while copied trades are open, because those trades will be left unmanaged.
Maximum Daily Profit in Money: Defines the desired maximum daily profit in account currency. When reached, all Receiver copied trades are closed and copying is suspended until the next day.
It uses the selected Balance or Equity value at 23:59:59 of the previous day and otherwise follows the same resume, Global Variables and open-trade precautions described above.
No Copying if Transmitter Drawdown %>: Temporarily stops copying new trades when current Transmitter drawdown exceeds the specified percentage. Copying resumes when Transmitter drawdown falls below the threshold.
Example: With 20, new copying stops above 20% Transmitter drawdown and resumes below 20%.
This setting remains active even when Use Emergency Account Protection=false.
No Copying if Receiver Drawdown %>: Temporarily stops copying new trades when current Receiver drawdown exceeds the specified percentage. Copying resumes when Receiver drawdown falls below the threshold.
Example: With 20, new copying stops above 20% Receiver drawdown and resumes below 20%.
This setting remains active even when Use Emergency Account Protection=false.
Copy Only if Transmitter Drawdown %>: Allows copying only when Transmitter drawdown exceeds the specified percentage.
Example: With 5, the Receiver starts copying once Transmitter drawdown exceeds 5%. If drawdown later falls below 5%, new trades stop being copied until it exceeds 5% again.
Once the threshold is initially reached, all Transmitter trades are copied.
This setting remains active even when Use Emergency Account Protection=false.
Copy Only if Transmitter Drawdown % per Symbol>: Allows copying for each symbol only when the combined drawdown of all Transmitter trades for that symbol exceeds the specified percentage.
Example: With 2, trades for a symbol begin copying when that symbol's combined Transmitter drawdown exceeds 2%. If it falls below 2%, new trades for that symbol stop being copied until the threshold is exceeded again.
Once the threshold is reached, all Transmitter trades for that symbol are copied.
This setting remains active even when Use Emergency Account Protection=false.
Notification Settings
Send Email Notification: Enables/disables email notifications for every new trade opened in the trading account. Notifications include the comment, date/time, symbol, price and applied TP/SL levels.
Configure the Email tab under MT4/MT5 → Tools → Options for this feature to work.
Send Push Notification: Enables/disables push notifications to your phone/tablet for every new original or copied/multiplied trade. Notifications include the comment, date/time, symbol, price and applied TP/SL levels.
Configure the Notifications tab under MT4/MT5 → Tools → Options.
Send Daily Notification: Enables/disables a daily account-status notification containing information such as date/time, balance, equity and margin, helping you monitor trading activity and open copied/multiplied trades.
Send Daily Notification Time: Defines when daily email and/or push notifications are sent.
Use the exact four-digit HH:MM format, for example:
08:00
Multiple times can be entered with commas:
00:00,12:00,20:00
Formats such as 0:00, 00.00 or 0,00 are not valid.
Send Emergency Notification: Enables/disables emergency email and/or push notifications when account equity falls below the configured level.
The notification includes account information such as date/time, balance, equity and margin.
Emergency Notification Equity: Defines the account-equity level below which an emergency notification is sent.
Example: 1000 means 1,000 units of the account currency.
Multiple levels can be entered:
6000,8000
Symbol Mapping Settings
Configure these settings on the Receiver.
Prefix of the Transmitter Account: Enter a non-dot prefix used by the Transmitter symbols when the Receiver does not use it.
Example:
mEURUSD → EURUSD
Enter:
m
A Transmitter dot prefix such as r.EURUSD is mapped automatically. Automatic Transmitter prefix mapping applies to prefixes separated from the main symbol by a dot; it does not apply to non-dot forms such as ecnEURUSD or +EURUSD.
Suffix of the Transmitter Account: Enter a non-dot suffix used by the Transmitter symbols when the Receiver does not use it.
Example:
EURUSDm → EURUSD
Enter:
m
A Transmitter dot suffix such as EURUSD.r is mapped automatically. Automatic Transmitter suffix mapping applies to suffixes separated from the main symbol by a dot; it does not apply to forms such as EURUSDecn or EURUSD+.
Prefix of the Receiver Account: Enter the prefix used by Receiver symbols when the Transmitter does not use it.
Example:
EURUSD → mEURUSD
Enter:
m
Suffix of the Receiver Account: Enter the suffix used by Receiver symbols when the Transmitter does not use it.
Example:
EURUSD → EURUSD.r
Enter:
.r
Special Symbol 1-30: Maps instruments that use substantially different names between the Transmitter and Receiver.
Enter the exact Transmitter symbol first and Receiver symbol second, separated by a comma.
Example:
Transmitter: US500
Receiver: SPX500
Enter:
US500,SPX500
Symbol names must be entered exactly as shown in MT4/MT5 Market Watch, including uppercase/lowercase letters, prefixes and suffixes where applicable.
Up to 30 Special Symbol mappings can be configured.
* Basket percentage/money settings marked above are calculated as equity over balance, taking swaps and commissions into account.
For the Part 1 of the Settings/Inputs Guide, please click here: https://www.mql5.com/en/blogs/post/745681



