Be aware:
When you’re utilizing the utility as Grasp Mode, you simply must setup Widespread and Grasp Part, ignore Slave Part.
When you’re utilizing the utility as Slave Mode, you simply must setup Widespread and Slave Part, ignore Grasp part
Or Easy drag the utility over, one choose as Grasp, one default as Slave and hold the remainder not modified for most simple usag.
Widespread Settings
Common EA configuration shared by each Grasp and Slave modes.
Mode (Mode) = Slave/Grasp
Units whether or not this terminal acts because the Grasp (sends trades) or Slave (receives and mirrors trades).
Repair Kind (FixType) = AutoFix
Controls how the EA handles image naming variations between terminals:
- Auto Detect (AutoFix): Mechanically deduces prefix/suffix.
- Guide Entry (ManualFix): Makes use of manually offered Prefix_ and Suffix_.
Operation Pace (Pace) = StableSpeed
Determines how steadily the EA scans for commerce updates:
- Regular (NormalSpeed) – Balanced operation.
- Quick (FastSpeed) – Faster response however increased useful resource utilization.
- Turbo (TurboSpeed) – Most pace for ultra-fast copying.
- Steady (StableSpeed) – Advisable secure tempo for many situations.
Stabilising Delay (Stablizing) = 200
Time in milliseconds to delay between cycles to stabilize CPU utilization and forestall overlapping actions.
Commerce Listing Show Depend (LineDisplay) = 15
What number of trades are proven within the on-screen label checklist at one time.
Chart Font Measurement (TextSize) = 11
Measurement of the font used for all chart-rendered labels.
Chart Font Shade (TextColor) = clrYellow
Shade of the font used for on-chart labels like heartbeat, commerce checklist, and so forth.
Load All Symbols (LoadAllSymbol) = false
If enabled, provides all identified symbols to the Market Watch. Helpful for brokers that require visibility earlier than buying and selling.
Grasp Settings
Settings particular to the terminal working in Grasp mode (broadcasting trades).
Grasp ID (MasterID) = “CopyCat”
Distinctive identify to establish this terminal as a grasp occasion. Slave EAs will use this ID to search out the commerce information file.
Grasp Image Prefix (MPrefix_) = “”
Use this in case your dealer applies a prefix to symbols (e.g., XEURUSD). Go away clean if not wanted.
Grasp Image Suffix (MSuffix_) = “”
Use this in case your dealer provides a suffix to symbols (e.g., XAUUSD.i). Go away clean if not wanted.
Grasp Chart Shade (MasterChartColor) = C’32,32,32′
The background coloration used for the chart the place the Grasp EA is operating. Helps to visually distinguish grasp terminals.
Slave Settings
Settings particular to the terminal working in Slave mode (receiving and executing trades).
Slave ID (SlaveID) = “CopyCat”
Distinctive identifier used to differentiate this slave terminal. A number of slave terminals can use the identical ID.
Customized Image Mapping (CustomSymbolString) = “” (*** contemplate rewording to keep away from confusion with prefix/suffix; suggestion: SymbolMap or MappedSymbols ***)
Comma-separated customized image mapping to match Grasp symbols. Format: Gold.x=XAUUSD, aUSTEC=US100. Max 16 entries.
Slave Image Prefix (Prefix_) = “”
Use this in case your dealer applies a prefix to symbols (e.g., aEURUSD). Go away clean if not wanted.
Slave Image Suffix (Suffix_) = “”
Use this in case your dealer applies a suffix to symbols (e.g., XAUUSDx). Go away clean if not wanted.
Copy Commerce Path (BuyOrSell) = BuyOrSellAll
Controls which instructions of trades are copied:
- Purchase and Promote (BuyOrSellAll)
- Purchase Solely (BuyOnly)
- Promote Solely (SellOnly)
- Disable Copying (BuyOrSellOff)
Lot Measurement Settings
Configures how commerce lot sizes are calculated and scaled on the slave aspect.
Auto Detect Preliminary Stability (InitialBalanceDetect) = true
Allow automated detection of the primary deposit on this account.
Preliminary Stability Set (InitialBalanceSet) = 25000
Guide fallback worth for preliminary deposit if auto-detection is disabled or fails.
Lot Rounding Mode (RoundMode) = ROUND_NEAREST
Easy methods to spherical calculated lot sizes:
- Spherical Down (ROUND_DOWN)
- Spherical Up (ROUND_UP)
- Spherical to Nearest (ROUND_NEAREST)
- Truncate (ROUND_TRUNC)
Fallback to Group B if SL Lacking (LotTypeFallBack) = true
If true, makes use of Group B logic (no SL required) when Group A mode is energetic however no legitimate SL is discovered.
Lot Kind With out SL (LotTypeWOSL) = LotEquityRatio
Easy methods to calculate lot dimension when SL shouldn’t be used:
- Fastened Lot (LotFixed)
- Lot Issue (LotFactor)
- Fairness Ratio (LotEquityRatio)
- Stability Ratio (LotBalanceRatio)
- Free Margin Ratio (LotFreeMarginRatio)
- Fairness × Leverage Ratio (LotEquityLeverageRatio)
Fastened Lot Measurement (LotFixedSet) = 0.1
Used when LotTypeWOSL = LotFixed.
Lot Issue (LotFactorSet) = 1.0
Multiply the grasp lot dimension by this issue.
Fairness Ratio (LotEquityRatioSet) = 0.75
Portion of fairness to base the slave lot dimension on.
Stability Ratio (LotBalanceRatioSet) = 1.5
Portion of account stability to make use of in lot sizing.
Free Margin Ratio (LotFreeMarginRatioSet) = 0.5
Proportion of free margin used for figuring out lot dimension.
Fairness × Leverage Ratio (LotEquityLeverageRatioSet) = 1
Makes use of fairness multiplied by leverage to compute lot dimension.
Lot Kind With SL (LotTypeSL) = LotPercentageInitialDepositLoss
Lot sizing mode that requires a legitimate SL to perform:
- % Preliminary Deposit (LotPercentageInitialDepositLoss)
- % Stability (LotPercentageBalanceLoss)
- % Fairness (LotPercentageEquityLoss)
- % Free Margin (LotPercentageFreeMarginLoss)
- % Each day Stability (LotPercentageDailyBalanceLoss)
- % Each day Fairness (LotPercentageDailyEquityLoss)
- Greenback Loss (LotDollarLoss)
% of Preliminary Deposit to Threat (LotPercentageInitialDepositLossSet) = 0.5
Threat per commerce primarily based on preliminary deposit.
% of Stability to Threat (LotPercentageBalanceLossSet) = 0.5
Threat per commerce primarily based on present stability.
% of Fairness to Threat (LotPercentageEquityLossSet) = 0.5
Threat per commerce primarily based on present fairness.
% of Each day Stability to Threat (LotPercentageDailyBalanceLossSet) = 1.0
Threat per commerce primarily based on every day opening stability.
% of Each day Fairness to Threat (LotPercentageDailyEquityLossSet) = 1.0
Threat per commerce primarily based on every day opening fairness.
% of Free Margin to Threat (LotPercentageFreeMarginLossSet) = 0.5
Threat per commerce primarily based on free margin accessible.
Threat Quantity in USD (LotDollarLossSet) = 12.25
Fastened greenback quantity to danger per commerce.
Lot Measurement Fixing
Permits min/max limits for lot sizes no matter calculated commerce quantity.
Allow Lot Measurement Clamping (LotSizeFixing) = false
If true, restricts calculated lot sizes to remain inside a minimal and most boundary.
Minimal Lot Allowed (MinLotFixing) = 0.11
The minimal quantity allowed for any commerce, even after rounding or danger calculations.
Most Lot Allowed (MaxLotFixing) = 1.2
The most important lot dimension the slave is allowed to execute, no matter calculated worth.
Pressure to Image Minimal (SymbolMinLotAdjust) = false
If enabled, overrides calculated lot dimension to the dealer’s image minimal when wanted.
Tolerance Settings
Defines how a lot deviation or slippage is tolerated earlier than skipping or failing trades.
Most Worth Deviation (PriceTolerance) = 10000
Defines how far (in factors) the worth can differ from the grasp earlier than a commerce is skipped.
Open Slippage Tolerance (Slippage) = 100
Most allowed slippage in factors when opening a brand new commerce.
Shut Slippage Tolerance (CloseSlippage) = 100
Most allowed slippage in factors when closing an current commerce.
Max Time Delay Tolerance (DelayTolerance) = 30
Most time in seconds the slave can lag behind the grasp earlier than a commerce is ignored. Maxiumum of 30 second is allowed for this.
Cease Loss & Take Revenue Settings
Defines how SL and TP are assigned to slave trades, with choices for fastened, ATR-based, or none.
Cease Loss Mode (SLType) = SLFollowMasterType
Controls how SL is assigned:
- Observe Grasp (SLFollowMasterType)
- No SL (SLNoneType)
- Fastened Factors (SLByPointType)
- ATR Based mostly (SLATRType)
ATR SL Multiplier (ATRSLFactor) = 1.5
Used when SLType = SLATRType. Units SL at 1.5 × ATR.
Fastened SL in Factors (SLByPoint) = 300
Used when SLType = SLByPointType. SL is about to 300 factors.
Take Revenue Mode (TPType) = TPFollowMasterType
Controls how TP is about:
- Observe Grasp (TPFollowMasterType)
- No TP (TPNoneType)
- Fastened Factors (TPByPointType)
- Multiplier of SL (TPFactorType)
Fastened TP in Factors (TPByPoint) = 500
Used when TPType = TPByPointType. TP is about to 500 factors.
TP Multiplier (TPFactor) = 2
Used when TPType = TPFactorType. TP is 2 × SL.
ATR Timeframe (ATRTimeFrame) = PERIOD_H1
Timeframe used for ATR-based SL calculation.
ATR Interval (ATRPeriod) = 7
Variety of candles used for ATR calculation.
ADR Interval (ADRPeriod) = 7
Variety of days used to calculate ADR if utilized elsewhere in technique.
Permit Filters
Whitelists particular symbols, magic numbers, or commerce feedback to allow copying.
Allowed Symbols (AllowSyms) = “”
Comma-separated checklist of symbols to repeat (e.g., EURUSD,GBPUSD). Solely these symbols can be copied. Most of 16 symbols.
Allowed Magic Numbers (AllowMNs) = “”
Comma-separated checklist of magic numbers. Solely trades with these magic numbers can be copied. Most of 16.
Allowed Feedback (AllowComms) = “”
Comma-separated checklist of commerce feedback to permit. Solely trades with matching feedback can be copied. Most of 16 entries.
Disallow Filters
Defines which symbols, magic numbers, or feedback must be blocked from being copied to the slave account.
Disallowed Symbols (DisallowSyms) = “”
Symbols to dam from copying. If an emblem is listed right here, it won’t be copied even when allowed above.
Disallowed Magic Numbers (DisallowMNs) = “”
Trades with these magic numbers can be blocked from copying.
Disallowed Feedback (DisallowComms) = “”
Feedback used to dam trades from being copied. Helpful to filter out particular EAs or handbook trades.
Reverse Copy and Exit Controls
Reverse Copy Trades (CopyReverse) = false
If enabled, BUY trades from the grasp develop into SELL on the slave, and vice versa.
Ignore Place Shut (DisableCopyPositionExit) = false
If true, the slave will ignore place closures on the grasp aspect.
Ignore Order Deletion (DisableCopyOrderExit) = false
If true, the slave will ignore pending order deletions from the grasp.
Pending Orders
Permits or disables copying of pending orders (e.g., Purchase Restrict, Promote Cease)
Copy Pending Orders (CopyPendingTrades) = true
Allow or disable copying of pending orders (Purchase Restrict, Promote Cease, and so forth.).
Copy Delay Controls
Optionally delays commerce copying to simulate latency or adjust to technique situations or keep away from prop agency flag
Allow Delay Earlier than Copying (DelayToCopy) = false
If enabled, introduces a randomized delay earlier than copying any commerce from the grasp.
Minimal Delay Seconds (MDelayMin) = 10
Minimal delay in seconds for random delay habits.
Most Delay Seconds (MDelayMax) = 100
Most delay in seconds for random delay habits.
Higher Worth Logic
Describes strategies to delay copying till a greater commerce entry value is obtainable.
Higher Worth Mode (BetterPrice) = BetterPriceOff
Allow or disable ready for a greater value earlier than executing a copied commerce:
- Disabled (BetterPriceOff)
- Higher Worth By Level (BetterPriceByPoint)
- Higher Worth By Cash (BetterPriceByMoney)
- Higher Worth By ATR (BetterPriceByATR)
- Higher Worth By ADR (BetterPricebyADR)
Higher Worth Applies To (BetterPriceType) = BetterPricePositionAndOrder
Determines what kind of trades are topic to raised value analysis:
- Positions and Orders (BetterPricePositionAndOrder)
- Positions Solely (BetterPricePosition)
- Orders Solely (BetterPriceOrder)
Higher Worth by Factors (BetterPriceByPointValue) = 100
Minimal variety of factors the worth should enhance to qualify as a greater value.
Higher Worth by Cash Worth (BetterPriceByMoneyValue) = 10.50
Minimal financial enchancment (in deposit forex) required earlier than copying the commerce.
Higher Worth by ATR Proportion (BetterPriceByATRValue) = 0.1
Minimal enchancment as a proportion of ATR.
Higher Worth by ADR Proportion (BetterPricebyADRValue) = 5.5
Minimal enchancment as a proportion of ADR.
Max Watch for Higher Worth (BetterPriceDelayTolerance) = 600
Most period of time (in seconds) to attend for a greater value earlier than the commerce is pressured by.
Alter SL/TP with Entry Shift (AdjustTPSLDelta) = true
If true, SL and TP ranges can be adjusted relative to any shift within the entry value as a result of higher value filtering.
Time Session Filters
Controls buying and selling primarily based on time-of-day and weekday restrictions. Helpful for prop agency compliance, to not commerce at sure day or session.
Time Session #1 Mode (TimeSession1) = AllowAll
Controls commerce permission logic throughout Session 1:
- Permit All (AllowAll)
- Permit Open Place and Order (AllowOpenPositionandOrder)
- Permit Open Place Solely (AllowOpenPositionOnly)
- Permit Open Order Solely (AllowOpenOrderOnly)
- Disallow All (DisallowAll)
Buying and selling Days for Session #1
- Monday (TradeMonday1) = true
- Tuesday (TradeTuesday1) = true
- Wednesday (TradeWednesday1) = true
- Thursday (TradeThursday1) = true
- Friday (TradeFriday1) = true
- Saturday (TradeSaturday1) = true
- Sunday (TradeSunday1) = true
Session #1 Time Vary
- From Hour (From_Hour1) = 0
- From Minute (From_Min1) = 0
- To Hour (To_Hour1) = 23
- To Minute (To_Min1) = 59
Time Session #2 Mode (TimeSession2) = AllowAll
Identical logic as Session 1 for a second unbiased time session.
Buying and selling Days for Session #2
- Monday (TradeMonday2) = true
- Tuesday (TradeTuesday2) = true
- Wednesday (TradeWednesday2) = true
- Thursday (TradeThursday2) = true
- Friday (TradeFriday2) = true
- Saturday (TradeSaturday2) = true
- Sunday (TradeSunday2) = true
Session #2 Time Vary
- From Hour (From_Hour2) = 0
- From Minute (From_Min2) = 0
- To Hour (To_Hour2) = 23
- To Minute (To_Min2) = 59
Copy Present Trades (Preliminary Sync)
Controls the best way to synchronize missed trades on startup and replica the present trades
Preliminary Sync Mode (InitialSync) = InitialSyncOff
Determines whether or not to repeat current open trades when the slave EA is launched:
- Off (InitialSyncOff)
- Copy All Trades (InitialSyncAll)
- Copy Solely Worthwhile (InitialSyncProfit)
- Copy Solely Shedding (InitialSyncLoss)
Preliminary Sync Kind (InitialSyncType) = InitialSyncTypeAll
Specifies what to sync when InitialSync is enabled:
- Sync All (InitialSyncTypeAll)
- Positions Solely (InitialSyncTypePosition)
- Orders Solely (InitialSyncTypeOrder)
Slice Quantity
Climate to separate commerce quantity into slices, or similar lot sizes. Helpful for some props agency, or to keep away from larger lot dimension has increased slippages points with some brokers
Slice Mode (SliceBy) = SliceOff
Controls whether or not to separate trades into smaller components:
- Off (SliceOff)
- Slice by Lot Measurement (SliceByLotSize)
- Slice by Variety of Trades (SliceByNumberofTrade)
Variety of Slices (SliceNumber) = 3
Variety of commerce slices if SliceBy = SliceByNumberofTrade.
Slice Measurement in Tons (SliceSize) = 5
Measurement of every slice in heaps if SliceBy = SliceByLotSize.
Slice Dealing with Methodology (SliceMode) = SliceWithOverflow
Easy methods to deal with leftover quantity:
- Permit Overflow (SliceWithOverflow)
- Restrict Inside Whole (SliceWithinLimit)
- Add Additional Slice for Leftovers (SliceWithExtraRemainder)
Drawdown Administration
Protects the account from extreme losses inside a single buying and selling day utilizing stability or fairness thresholds. It helps Day Open fairness or stability whichs are utilized by prop agency. A should have perform for prop agency or your private account.
Each day Drawdown Mode (HitDD) = DDOff
Specifies the best way to react if every day loss limits are breached:
- Off (DDOff)
- Shut All Managed Trades (DDCloseManaged)
- Shut All Trades (DDCloseAll)
Each day Drawdown Reference (DDType) = DailyAccountBalance
Determines which account worth is monitored for DD:
- Each day Account Stability (DailyAccountBalance)
- Each day Account Fairness (DailyAccountEquity)
- Present Account Stability (CurrentAccountBalance)
- Preliminary Account Stability (InitialAccountBalance)
Drawdown Set off Kind (DDAmountType) = DDAmountPC
Measurement foundation:
- % Drop (DDAmountPC)
- Fastened Quantity (DDAmountDollar)
Drawdown % Restrict (DDAmountPCSet) = 3
The % drop that triggers drawdown safety.
Drawdown Greenback Restrict (DDAmountDollarSet) = 10
Fastened quantity loss in {dollars} that triggers drawdown safety.
Lock Account Till Subsequent Day (DDLock) = true
If true, disables buying and selling for the remainder of the day as soon as drawdown threshold is triggered.
Total Drawdown Safety
Longer-term safety primarily based on the overall drawdown relative to the preliminary, present stability, open day fairness or stability, a should have perform for prop agency or your private account.
Total Drawdown Mode (HitODD) = ODDOff
Habits when the overall account drawdown restrict is reached:
- Off (ODDOff)
- Shut Managed Trades Solely (ODDCloseManaged)
- Shut All Trades (ODDCloseAll)
Total Drawdown Reference (ODDType) = ODDInitialAccountBalance
Reference level used for calculating drawdown:
- Preliminary Account Stability (ODDInitialAccountBalance)
- Present Account Stability (ODDCurrentAccountBalance)
- Each day Account Stability (ODDDailyAccountBalance)
- Each day Account Fairness (ODDDailyAccountEquity)
Total Drawdown Kind (ODDAmountType) = ODDAmountPC
Select between proportion or fastened quantity:
- % Drop (ODDAmountPC)
- Fastened Greenback Loss (ODDAmountDollar)
Total Drawdown % (ODDAmountPCSet) = 8
Proportion loss to set off safety.
Total Drawdown Quantity (ODDAmountDollarSet) = 20
Fastened greenback quantity to set off safety.
Lock Account After ODD Breach (ODDLock) = true
If true, disables all exercise till the following buying and selling day.
Fairness Safety
Prevents new trades or cancels pending orders when fairness falls under outlined thresholds.
Fairness Safety Mode (EquityProtection) = EPOff
What to do when fairness falls under an outlined threshold:
- Off (EPOff)
- No New Positions or Orders (EPNoNewPositionNoNewOrder)
- No New Positions + Cancel Orders (EPNoNewPositionCancelAllOrders)
Fairness Safety Reference (EquityProtectionType) = EPDailyAccountBalance
Worth used to observe fairness drop:
- Each day Account Stability (EPDailyAccountBalance)
- Each day Account Fairness (EPDDailyAccountEquity)
- Present Account Stability (EPDCurrentAccountBalance)
- Preliminary Account Stability (EPInitialAccountBalance)
Fairness Safety Quantity Kind (EPAmount) = EPAmountPC
Set off by proportion or fastened greenback worth:
- % Drop (EPAmountPC)
- Fastened Quantity (EPAmountDollar)
Fairness Drop % (EPAmountPCSet) = 5.0
Most proportion drop in fairness earlier than safety is triggered.
Fairness Drop Quantity (EPAmountDollarSet) = 10.0
Most greenback loss allowed earlier than safety triggers.
Lock Account Till Tomorrow (EquityLock) = false
When true, disables additional buying and selling for the remainder of the day if fairness safety is breached.
Retry and Execution Settings
Controls retry makes an attempt and execution pace logic in case of commerce failure.
Variety of Retry Makes an attempt (NumberOfAttempt) = 3
What number of occasions to retry sending an order if the primary try fails.
Wait Between Retries (WaitMilliSec) = 250
Delay in milliseconds between every retry try.
Allow Quick Execution First (FastExec) = true
If enabled, the primary execution try is made in quick (asynchronous) mode earlier than retrying in slower, safer methods.
Magic Quantity Settings
Configure how magic numbers is utilized to copied trades.
Magic Quantity Mode (MNType) = MNInput
Easy methods to assign the magic quantity to copied trades:
- Go away Clean (MNBlank)
- Use Grasp’s Magic Quantity (MNMaster)
- Guide Enter (MNInput)
Guide Magic Quantity (MagicNumber) = 2025
Used solely when MNType = MNInput. The magic quantity to assign to all slave trades.
Remark Settings
Configure how feedback is utilized to copied trades.
Remark Kind (CommentType) = CommentInput
Controls how commerce feedback are assigned:
- Go away Clean (CommentBlank)
- Copy from Grasp (CommentMaster)
- Guide Enter (CommentInput)
Guide Remark (Remark) = CopyCat
Commerce remark to connect to every order. Used provided that CommentType = CommentInput.
Chart Show
Visible customization and entry to diagnostic/debug instruments.
Slave Chart Background Shade (SlaveChartColor) = C’48,48,48′
Background coloration of the slave chart window. Helps establish slave terminals visually.
Be part of Copy Cat Channel: https://www.mql5.com/en/channels/copycat
Be part of Copy Cat Help Group: Ask me