Available · Windows · MT4 / MT5

TwoLeg

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.

Get TwoLeg Getting started

The Pairs workspace

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.

PairsXAUUSD · two sectionsQuotes fresh
RoleWhereSpreadBuy diffSell diffNowState
FastLMAX FIX12+23+43,606.83Signal
Slow AOrbex · MT420+2+213,606.61Locked
Slow BErrante · MT418−3+93,606.70Watching

Illustrative values in the app's own column layout. Green and red carry one meaning only: direction and profit/loss.

Limit entries, your fill policy

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.

Execution controlsper strategy row
Order typesMarket · Buy/Sell Limit · Buy/Sell Stop · Buy/Sell Stop-Limit (MT5)
Fill policiesAny · FOK (fill-or-kill) · IOC (immediate-or-cancel) · FlashFill
ExpirationsGTC · Today · Specified time / day, with a broker-safe backstop horizon
Per-row controlsEntry limit on/off · price offset · wait window (default 500 ms) · fill policy
Broker safetyPrices clamped outside stops and freeze levels; cancel/fill races re-checked before a miss is reported

LockCL2 across two accounts

Two-account lock

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.

Fast-feed timing

Signals are timed against a fast LMAX FIX feed (or FeedBridge), while placement uses broker quotes — speed where it matters, safety where it counts.

Refuses bad conditions

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.

Money management

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.

Connectivity

Connection routes
RouteHow it worksStatus
TwoLegBridge EAExpert Advisor inside managed MT4/MT5 terminals, TCP link to the appAvailable
Native connectorDirect broker wire protocol, no terminal or EA — see the connector pageExperimental
Paper / simulationSimulated fills for evaluation and strategy tuningAvailable

Requirements

SystemWindows PC or VPS, .NET 10 runtime included in the installer
AccountsTwo MT4 or MT5 accounts for the lock strategy; demo accounts for evaluation
FeedLMAX FIX fast feed or FeedBridge module
SecretsBroker passwords encrypted with Windows DPAPI on your machine
Risk disclosure: arbitrage and lock strategies can lose money, including from slippage, requotes, spread widening, broker restrictions and connectivity failures. Past or simulated performance does not guarantee future results. Test thoroughly on demo.