LokalSyncTraderX
Coming very soonLocal 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.
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.
- The lead account triggers an order
- Every participating account reports whether it can follow
- If a confirmation is missing, the plan is not executed
- Each account has its direction fixed: same way or opposite
- Orders are mirrored, pending limits included
- 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.
Defines how a trade is triggered. Not when, but by what.
Trades are copied from this copier.
Here you see the settings of each copier. They are always compared with the master.
Here you can set advanced rules for the copier.
Here you define time windows in which the EA does not trade.
Here you decide which settings are compared between master and follower.
Settings for connected copiers, combined into groups.
Shows whether the system is active – and if not, why.
This copier takes over the trades from the master.
Definiert, wie ein Trade ausgelöst wird. Nicht wann, sondern wodurch.
Von diesem Kopierer werden die Trades kopiert.
Hier siehst du die Einstellungen der einzelnen Kopierer. Diese werden immer mit dem Master verglichen.
Hier kannst du erweiterte Regeln für den Kopierer einstellen.
Hier werden Zeitfenster definiert, in denen die EA nicht tradet.
Hier legst du fest, welche Einstellungen zwischen Master und Follower geprüft werden.
Hier stehen die Einstellungen für verbundene Kopierer, zu Gruppen zusammengefasst.
Zeigt, ob das System aktiv ist – und wenn nicht, warum.
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
Advanced
Here you can set advanced rules for the copier.
Block times
Here you define time windows in which the EA does not trade.
Checks
Here you decide which settings are compared between master and follower.
Erweiterte Einstellungen, Sperrzeiten und Prüfungen
Erweitert
Hier kannst du erweiterte Regeln für den Kopierer einstellen.
Sperrzeiten
Hier werden Zeitfenster definiert, in denen die EA nicht tradet.
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
Trade mode
Here you choose the trade mode: Hedge or Parallel.
Hedge group
Here you choose the hedge group the copier belongs to.
Copier / role
Here you pick the copier (A to H) and define which role it has.
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
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.
Handelsmodus
Hier wählst du den Handelsmodus: Hedge oder Parallel.
Hedge-Gruppe
Hier wählst du die Hedge-Gruppe aus, zu der der Kopierer gehört.
Kopierer / Rolle
Hier wählst du den Kopierer (A bis H) aus und legst fest, welche Rolle er hat.
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
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
Header
Shows which copier, which preset and which setup you are editing.
Trade
Here you set the direction: BUY / LONG or SELL / SHORT.
Risk
Here you set the risk: either as a fixed amount (here fixed amount, in USD) or as a percentage of your total capital.
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.
Execution
Here you limit the maximum spread and the maximum slippage, each in points.
Trade management
Break-even (BE) with trigger, plus Lock 1 and Lock 2, each with a trigger and SL in percent.
Trailing stop
Trail: starts at a percentage of the TP. %TP: the distance.
Copy from
Here you choose which copier the settings are taken from (here B).
Preset trade settings
Preset 1 to 4: load saved trade settings. The active preset (here Preset 4) is highlighted.
Save & control
Apply applies the settings, Save as preset stores them as a preset, Cancel discards, Reset resets them.
Kopfzeile
Zeigt, welchen Kopierer, welches Preset und welches Setup du gerade bearbeitest.
Trade
Hier legst du die Richtung fest: BUY / LONG oder SELL / SHORT.
Risiko
Hier stellst du das Risiko ein: entweder als fester Betrag (hier Fixbetrag, in USD) oder als Prozentbetrag von deinem Gesamtkapital.
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.
Ausführung
Hier begrenzt du den maximalen Spread und den maximalen Slippage, jeweils in Punkten.
Trade-Management
Break-even (BE) mit Trigger sowie Lock 1 und Lock 2, jeweils mit Trigger und SL in Prozent.
Trailing-Stop
Trail: Start ab einem Prozentwert vom TP. %TP: der Abstand.
Kopiere von
Hier wählst du, von welchem Kopierer die Einstellungen übernommen werden (hier B).
Preset Trade-Einstellungen
Preset 1 bis 4: gespeicherte Trade-Einstellungen laden. Das aktive Preset (hier Preset 4) ist hervorgehoben.
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.