LokalSyncTraderX

Coming very soon

Local multi-account trade copying & execution system for MetaTrader 5

A system I developed for the synchronised execution and distribution of trades across several MetaTrader 5 accounts. It makes parallel trading, trade copying and hedge structures possible across several terminals — locally, under control, and without executing every trade on every account by hand.

See the interface

LokalSyncTraderX EA logo

The problem

Running several MetaTrader 5 accounts side by side means placing every order on every terminal, aligning opposing positions correctly and keeping the settings of all accounts consistent.

Done by hand, this is time-consuming and error-prone – especially when several accounts are meant to trade at the same moment and in defined directions.

Architecture

The same Expert Advisor runs on every participating terminal. One account acts as the master, the connected accounts follow as followers. Synchronisation takes place locally on the computer – without an additional cloud server.

The whole group is controlled centrally from the chart: an order is triggered once and distributed automatically to the connected accounts.

Synchronisation

Before each trigger, every participating account reports whether it can follow. The order is executed once the confirmations of the group are in place.

  1. The lead account triggers an order
  2. Every participating account reports whether it can follow
  3. If a confirmation is missing, the plan is not executed
  4. Each account has its direction fixed: same way or opposite
  5. Orders are mirrored, pending limits included
  6. Closing applies to the whole group

One trigger for the whole group – with a defined direction for every account.

Hedge and parallel execution

A triggered trade is not simply duplicated, it is distributed. For each account it is fixed in advance whether it follows the lead account in the same direction or deliberately takes the opposite one.

  • Same direction: the same position on several accounts at once
  • Opposite direction: a hedge structure spanning two or more accounts
  • Mixed: every account carries its own direction, independently of the others
  • On market and limit orders, the following account derives its direction from the order itself

The direction is checked for each account against its own setting. Every account thus follows exactly the direction defined for it – the same way or deliberately opposite.

Control

Before every execution the group is checked as a whole. The result is shown in plain words on the chart – together with the account it refers to.

  • Each account checks in advance whether the planned position can be funded there; the group is released only when every account confirms.
  • The settings of each account are compared directly with those of the master – independently of the other followers.
  • Releases and blocks are displayed consistently with the actual check results.

Interface

The interface

The whole group is operated from one panel, directly on the chart. This is what it looks like and what each part is for.

5Trade trigger

Defines how a trade is triggered. Not when, but by what.

Time tradeMarket order tradeCandle close tradeLimit order trade
1Copier A = Master

Trades are copied from this copier.

4Copier cards / comparison

Here you see the settings of each copier. They are always compared with the master.

matches / checked (like master)differs from masternot checked (check disabled)
6Advanced

Here you can set advanced rules for the copier.

7Block times

Here you define time windows in which the EA does not trade.

8Checks

Here you decide which settings are compared between master and follower.

3Group 1

Settings for connected copiers, combined into groups.

9System status

Shows whether the system is active – and if not, why.

2Copier B = Follower

This copier takes over the trades from the master.

5Trade-Auslöser

Definiert, wie ein Trade ausgelöst wird. Nicht wann, sondern wodurch.

Zeit-TradeMarket-Order-TradeCandle-Close-TradeLimit-Order-Trade
1Kopierer A = Master

Von diesem Kopierer werden die Trades kopiert.

4Kopierer-Karten / Abgleich

Hier siehst du die Einstellungen der einzelnen Kopierer. Diese werden immer mit dem Master verglichen.

passt / geprüft (wie Master)Abweichung zum Masterwird nicht geprüft (Prüfung deaktiviert)
6Erweitert

Hier kannst du erweiterte Regeln für den Kopierer einstellen.

7Sperrzeiten

Hier werden Zeitfenster definiert, in denen die EA nicht tradet.

8Prüfungen

Hier legst du fest, welche Einstellungen zwischen Master und Follower geprüft werden.

3Gruppe 1

Hier stehen die Einstellungen für verbundene Kopierer, zu Gruppen zusammengefasst.

9Systemstatus

Zeigt, ob das System aktiv ist – und wenn nicht, warum.

