Copier Released

GDI Local Copier: Master Sender and Master Receiver

Copy gold trades from one MetaTrader 5 account to another on the same computer or Windows server, and decide with your own filters which of them are worth copying.

  • Version4.00
  • Last updated2026-12-05
  • SymbolGold (XAUUSD) only
  • TimeframeAny gold chart

Download the Master Sender ↓ Download the Master Receiver ↓ Get a GDI Key (7-day free trial) →

One system in two halves

The copier is made of two Expert Advisors that work together.

RobotWhere you attach itWhat it doesDoes it trade?
Master SenderOn the source account (the one you copy from)Writes the list of open gold positions to a file in the MetaTrader Common folderNo, it only reads
Master ReceiverOn the destination account (the one you copy to)Reads that file and opens, adjusts and closes the copies under your settingsOnly in Automatic copy mode

Nothing goes through a signal server: both terminals simply run on the same machine. To follow the GDI Signal over the internet instead, use the GDI Signal Copier EA.

An example: from a cent account to a real account

Imagine a Windows server with two MetaTrader 5 terminals. The first is logged in to a cent account that receives trades from a copy service such as Pelican Trading. The second is logged in to a real account, for example at IC Markets.

The filters limit what gets copied; they do not make a poor source profitable, and no result is promised. Try the whole chain on demo accounts first.

The IC Markets link is an affiliate link: see the affiliate disclosure. Pelican Trading is only named as an example and is not connected with this site.

Requirements

RequirementDetail
PlatformMetaTrader 5 on Windows, a PC or a Windows server. Two separate installations if both accounts are on the same machine.
SymbolGold (XAUUSD) only. Broker suffixes are recognised.
Account typeA hedging account is the safe choice for the destination.
GDI KeyRequired by both robots. The files are free to download.
Terminal settingsTools > Options > Expert Advisors: tick 'Allow WebRequest for listed URL' and add https://sync.golddailyinsights.com. On the destination chart tick 'Allow Algo Trading'.

Downloads

FileWhat it isSHA-256
GDI_Master_Sender_EA.ex5The sending robotb2daf14d1318dbb598eca0102d33f4be5c0259a5c83e655e2bf635a34d8b135c
GDI_Master_Receiver_EA.ex5The receiving robot01f71f1af03bb8b887bdb625d773b33fb488b41fa128b2806161d75aeb111584

Ready-made settings files (load them on the Inputs tab with the Load button, then type your GDI Key):

Settings fileWhat it sets
GDI_Master_Sender_EA.setSender, factory settings
GDI_Master_Receiver_EA.setReceiver, factory settings: Alert only, the GDI readings and the GDI Signal style protections off
GDI_Master_Receiver_like_1K.setReceiver, like the 1K version: at most 0.03 lots open together, 3% at the stop loss, day stop 10%, total stop 25%, smaller sizes in drawdown, GDI Bot permission, trend, news and market hours filters on
GDI_Master_Receiver_like_10K.setReceiver, like the 10K version: at most 0.20 lots open together, 1% at the stop loss, day stop 4%, total stop 8%, smaller sizes in drawdown, GDI Bot permission, trend, news and market hours filters on
GDI_Master_Receiver_like_100K.setReceiver, like the 100K version: at most 2.00 lots open together, 1% at the stop loss, day stop 4%, total stop 8%, smaller sizes in drawdown, GDI Bot permission, trend, news and market hours filters on

The three presets take their percentages from the GDI Signal versions and measure them on your own account. They are starting points that you can change input by input, and they keep the operating mode on Alert only until you change it.

Installation

  1. Install two MetaTrader 5 terminals (or use two that you already have) and log each one in to its account.
  2. In each terminal use File > Open Data Folder, copy the robot into MQL5/Experts (Sender in the source terminal, Receiver in the destination terminal) and refresh the Navigator.
  3. In both terminals open Tools > Options > Expert Advisors, tick 'Allow WebRequest for listed URL' and add https://sync.golddailyinsights.com.
  4. Source terminal: open a gold chart, attach the Master Sender, type your GDI Key and leave the channel name as GDI_MASTER (or choose your own).
  5. Destination terminal: open a gold chart, attach the Master Receiver, type your GDI Key and the same channel name. It starts in Alert only: watch the chart panel and the Experts tab.
  6. Choose the lot size and the filters you want. When the alerts match what you expect, change Operating mode to Automatic copy and tick 'Allow Algo Trading'.

