Specification
Project Description:
We need a trade copier that connects NinjaTrader 8 (NT8) with MetaTrader 5 (MT5).
Core Requirements:
-
Trade Copying:
-
When a trade is executed on NT8 (buy/sell), the same trade is copied to MT5.
-
Option to invert trades (NT8 buy = MT5 sell, NT8 sell = MT5 buy).
-
-
Lot Size Management:
-
Ability to set lot sizes on the MT5 side independently.
-
Lot size should be configurable per instance (not always identical to NT8).
-
-
Trade Closure Sync:
-
When a trade is closed on NT8, the corresponding trade should automatically close on MT5 at the same time.
-
-
Deployment:
-
Each NT8 account will run on its own VPS and connect to one MT5 broker account.
-
Solution should be lightweight, stable, and suitable for 10+ NT8 accounts.
-
-
Technology Stack (suggested):
-
NT8 Side: C# add-on to capture trade events.
-
Bridge/API: Lightweight communication service between NT8 and MT5.
-
MT5 Side: MQL5 Expert Advisor (EA) or script to receive signals and execute trades.
-
Deliverables:
-
Fully working trade copier between NT8 and MT5.
-
Clear installation/setup instructions for deploying across multiple VPS.
-
Source code and documentation.