2Kopierer B = Follower

Dieser Kopierer übernimmt die Trades vom Master.

The panel at a glance: the trade trigger on top, one card per copier below, the group settings beside them and the system status at the bottom. The numbered boxes explain each part.

Advanced settings, block times and checks

6

Advanced

Here you can set advanced rules for the copier.

7

Block times

Here you define time windows in which the EA does not trade.

8

Checks

Here you decide which settings are compared between master and follower.

Erweiterte Einstellungen, Sperrzeiten und Prüfungen

6

Erweitert

Hier kannst du erweiterte Regeln für den Kopierer einstellen.

7

Sperrzeiten

Hier werden Zeitfenster definiert, in denen die EA nicht tradet.

8

Prüfungen

Hier legst du fest, welche Einstellungen zwischen Master und Follower geprüft werden.

Setup

In the setup window you decide how the group works: the trade mode (hedge or parallel), the hedge group, which copier takes which role (A to H) and the presets. Presets store trade settings and the look of the header bar; whole setups can be saved and listed.

  • Trade mode: hedge or parallel
  • Hedge group and the role of each copier (A to H)
  • Presets for trade settings and for the header bar
  • Save the current state as a named setup
1

Trade mode

Here you choose the trade mode: Hedge or Parallel.

2

Hedge group

Here you choose the hedge group the copier belongs to.

3

Copier / role

Here you pick the copier (A to H) and define which role it has.

4

Presets

  • Preset trade settings (1–4)saved trade settings for the copier
  • Preset header (1–4)defines how the header bar at the top looks
  • The “i” next to a presetshows information about that preset
5

Save & manage setups

Here you save the current state – hedge group, copier role and preset – as a named setup and recall it later with one click. “View all” shows the complete list, the “x” removes an entry.

Optionally, you can assign a setup to an MT5 account number. This is not a lock: a setup from account X can also be used on account Y. The EA shows whether the assignment matches the current account (“matches this account” / “does not match this account”). This keeps the settings traceable and avoids mix-ups.

1

Handelsmodus

Hier wählst du den Handelsmodus: Hedge oder Parallel.

2

Hedge-Gruppe

Hier wählst du die Hedge-Gruppe aus, zu der der Kopierer gehört.

3

Kopierer / Rolle

Hier wählst du den Kopierer (A bis H) aus und legst fest, welche Rolle er hat.

4

Presets

  • Preset Trade-Einstellungen (1–4)gespeicherte Trade-Einstellungen für den Kopierer
  • Preset Kopfzeilen (1–4)legt fest, wie die Kopfzeile oben aussieht
  • Das „i“ neben einem Presetzeigt Informationen zu diesem Preset
5

Setups speichern & verwalten

Hier speicherst du den aktuellen Stand – Hedge-Gruppe, Kopierer-Rolle und Preset – als benanntes Setup und rufst ihn später mit einem Klick wieder auf. „Alle ansehen“ zeigt die ganze Liste, „x“ entfernt einen Eintrag.

Optional ordnest du ein Setup einer MT5-Kontonummer zu. Das ist keine Sperre: Ein Setup von Konto X lässt sich auch auf Konto Y verwenden. Die EA zeigt an, ob die Zuordnung zum aktuellen Konto passt („passt zu diesem Konto“ / „passt nicht zum Konto“). So bleiben die Einstellungen nachvollziehbar und Verwechslungen werden vermieden.

Trade settings

The trade parameters of a copier are set in one window: direction, risk, stop-loss and take-profit, limits for spread and slippage, trade management and trailing stop. Settings can be saved as a preset and loaded again.

  • Direction: buy / long or sell / short
  • Risk as a fixed amount or as a percentage of the total capital
  • Stop-loss and take-profit in percent or in points
  • Limits for spread and slippage, trade management, trailing stop
  • Four presets to save and reload settings
1

Header

Shows which copier, which preset and which setup you are editing.

2

Trade

Here you set the direction: BUY / LONG or SELL / SHORT.

3

Risk

Here you set the risk: either as a fixed amount (here fixed amount, in USD) or as a percentage of your total capital.