Master Sender: manual

Inputs of the Master Sender

GDI Key

InputFactory valueWhat it does
InpGdiKey(your key)GDI Key

Channel

InputFactory valueWhat it does
InpChannelGDI_MASTERChannel name (receivers must use the same)

Timing

InputFactory valueWhat it does
InpPublishMs250Check for changes every N milliseconds
InpHeartbeatSec2Rewrite the file at least every N seconds (receivers treat older data as stale)

What to publish

InputFactory valueWhat it does
InpSymbols(empty)Gold symbols to publish (empty = every XAUUSD / GOLD name)
InpMagics(empty)Magic numbers to publish (comma separated, empty = all, 0 = trades opened by hand)
InpExcludeMagics(empty)Magic numbers NOT to publish (comma separated, empty = none). Use it to keep orders that another copier made on this account from being sent on again

Bias filter

InputFactory valueWhat it does
InpBiasFilterfalseOnly forward orders in the direction of the indicator bias of their symbol
InpBiasSourceThis terminal's own calculationWhere the bias comes from (the site's reading is for gold; other symbols use this terminal). Choices: This terminal's own calculation; The GDI site's reading of gold; Both must allow.
InpBiasBlockMixedfalseWhen this terminal's bias is mixed, forward nothing
InpBiasMinScore12Site bias: |score| from which the bias counts (12 = "mild", 40 = strong only)
InpBiasMixedForward the orderSite bias: when the bias is "mixed" (between -score and +score). Choices: Forward the order; Hold the order back.
InpBiasUnknownForward the orderSite bias: when it is unavailable or older than the limit below. Choices: Forward the order; Hold the order back.
InpBiasUrl(empty)Site bias file (empty = server address + /feed/data/bias.json)
InpBiasRefreshSec30Fetch the site readings every N seconds (the site updates them every 60 s)
InpBiasMaxAgeSec300A site reading older than N seconds counts as unavailable

GDI Bot permission

InputFactory valueWhat it does
InpPermFilterfalseFollow the GDI Bot permission (both sides, buy only, sell only or pause) while it is valid
InpPermUrl(empty)Permission file (empty = server address + /feed/data/copy-permission.json)

News block

InputFactory valueWhat it does
InpNewsBlocktrueDo not forward new orders around high-importance news for the symbol's currencies
InpNewsSourceThis terminal's own calculationWhere the news window comes from (the site's news_window is for gold). Choices: This terminal's own calculation; The GDI site's reading of gold; Both must allow.

Duplicate filter (identical orders opened close together)

InputFactory valueWhat it does
InpDedupEnabledfalseHold back an order identical to one forwarded a moment ago
InpDedupWindowSec60Seconds between the two openings
InpDedupSameDirectionOnlytrueIdentical means same symbol AND same direction (off: same symbol, any direction)
InpDedupSameLotOnlyfalseAlso require the same lot size

Daily loss limit (stops forwarding new orders)

InputFactory valueWhat it does
InpLossModePercent of the start-of-day balanceLimit is set as. Choices: Money (account currency); Percent of the start-of-day balance.
InpEnableDailyLimittrueStop forwarding NEW orders for the rest of the server day (the source account itself is never touched)
InpMaxDailyLoss2.5Daily loss limit: drop from today's highest point (percent or money, as chosen above)
InpNotifyRiskEmailtrueE-mail when the limit is hit and at the next day's reset (Tools > Options > Email)

Master Receiver: manual

Operating mode

How it decides

Filters that consult the GDI system

FilterSwitchWhat it asks
Copy PermissionInpSafetyPermissionFilterThe GDI Bot permission: both sides, buy only, sell only or pause. With no valid permission nothing new is copied.
TrendInpSafetyBiasAgreementThe bias on M15, H1 and H4, from this terminal or from the GDI site (InpSafetyBiasSource).
NewsInpSafetyNewsPauseThe high-importance news window, from this terminal's calendar or from the site.
Market hoursInpSafetyMarketHoursPauseWhether the gold market is open.

Filters computed in your terminal

