Cross Terminal Trade Copier

  • Utilities
  • Kazuma Uezono
    Kazuma Uezono
    MQL5 / MQL4 / Pine Script v6 developer and active trader.
    Seller on the MQL5 Market (indicators for MT4/MT5).
    Services:
    - TradingView Pine Script to MT5/MT4 conversion (bar-by-bar matching, with tester report)
    - MT4 to MT5 migration
  • Version: 1.4
  • Activations: 5
Cross Terminal Trade Copier copies trades from one MetaTrader terminal to other terminals running on the same Windows computer: MT5 to MT5, MT5 to MT4, MT4 to MT5 and MT4 to MT4. One EA has two modes. In Master mode it publishes the trades of its account; in Receiver mode it copies them into the account it is attached to. The terminals exchange a small file in the MetaTrader common data folder. No DLL, no internet connection and no outside server are used.

This is a copy utility. It does not decide when to buy or sell and it is not a trading strategy or a signal. Every trade it copies is a decision made on the Master account by you (or by the EA you run there), and the results of those trades are your responsibility.

WHAT IT COPIES
- New market positions (buy / sell), optionally in reverse (buy <-> sell).
- Stop loss and take profit, including later changes. SL / TP can use the same price as the Master or the same distance from the entry (useful when two accounts quote slightly different prices).
- Pending orders (limit / stop): placing, moving and deleting.
- Full closes and partial closes of the Master's positions.
- Several Master channels can be received by one Receiver (comma separated, up to 8).

LOT SIZE (6 modes)
1. Same lot as the Master
2. Fixed lot
3. Master lot x multiplier
4. Balance ratio x multiplier (Receiver balance / Master balance)
5. Equity ratio x multiplier
6. Risk % of balance per trade, calculated from the Master's stop loss (a trade without a stop loss is not copied in this mode)
A maximum lot can be set. Lots are rounded to the Receiver symbol's lot step and minimum.

SYMBOL NAMES
- Prefixes and suffixes (for example EURUSD.m or EURUSD-pro) are detected and converted automatically.
- Common aliases are handled: GOLD <-> XAUUSD, SILVER <-> XAGUSD.
- A manual map (Master=Receiver, comma separated) for names that differ more, such as stock indices.
- Lists of symbols to copy only, or never to copy.
- On the Master side you can choose what to send: all trades, only listed magic numbers, only listed symbols, or both.

