Enter at the quoted price with limit orders, lock across two accounts, and account for every fill — and every miss. TwoLeg is a two-account lock arbitrage engine for gold and forex, built around the LockCL2 strategy.
Each row is one tradable pair across its own two accounts. Columns are fixed so the header and every row line up: role, where the quote comes from, spread, buy and sell differences against the fast feed, and the current price. Settings group under small titles — Limits, Ladder, RSI — so rows compare at a glance.
| Role | Where | Spread | Buy diff | Sell diff | Now | State |
|---|---|---|---|---|---|---|
| Fast | LMAX FIX | 12 | +23 | +4 | 3,606.83 | Signal |
| Slow A | Orbex · MT4 | 20 | +2 | +21 | 3,606.61 | Locked |
| Slow B | Errante · MT4 | 18 | −3 | +9 | 3,606.70 | Watching |
Illustrative values in the app's own column layout. Green and red carry one meaning only: direction and profit/loss.
Market orders pay whatever the market gives. TwoLeg places the first leg as a limit order at your price and waits your configured window — then fills, cancels, or reports the miss with the broker's error text. Exits and relocks execute at market, where certainty matters more than price.
| Order types | Market · Buy/Sell Limit · Buy/Sell Stop · Buy/Sell Stop-Limit (MT5) |
|---|---|
| Fill policies | Any · FOK (fill-or-kill) · IOC (immediate-or-cancel) · FlashFill |
| Expirations | GTC · Today · Specified time / day, with a broker-safe backstop horizon |
| Per-row controls | Entry limit on/off · price offset · wait window (default 500 ms) · fill policy |
| Broker safety | Prices clamped outside stops and freeze levels; cancel/fill races re-checked before a miss is reported |
Offsetting positions across two broker accounts lock in the captured difference while the strategy manages exits and relocks. The open pair is shown as one unit, with its own profit, broker stop and direction.
Signals are timed against a fast LMAX FIX feed (or FeedBridge), while placement uses broker quotes — speed where it matters, safety where it counts.
Opens are refused until the EA reports the broker logged in and quotes are fresh. A dead feed or a stalled terminal login stops entries instead of trading blind.
Dedicated money-management, alarms, history and log pages: reserve handling, drawdown alarms, and a log reader that shows the exact error chain for any attempt.
| Route | How it works | Status |
|---|---|---|
| TwoLegBridge EA | Expert Advisor inside managed MT4/MT5 terminals, TCP link to the app | Available |
| Native connector | Direct broker wire protocol, no terminal or EA — see the connector page | Experimental |
| Paper / simulation | Simulated fills for evaluation and strategy tuning | Available |
| System | Windows PC or VPS, .NET 10 runtime included in the installer |
|---|---|
| Accounts | Two MT4 or MT5 accounts for the lock strategy; demo accounts for evaluation |
| Feed | LMAX FIX fast feed or FeedBridge module |
| Secrets | Broker passwords encrypted with Windows DPAPI on your machine |