FilterSwitchWhat it does
VolatilityInpFiltVolatilityWaits while the market moves much faster than usual.
AnomalyInpFiltAnomalyWaits after a gap, a fast run, a very wide spread or broken candle data.
Exhaustion guardInpFiltExhaustionHolds back a buy that is already overbought and a sell that is already oversold.
No hedgeInpSafetyHedgeBlockRefuses a copy that opposes a copy already open.
Spread, slippage and late entryInpUseSpreadRatio, InpUseDeviationAtr, InpUseMaxOpenDelayDo not copy at a bad price or long after the source opened.

GDI Signal style protections

ProtectionSwitchWhat it does
DirectionInpCopyDirectionCopy buys, sells or both.
Stop loss requiredInpRequireStopCopy only orders that have a stop loss at the source.
Risk at the stopInpUseRiskAtStopReduces the lot so that the loss at the source's stop stays within your percentage.
Total volumeInpUseTotalLotsCaps the volume of all copies open together.
Drawdown sizingInpUseDrawdownSizingSmaller new copies the deeper the account is below the reference balance.
Day stopInpUseDayStopCloses the copies and waits for the next day.
Total stopInpUseTotalStopCloses the copies and stops until you restart it.

Percentages are measured on this account against the reference balance. Stops are checked by the robot, so a fast market or a gap can take the loss past the level you set.

Inputs of the Master Receiver

Every input is yours to change. Inputs marked 'used only when the switch above is on' do nothing while that switch is off.

Operating mode

InputFactory valueWhat it does
InpOperatingMode1 Alert only (announces the source's trades, copies nothing)Operating mode. Choices: 1 Alert only (announces the source's trades, copies nothing); 2 Automatic copy - standard (copies under your filters).

GDI Key

InputFactory valueWhat it does
InpGdiKey(your key)GDI Key

Channel (the same computer as the Master Sender)