SAFETY FEATURES
- Ticket map: each copy is linked to its Master trade and the link is saved to a file, so a restart of either terminal does not create duplicate copies.
- Master stop detection: if the Master file is not updated for a set time (default 10 s), the panel shows it and the Receiver does nothing until the Master is back.
- Daily loss limit (optional, % of the day's starting balance): stop new copies for the rest of the day, or close the copied trades and stop.
- Notional cap (default on): a copy is skipped when its notional value would exceed 30 times the Receiver's equity. Example: with 1,000 USD equity, EURUSD copies above roughly 0.25 lot are skipped. The factor can be changed or set to 0 (off).
- Minimum-lot check in risk mode: if even the symbol's minimum lot would risk more than 2 times your risk % setting, the trade is skipped instead of being rounded up (factor adjustable, 0 = always copy).
- Optional price check: skip a copy when the Receiver's price is too far from the Master's entry.

PANEL
- Master: channel, number of positions and pending orders being sent, last update time.
- Receiver: connection state of each channel, open / copied / closed / skipped counts, the current lot cap, today's loss vs. the limit, and the last error with its reason (a long message is wrapped onto two or three lines).
- English or Japanese, chosen automatically from the terminal language. Colors follow a light or dark chart.

SETUP IN THREE STEPS
1. Attach the EA to any chart in the Master terminal, choose Mode = Master and a channel name (for example CH1).
2. Attach the EA to any chart in the Receiver terminal, choose Mode = Receiver and the same channel name. Choose the lot mode.
3. Turn on Algo Trading (MT5) / AutoTrading (MT4) in both terminals and allow trading in the EA settings.

REQUIREMENTS
- The EA runs in every terminal involved: the Master terminal and each Receiver terminal.
- Copying between MT5 and MT4 requires the MT4 edition of this tool on the MT4 terminal (sold separately).
- All terminals on the same Windows computer under the same Windows user, with automated trading allowed.

LIMITS YOU SHOULD KNOW BEFORE BUYING
- Same computer only. All terminals must run on the same Windows computer under the same Windows user. Copying between different computers, between virtual servers or over the internet is not possible.
- Both terminals must be running, connected, and have automated trading turned on. If the Master terminal is stopped, nothing is copied or closed during that time.
- Trades opened by the Master while the Receiver is stopped are not copied when the Receiver starts again (default). Copies whose Master trade was closed in the meantime are closed when the Receiver is back (when close following is on). An option copies trades that are already open at start.
- Copies are not instant. In our tests on one computer, the time from the Master's trade to the copy order was about 0.25 s for an MT5 Receiver and about 0.45 s for an MT4 Receiver, plus the broker's execution time. Fill prices on the Receiver will not be the same as on the Master; spreads, slippage and commissions differ between accounts.
- A copy is skipped (and shown on the panel with the reason) when the market is closed, the price is invalid, margin is not enough, the terminal is not connected, the symbol cannot be traded, or the notional cap / price check / daily limit applies. A copy that waited more than about 3 seconds is placed only if the price is still within the slippage setting.
- "Same lot" copies the lot number as it is. It does not convert different contract sizes between accounts (for example a gold contract of 100 vs 10 ounces, or different index contracts). Check the contract size or use another lot mode.
- With small accounts, gold and index trades are often skipped by the notional cap or the minimum-lot check. This is intended; adjust the settings only if you understand the risk.
- Receiver accounts must be hedging accounts. On a netting account the Receiver stops and shows a message. A Master on a netting MT5 account works, but volume added to an existing position is not copied.
- Do not receive into the same trading account from two terminals at the same time; this is not detected. Inside one terminal, a second Receiver with the same magic number on another chart stops itself.
- Do not delete the files in the LocalTradeCopier folder of the common data folder while copies are open. They hold the ticket map.
- One channel carries up to 400 open trades and pending orders. Above that, the rest are not sent and closing is paused on the Receiver until the number drops.
- Pips: on 3- and 5-digit symbols 1 pip = 10 points; on other symbols (most gold and index quotes) 1 pip = 1 point, the smallest price step.
- The daily loss limit counts only trades with the EA's magic number and uses the broker's server time for the day change.
- If close following is turned off, copied trades stay open after the Master closes. You then have to manage them yourself.
- When a Master pending order is filled right after it is placed, an MT4 Receiver may briefly show an error such as "delete ... error 3" or "Invalid S/L or T/P" (error 130). The trade is then copied as a market position; the message can be ignored.
- Strategy Tester: the tester cannot connect to another terminal. There the EA runs a built-in demo in which a virtual Master opens, modifies, partly closes and closes trades on a fixed schedule so that the copy process can be seen. Tester results are only a demonstration and say nothing about any trading performance.

IMPORTANT
- Copying a trade copies its risk. Test with demo accounts first and check every new symbol with a small lot.
- If you use the EA to copy trades into accounts of other people, or to provide your trades to others, you are responsible for checking the laws of your country (for example rules on investment advice or account management) and the terms of your broker and of any funded-account program. Many programs restrict copying between accounts.
- No result of the Master's trading is promised or implied.

OTHER
- Settings in seven groups (Mode, Master, Lot size, Copy rules, Symbols, Safety, Panel). Copied trades carry a magic number and a short comment tag you can change.
- Works on any symbol the accounts can trade. The EA can be attached to any chart; the chart symbol does not limit what is copied.
- Support through MQL5 messages, reply within 3 business days: installation, settings and bug reports. Questions about what or when to trade cannot be answered.

More from author
Elliott Wave Auto Count for MetaTrader 4 labels Elliott waves automatically on four degrees at the same time: the base degree and the three degrees above it. It follows the rules and guidelines of "Elliott Wave Principle" (Frost & Prechter), and for the current wave it shows a price x time target zone and an invalidation level. It is meant for MT4 traders who use Elliott wave analysis and want a rule-based starting count, with the alternate count and the invalidation level always visible. It is
Fibo Price Time Zones combines Fibonacci price levels with Fibonacci time targets and draws them on the chart as boxes (price x time zones). Where boxes from several waves and from up to two higher timeframes overlap, the area is emphasized in three levels. It is meant for traders who already use Fibonacci retracements and extensions and also want to see roughly when a level is worth watching, without drawing every tool by hand. It is a display tool only: it gives no buy or sell signals and doe
RSI AutoScale is a clean, lightweight RSI for traders who use both TradingView and MetaTrader 5 and want the two charts to look the same. WHAT IT SHOWS - RSI (Wilder smoothing): the same values as the standard RSI, with any applied price. - Signal line on the RSI: SMA, EMA, SMMA or LWMA, with its own period. - Levels: upper, middle and lower lines (70 / 50 / 30 by default). They use MT5's native levels, so they reach the right edge and their values appear on the scale. - Zone fills: the middle
FREE
Stoch RSI Band Fill is a Stochastic RSI indicator for MetaTrader 5. MT5 does not include a built-in Stoch RSI, so this indicator adds one. It follows the same calculation steps as the built-in Stoch RSI on TradingView and uses the same layout: K and D lines, 80 / 50 / 20 levels and a shaded band between the upper and lower levels. CALCULATION, STEP BY STEP 1. RSI of the selected price (default: close, length 14), smoothed with Wilder's method (RMA). The first average is the simple average of the
FREE
MACD Four Color Histogram is a MACD for MetaTrader 5 that uses the same formula and the same look as the built-in MACD on TradingView. It is made for traders who use both platforms and want the MACD on each chart to read the same way. HOW IT DIFFERS FROM THE MT5 STANDARD MACD - MT5 standard MACD: the histogram is the MACD line itself, and the signal line is an SMA. - This indicator: three parts, as on TradingView. MACD line, signal line, and histogram = MACD - signal. The histogram has 4 colors.
FREE
This is the MetaTrader 4 edition of RSI AutoScale. It draws the standard Wilder RSI with a signal line, a shaded band between the levels, colored areas where the RSI leaves that band, and a choice of three scales. It is meant for traders who use TradingView and MetaTrader 4 side by side and want the RSI pane to look much the same on both. HOW IT LOOKS ON MT4 - RSI line: the same values as MT4's built-in RSI for the same period and applied price. - Signal line: a moving average of the RSI (SMA, E
FREE
A MetaTrader 4 MACD built to read like the MACD you see on TradingView: a MACD line, a signal line, and a histogram of the gap between them, colored in four shades. If you switch between the two platforms during the day, the MACD pane on your MT4 chart will look and behave the way you are used to. WHY NOT THE MT4 BUILT-IN MACD? MT4's own MACD draws the MACD line as gray bars and smooths the signal line with an SMA. There is no separate histogram and no color change. This indicator calculates the
FREE
MetaTrader 4 ships with a Stochastic and an RSI, but not with a Stochastic RSI. This indicator fills that gap for MT4 users and is built to be TV-compatible: it follows the calculation of the Stoch RSI that comes with TradingView, and the pane looks the way TradingView users expect - a blue K line, an orange D line, dashed 80 and 20 levels, a dotted 50 line and a light band between 80 and 20. WHAT APPEARS IN THE SUBWINDOW - K and D lines. The Data Window lists only K and D. - Upper band (80) a
FREE
Dow Structure MTF shows the Dow theory trend of five timeframes at once in MetaTrader 4, using the pullback low / rally high method that is common among Japanese traders. For each timeframe it shows whether the trend is up, down or range, which price would change it, and how far the current price is from that price. Only closed bars are used, so a confirmed result does not change afterwards (no repaint). It is meant for traders who check the trend structure of several timeframes by hand and wan
Fibo Price Time Zones for MetaTrader 4 combines Fibonacci price levels with Fibonacci time targets and draws them on the chart as boxes (price x time zones). Where boxes from several waves and from up to two higher timeframes overlap, the area is emphasized in three levels. It is meant for MT4 traders who already use Fibonacci retracements and extensions and also want to see roughly when a level is worth watching. It is a display tool only: it gives no buy or sell signals and does not place ord
Time Average Lines draws four averages measured by time, not by the number of bars, so each line keeps the same length of time when you switch timeframes: a time moving average, a TWAP, a same-time-of-day average and a time-based EMA. For the same-time average, the rest of today is shown as a dotted path that joins the past averages; the path is a summary of the past, not a forecast. It is meant for intraday traders who want averages that mean the same thing on M1 and on M15, and who want to co
Auto Trendline Channel MTF draws trendlines, parallel channels and horizontal support / resistance automatically from confirmed swing highs and lows in MetaTrader 4, and records for each line the touch count, close breaks, wick breaks and retests. A table shows, for the chart timeframe and two higher timeframes, the nearest line above and below the price, the distance to it and the Dow theory direction. It is meant for traders who draw trendlines and levels by hand and want them drawn by fixed,
Currency Strength Meter for MetaTrader 4 combines the 28 pairs of the 8 major currencies (USD, EUR, JPY, GBP, AUD, NZD, CAD, CHF) into one strength line per currency, with a ranking table for the chart timeframe, M15, H1, H4 and D1. The full formula is published below. It is meant for MT4 traders who compare currencies before choosing which pair to look at, and who want to know exactly how the numbers are made. It is an analysis aid: it does not tell you when to buy or sell and does not show fu
Trade History Stats Panel for MetaTrader 4 reads the closed trades in your own account history and sums them up in a panel on the chart: number of trades, win rate, profit factor, average P/L per trade, drawdown of the closed-trade curve, holding time, buy / sell, and tables by month, symbol, weekday and hour. It is meant for traders who want to look back at their own past trades, like a trading journal that fills itself in, and to check the numbers by period, symbol or magic number. It never p
Prop Challenge Loss Tracker for MetaTrader 4 shows, in a panel on the chart, how much room is left before the daily loss limit and the maximum loss limit of a funded-account (prop) challenge are reached, and sends staged alerts as the limits are used up. It is meant for traders taking a prop challenge who want to see their remaining loss room at a glance, set to the rules of their own program. It is a display and alert tool only: it never opens, modifies or closes any order. Whether a limit is
Market Structure Liquidity Map for MetaTrader 4 draws smart money concepts (SMC) style market structure on the chart: swing labels, break of structure (BOS), change of character (CHoCH), equal highs and lows, previous day and week levels, liquidity sweeps and unfilled fair value gaps (FVG), with a small table for the chart timeframe and two higher timeframes. It is meant for MT4 traders who read structure and liquidity by hand and want the same levels drawn the same way every time. It is a disp
Divergence Detector for MetaTrader 4 finds regular and hidden divergences between price swings and one oscillator of your choice (RSI, MACD histogram, Stochastic %K, OBV, CCI or Momentum) and draws them on the price chart and in the indicator window, with a small table for four other timeframes. It is meant for MT4 traders who look for divergences by eye and want them found by fixed, visible rules on closed bars. It is a display tool only: it gives no buy or sell signals and does not place orde
Multi Symbol Market Scanner Panel shows up to 30 symbols in one table on your MT4 chart: trend direction, RSI and ATR% on M15, H1, H4 and D1, plus today's range, distance from yesterday's high or low and a simple H1 / H4 swing structure. Click a symbol name to switch the chart to it. It is meant for MT4 traders who watch many forex pairs, metals or indices and want one overview instead of opening many charts. It is a display tool only: it gives no buy or sell signals, does not rank symbols to t
Asia London New York Session Key Levels for MetaTrader 4 draws the three main sessions (plus one optional extra session) as boxes with their high, low and open lines, and adds key levels: previous day, week and month high and low, week and month open, and round numbers. Session times can be set in New York time, London time, UTC or server time, with daylight saving handled automatically. It is meant for MT4 intraday traders who mark session ranges and prior-day levels by hand and want them draw
Risk and Lot Size Calculator for MetaTrader 4 works out the lot size for the amount you are prepared to lose. Drag three lines on the chart (entry, stop loss, take profit) and the panel shows the lot size, the money at risk, the profit at the take profit, the risk:reward ratio and the margin required, with an optional view of the loss room left on a prop (funded) account. It is meant for manual traders who want to size each position from the stop distance before they place the order. It is a ca
Pivot Points Six Types with Level Alerts MT4 brings TV-compatible pivot points to MetaTrader 4. If you also chart on TradingView, you know its built-in "Pivot Points Standard". This MT4 indicator reproduces it: the same six calculation methods, the same period choices from one day to ten years, and the same look - an orange (#FB8C00) line for each level, starting at the beginning of each period, labelled like "S2 (1.08345)". WHICH LEVELS EACH METHOD GIVES Method       | Levels drawn          |
FREE
Copy trades between MetaTrader 4 and MetaTrader 5 terminals on one Windows computer. Cross Terminal Trade Copier MT4 runs in an MT4 terminal, either as the sending side (Master) or as the copying side (Receiver). The data goes through a file in the MetaTrader common data folder: no DLL imports, no web requests, no outside server. Please note: the EA only repeats trades that already exist on the Master account. It has no entry logic of its own, gives no trading signals, and does not make any tr
Gold Pullback Trend Follower is a simple trend-following Expert Advisor for XAUUSD (gold) on MetaTrader 5. It waits for the daily trend, buys or sells the pullback on H4, and exits with an ATR trailing stop. It opens and closes trades automatically. It is meant for traders who want a plain, rule-based gold trend system with a fixed risk per trade, and who accept losing years and long flat periods. The results shown are backtest results only; there is no live track record yet, and past results d
Elliott Wave Auto Count labels Elliott waves automatically on four degrees at the same time: the base degree and the three degrees above it. It follows the rules and guidelines of "Elliott Wave Principle" (Frost & Prechter), and for the current wave it shows a price x time target zone and an invalidation level. It is meant for traders who use Elliott wave analysis and want a rule-based starting count, with the alternate count and the invalidation level always visible. It is an analysis tool: it
Dow Structure MTF shows the Dow theory trend of five timeframes at once, using the pullback low / rally high method that is common among Japanese traders. For each timeframe it shows whether the trend is up, down or range, which price would change it, and how far the current price is from that price. Only closed bars are used, so a confirmed result does not change afterwards (no repaint). It is meant for traders who check the trend structure of several timeframes by hand and want it in one tabl
Time Average Lines draws four averages measured by time, not by the number of bars, so each line keeps the same length of time when you switch timeframes: a time moving average, a TWAP, a same-time-of-day average and a time-based EMA. For the same-time average, the rest of today is shown as a dotted path that joins the past averages; the path is a summary of the past, not a forecast. It is meant for intraday traders who want averages that mean the same thing on M1 and on M15, and who want to co
Auto Trendline Channel MTF draws trendlines, parallel channels and horizontal support / resistance automatically from confirmed swing highs and lows, and records for each line the touch count, close breaks, wick breaks and retests. A table shows, for the chart timeframe and two higher timeframes, the nearest line above and below the price, the distance to it and the Dow theory direction. It is meant for traders who draw trendlines and levels by hand and want them drawn by fixed, stated rules. I
Currency Strength Meter combines the 28 pairs of the 8 major currencies (USD, EUR, JPY, GBP, AUD, NZD, CAD, CHF) into one strength line per currency, and shows a ranking table for the chart timeframe, M15, H1, H4 and D1. The full formula is published below. It is meant for traders who compare currencies before choosing which pair to look at, and who want to know exactly how the numbers are made. It is an analysis aid: it does not tell you when to buy or sell and does not show future price movem
Trade History Stats Panel reads the closed trades in your own account history and sums them up in a panel on the chart: number of trades, win rate, profit factor, average P/L per trade, drawdown of the closed-trade curve, holding time, buy / sell, and tables by month, symbol, weekday and hour. It is meant for traders who want to look back at their own past trades, like a trading journal that fills itself in, and to check the numbers by period, symbol or magic number. It never places, modifies o
Prop Challenge Loss Tracker shows, in a panel on the chart, how much room is left before the daily loss limit and the maximum loss limit of a funded-account (prop) challenge are reached, and sends staged alerts as the limits are used up. It is meant for traders taking a prop challenge who want to see their remaining loss room at a glance, set to the rules of their own program. It is a display and alert tool only: it never opens, modifies or closes any order. Whether a limit is exceeded depends
Filter:
No reviews
Reply to review