4

Distances

You set stop-loss (SL) and take-profit (TP) either in percent or in points (here percent). Adjust the value in small steps. Below you see the RR.

5

Execution

Here you limit the maximum spread and the maximum slippage, each in points.

6

Trade management

Break-even (BE) with trigger, plus Lock 1 and Lock 2, each with a trigger and SL in percent.

7

Trailing stop

Trail: starts at a percentage of the TP. %TP: the distance.

8

Copy from

Here you choose which copier the settings are taken from (here B).

9

Preset trade settings

Preset 1 to 4: load saved trade settings. The active preset (here Preset 4) is highlighted.

10

Save & control

Apply applies the settings, Save as preset stores them as a preset, Cancel discards, Reset resets them.

1

Kopfzeile

Zeigt, welchen Kopierer, welches Preset und welches Setup du gerade bearbeitest.

2

Trade

Hier legst du die Richtung fest: BUY / LONG oder SELL / SHORT.

3

Risiko

Hier stellst du das Risiko ein: entweder als fester Betrag (hier Fixbetrag, in USD) oder als Prozentbetrag von deinem Gesamtkapital.

4

Distanzen

Stop-Loss (SL) und Take-Profit (TP) stellst du wahlweise in Prozent oder in Punkten ein (hier Prozent). Den Wert passt du in kleinen Schritten an. Darunter siehst du das RR.

5

Ausführung

Hier begrenzt du den maximalen Spread und den maximalen Slippage, jeweils in Punkten.

6

Trade-Management

Break-even (BE) mit Trigger sowie Lock 1 und Lock 2, jeweils mit Trigger und SL in Prozent.

7

Trailing-Stop

Trail: Start ab einem Prozentwert vom TP. %TP: der Abstand.

8

Kopiere von

Hier wählst du, von welchem Kopierer die Einstellungen übernommen werden (hier B).

9

Preset Trade-Einstellungen

Preset 1 bis 4: gespeicherte Trade-Einstellungen laden. Das aktive Preset (hier Preset 4) ist hervorgehoben.

10

Speichern & Steuern

Übernehmen wendet die Einstellungen an, Als Preset speichern legt sie als Preset ab, Abbrechen verwirft, Zurücksetzen stellt zurück.

Technical implementation

  • Position mapping: every position carries a key to its counterpart, so monitoring acts on exactly the position that belongs to it.
  • Targeted handling of deviations: when an imbalance is detected, a grace period comes first, then the targeted resolution of that single position. Closing the whole group is the last step.
  • Cross-broker price conversion: prices are not copied verbatim between brokers but converted through a shared reference point. Without that reference, nothing is placed.
  • Own and manual orders: the copier recognises its own orders and leaves manually placed trades untouched.

Built for central trade execution

LokalSyncTraderX specialises in the coordinated execution and synchronisation of trading actions across several MetaTrader 5 accounts.

The system connects master and follower terminals, manages different trade directions and allows central control of the connected accounts.

LokalSyncTraderX focuses on the technical execution of existing trading decisions. It does not generate trading strategies or signals of its own.

Built-in checks, status displays and defined execution rules support structured and traceable control of the entire trading group.

From my own idea to finished software

LokalSyncTraderX grew out of my own need to control several MetaTrader 5 accounts efficiently from one central interface.

What started as a simple trade-copying function became a complete multi-account system with a master/follower architecture, hedge and parallel execution, individually configurable trading groups and extensive management and check functions.

A particular focus of the development was the interplay of the individual components: from order synchronisation and account-specific settings to monitoring the connected terminals.

The result is independently developed software that brings complex multi-account trading workflows together in one central user interface.

Technologies

  • MQL5
  • MetaTrader 5
  • Trade Copying
  • Multi-Account
  • Execution
  • Automation

Current status

Fully developed and in use in my own trading setup.

LokalSyncTraderX is fully developed as software. The public release, including purchase and licensing, is being prepared.

Coming soon.

More than trade copying: a well-designed architecture for the central control of several trading accounts.