InputFactory valueWhat it does
InpChannelGDI_MASTERChannel name (must match the sender's channel name)
InpStaleSec15Treat the sender as offline after N seconds without a write
InpPollMs250Read the channel every N milliseconds
InpCloseAllAfterMin0Close every copied order after this many minutes without the sender (0 = never)

Lot size

InputFactory valueWhat it does
InpLotModeSame size as the source x multiplierHow to size each copied order. Choices: Fixed lot; Same size as the source x multiplier; Proportional to the balance x multiplier (only when both accounts have the same currency).
InpFixedLot0.01Fixed lot (used by "Fixed lot")
InpLotMultiplier1.0Multiplier (used by the other two modes)
InpUseMaxLottrueLot limit filter: limit the lot size of each copied order
InpMaxLot1.0Largest lot allowed per order (used only when the switch above is on)
InpCentModeCent source read as REAL (0.01 lot = 0.01 lot, 2003 USC = 2003 USD)If the source is a cent account: read it as real or as cent. Choices: Cent source read as REAL (0.01 lot = 0.01 lot, 2003 USC = 2003 USD); Cent source converted to real money (0.01 lot .sc = 0.0001 lot, 2003 USC = 20.03 USD).

Filters 1: limits on new copies (true = on; each one is your choice)

InputFactory valueWhat it does
InpUseMaxOpenPositionstrueOpen positions filter: limit how many positions this copier keeps open
InpMaxOpenPositions10Most positions open at the same time (used only when the switch above is on)
InpUseSpreadRatiotrueSpread filter: wait while the spread is abnormally wide (relative to its usual size)
InpMaxSpreadRatio4.0Wait while the spread is wider than this many times its usual size (used only when the switch above is on)
InpUseDeviationAtrtrueSlippage filter: skip a copy when the price already moved away from the source's entry (in candle ranges)
InpMaxDeviationAtr0.5Skip if the price is worse than the source's entry by more than this many average candle ranges (used only when the switch above is on)
InpUseSpreadPointsfalseWait while the spread is above a fixed number of points
InpMaxSpreadPoints50Wait while the spread is above this many points (used only when the switch above is on)
InpUseDeviationPointsfalseSkip a copy when the price is worse than the source's entry by a fixed number of points
InpMaxDeviationPoints50Skip if the price is worse than the source's entry by more than this many points (used only when the switch above is on)
InpUseMaxOpenDelaytrueLate filter: ignore a trade that opened a long time ago (do not copy late)
InpMaxOpenDelaySec120Do not copy a trade that opened more than this many seconds ago (used only when the switch above is on)
InpSlippagePoints0Fixed slippage allowed on copied orders, in points (0 = automatic by symbol)
InpCopySLTPtrueCopy the source's stop loss and take profit
InpCopyExistingOnStartfalseAlso copy trades that are already open when the EA starts

Filters 1: time window (true = on)

InputFactory valueWhat it does
InpSessionFilterfalseTime window filter: only open copies inside a time window (broker time)
InpSessionStartHour1Window starts at (hour, 0 to 23)
InpSessionEndHour23Window ends at (hour, 0 to 23)

Order identification

InputFactory valueWhat it does
InpMagic990504Magic number of the copied orders
InpOrderCommentgolddailyinsights.comComment written on the copied orders

Copy Permission and filters (true = on; new copies only: an open position is never closed by these)

InputFactory valueWhat it does
InpSafetyMergeEnabledfalseMerge same-direction orders opened close together into one copy
InpMergeOrdersWithinSeconds60Merge same-direction orders opened within this many seconds into one copy (0 = off)
InpMergeCloseModeClose when the LAST order of the group closesWhen to close a merged copy. Choices: Close when the LAST order of the group closes; Close when the FIRST order closes.
InpSafetyBiasAgreementfalseTrend filter: only copy when the indicator bias (M15, H1, H4) does not disagree with the order's direction
InpSafetyBiasSourceThis terminal's own calculationWhere the bias comes from. Choices: This terminal's own calculation; The GDI site's reading of gold; Both must allow.
InpSafetyBiasMinScore12|score| from which a timeframe counts as having a direction (12 = "mild")
InpSafetyHedgeBlocktrueNo-hedge filter: refuse a new copy that opposes a copy already open on the same symbol
InpSafetyPermissionFilterfalseCopy Permission: follow the GDI Bot permission (both sides, buy only, sell only or pause); with no valid permission nothing new is copied
InpSafetyNewsPausefalseNews filter: pause new copies around high-importance news for the symbol's currencies
InpSafetyNewsSourceThis terminal's own calculationWhere the news window comes from. Choices: This terminal's own calculation; The GDI site's reading of gold; Both must allow.
InpSafetyMarketHoursPausefalseMarket hours filter: pause new copies while the symbol's market is closed
InpSafetyMarketSourceThis terminal's own calculationWhere the market-open flag comes from. Choices: This terminal's own calculation; The GDI site's reading of gold; Both must allow.
InpSafetySiteUrl(empty)Site reading of the bias, news window and market flag (empty = server address + /feed/data/bias.json)
InpSafetyPermissionUrl(empty)GDI Bot permission file (empty = server address + /feed/data/copy-permission.json)
InpSafetySiteRefreshSec30Fetch the site readings every N seconds
InpSafetySiteMaxAgeSec300A site reading older than N seconds counts as unavailable (that check is skipped)
InpSafetyLossLimitEnabledfalseLoss filter: stop new copies after a daily or total loss (this copier's own positions)
InpSafetyMaxDailyLossPct0.0Daily loss limit, percent of today's highest point (0 = not set)
InpSafetyMaxTotalLossPct0.0Total loss limit, percent of the highest point since the EA started (0 = not set)

Filters 2: volatility and anomaly (true = on; each one is your choice)

InputFactory valueWhat it does
InpFiltVolatilityfalseVolatility filter: wait while the market moves much faster than usual
InpVolMaxRatio2.5Volatility is "too fast" when the last M5 candle range is above this many times the average of the 100 before it
InpFiltAnomalyfalseAnomaly filter: wait after a gap, a fast run, a very wide spread or broken candle data
InpAnomGapAtr1.0Gap: the current M5 candle opened more than this many M5 ATRs away from the previous close
InpAnomRunAtr4.0Run: the last 6 M5 candles moved more than this many M5 ATRs net
InpAnomSpreadAtr0.25Spread: the spread is above this share of the M15 ATR

Filters 3: Exhaustion guard (true = on; blocks entries when the price is about to turn)

InputFactory valueWhat it does
InpFiltExhaustionfalseExhaustion guard: block a BUY already overbought and a SELL already oversold
InpExhMinSigns3Block when at least this many of the 6 signs below agree (1 to 6)
InpExhRsiHigh70.0Sign 1 and 2: RSI(14) on M15 and on H1 at or above this = overbought (a SELL is checked at 100 minus this)
InpExhAtrDist2.0Sign 3: the H1 price is this many H1 ATRs above (BUY) or below (SELL) its 20-period average
InpExhDayRangePct90.0Sign 4: the price is in the top (BUY) or bottom (SELL) part of today's range, in percent (90 = top 10 percent)
InpExhWeekRangePct90.0Sign 5: the same for this week's range
InpExhBiasScore60.0Sign 6: the bias score (-100 to +100) of H1 and H4 together is this far on the side of the trade

Loss limit protection (this copier's trades only)

InputFactory valueWhat it does
InpLossModePercent of start-of-day balanceLoss limits are set as. Choices: Cash amount (account currency); Percent of start-of-day balance.
InpEnableDailyLimitfalseDaily loss limit: close the copies and stop copying until tomorrow
InpMaxDailyLoss5.0Max daily loss (drop from today's peak; cash or %)
InpEnableSessionLimitfalseSession loss limit: close the copies when their open loss reaches
InpMaxSessionLoss2.0Max open (floating) loss (cash or %)

Trailing lock and profit target (this copier's trades only)

InputFactory valueWhat it does
InpTrailingModePercent of start-of-day balanceLevels are set as. Choices: Cash (account currency); Percent of start-of-day balance; Points x open volume.
InpEnableTrailingfalseProfit trailing lock on the copies' open profit
InpTrailingStart1.0Trailing lock starts when the open profit reaches
InpTrailingLock0.5Profit it secures once started (must be below the start level)
InpEnableHardTargetfalseHard profit target
InpTargetProfit2.0Close every copy when the open profit reaches

GDI Signal style protections (as in the 1K / 10K / 100K versions; true = on, each one is your choice)

InputFactory valueWhat it does
InpCopyDirectionBuys and sellsDirections to copy. Choices: Buys and sells; Buys only; Sells only.
InpRequireStopfalseStop-loss filter: copy only orders that have a stop loss at the source
InpRefBalance0.0Reference balance for the protections below (0 = the balance when the copier first starts)
InpUseRiskAtStopfalseRisk filter: reduce the lot so the loss at the source's stop stays within the percent below
InpRiskAtStopPct1.0Most to lose at the stop loss, percent of the reference balance
InpUseTotalLotsfalseVolume filter: limit the volume of all copies open together
InpMaxTotalLots0.20Largest total open volume, lots
InpUseDrawdownSizingfalseDrawdown sizing: smaller new copies the deeper the account is below the reference balance
InpDrawdownFullPct8.0Drawdown at which the size reduction is strongest, percent
InpUseDayStopfalseDay stop: close the copies and wait for the next day (00:00 Central European time)
InpDayStopPct4.0Day stop: equity down this percent of the reference balance since 00:00
InpUseTotalStopfalseTotal stop: close the copies and stop completely
InpTotalStopPct8.0Total stop: equity down this percent from the reference balance
InpTotalStopRestart0After a total stop: change this number to start again

Frequently asked questions

Are the two robots separate products?
No. They are one copier in two halves: the Master Sender runs on the account you copy from, the Master Receiver on the account you copy to.
Do they need the internet to copy?
The positions travel through a file on the same computer or Windows server. The internet is used for the licence check and, only if you switch them on, for the GDI readings behind some filters.
Can I switch every filter off?
Yes. Each filter and protection has its own true or false switch. With all of them off the receiver copies every gold trade the sender publishes, within your lot settings.
Does it copy other markets?
No. It copies gold (XAUUSD) only; any other trade on the source account is ignored.
Do the filters guarantee better results?
No. A filter only decides whether a new copy is opened and how large it is. It can also keep out a trade that would have made money.
Can one sender feed several receivers?
Yes. Several receivers on the same computer can read the same channel, each with its own lot settings and filters.
What happens if the sender stops?
The receiver reports that the sender is offline and leaves the copies as they are, unless you set a number of minutes after which it closes them.
Do I need a GDI Key?
Yes. The files are free to download, and each robot checks a GDI Key when it starts and then every hour.

Trading carries risk. An EA can lose money, and nothing here is advice. Risk disclosure

Next steps

GDI Key and plans Getting started Ask a question All GDI EAs

GDI Signal online (web version): follow the signal from any browser or phone, with e-mail alerts straight from the server and no VPS or computer left switched on. Automatic copying into your own account still needs MetaTrader 5 running with the GDI Signal Copier EA. Open GDI Signal online