Two-broker EA pair · MetaTrader 5

Trade the millisecond gap between a fast feed and a slow broker.

MASTER reads live ticks from your fast price-feed broker and streams them to RAZOR, which watches for the moment your execution broker's quote lags behind — and fires the trade before the gap closes. Full risk controls, hedge support, and on-chart visual confirmation included.

  • 2 EAsMASTER + RAZOR
  • MT5Native source, .mq5
  • 40+Tunable parameters
  • CSV bridgeNo external server
LIVE GAP MONITOR SYMBOL: EURUSD
MASTER · fast broker RAZOR · slow broker
CURRENT GAP0.0 pips
ENTRY THRESHOLDspread × 1.1 + 10
MEASURED LAG— ms
TRADES FIRED0

First to market

A private engine — now the first and only one of its kind on the market.

We didn't license this from anyone. MASTER and RAZOR were built in-house as our own private trading engine and used quietly for our own accounts. No one else has brought a system like this to the commercial market — until now.

01

Privately developed

Built from scratch as our own tool — not resold third-party code, not a rebranded template. The full MT5 source ships with it, so you can read every line yourself.

02

First to commercialize

This was a personal product we never intended to sell. We're the first to take a working private latency-arbitrage engine and release it commercially.

03

No equivalent exists

There is no comparable two-EA commercial system on the market today. As far as we know, there isn't a second copy of it anywhere.

Market structure, explained

How latency arbitrage trading actually works

Every broker builds its own price feed, and no two feeds update at exactly the same moment. Latency arbitrage exists in the gap between them.

A broker's quote stream is the end of a pipeline: liquidity providers publish prices, the broker's servers aggregate and process them, and the result is pushed out to your trading terminal. Each stage in that pipeline takes time.

Direct-market-access brokers (typically ECN/STP models) keep that pipeline short, often updating in single-digit milliseconds. Market-making brokers that internally warehouse client risk frequently run a longer pipeline — dealing-desk processing, price smoothing, or simply slower infrastructure — which can leave their displayed quote tens to hundreds of milliseconds behind the real market.

The strategy isn't forecasting where price goes next — it's reacting to a move that has already happened elsewhere and hasn't been priced in yet.

The mechanism

Three moving parts, one shared file

No sockets, no external server, no third-party bridge software. MASTER and RAZOR talk through a single CSV file, updated on every tick.

  1. MASTER

    MASTER feeds

    Running on your fast-quote broker, MASTER timestamps every tick, computes the mid-price, and writes it to Master_[SYMBOL].csv — as fast as ticks arrive, with a spread filter so bad quotes are never published.

  2. RAZOR

    RAZOR detects

    Running on your execution broker, RAZOR reads that file continuously, compares the master price to its own broker's quote, and calibrates the expected lag over a rolling window of ticks (default: 3,003) before it ever trades.

  3. RAZOR

    RAZOR executes

    The instant the gap clears your configured entry threshold, RAZOR opens the position on the slow broker — then manages stop, target, trailing, and exit-gap logic tick by tick until it closes.

MASTER and RAZOR don't need the same machine — only the same shared "Files" directory. A lightweight Windows VPS positioned close to both brokers is the typical setup.

Everything under the hood

Built like an execution desk, not a script

RAZOR's inputs are grouped exactly like a trading desk's risk manual: safety limits first, then entry logic, then trade management, then the advanced controls you'll grow into.

Safety & capital protection

Safety limit
Trading halts automatically the moment balance drops below a floor you set.
Profit limit
Optionally stop the EA once balance climbs above a target you're happy with.
Risk management %
A rolling drawdown brake — measured from the account's peak balance, not its starting balance.
Hedge error exit
Stands down automatically if a hedge leg fails to open, rather than leaving you one-sided.

Entry logic

Lag calibration
Auto-measures the real lag between brokers over a rolling tick window, or lock a fixed lag manually.
Dynamic entry gap
Entry threshold scales with the live spread instead of one fixed number all session.
Spread filter
Refuses new entries the moment your execution broker's spread blows out.
Lot sizing
Fixed lot, or auto-scaled to balance with a hard maximum lot ceiling.

Trade & position management

Exit-gap logic
Closes a position once the master/slave gap narrows back to a level you define — not just fixed TP/SL.
Hold-time window
Minimum and maximum time a position is allowed to stay open.
Trailing stop
Point-based trailing with its own floor and ceiling, independent of the initial stop.
Invisible stops
Server-invisible SL/TP/trailing calculated internally, with an adjustable trailing exponent.

Advanced & optional tools

Execution watchdog
Auto-downsizes to minimum lot if fills start taking too long — a slippage safeguard.
Loss-streak sizing
Cuts position size after a defined number of consecutive losers.
Hedge-mode support
Runs on hedging accounts with a configurable cap on simultaneous hedge pairs.
On-chart visuals
Live master (blue) and slave (violet) price lines so you can watch the two feeds track each other.

Reference

Full parameter reference

Nothing hidden. Every configurable input across both EAs, exactly as it ships.

ParameterDefaultPurpose
CSVFileDirectorypathLocation of the shared bridge file written by MASTER.
MasterSymbolName""Maps to MASTER's symbol if the two brokers name it differently.
FixedLag0Manually locked lag value, in points, overriding auto-calibration.
LagTicks3003Number of ticks used to auto-calibrate lag before trading begins.
RobotSleep50 msEngine loop interval — how often RAZOR re-reads the bridge file.
SafetyLimit / ProfitLimit0.0 / 0.0Balance floor and ceiling that halt trading.
RiskManagement10.0 %Drawdown-from-peak brake.
LotSize / AutoLot / MaxLot0.01 / off / 50Fixed or balance-scaled position sizing with a hard cap.
MaxSpread30Blocks entries when execution-broker spread is too wide.
EntryGapAdd / EntryGapMult10 / 1.1Dynamic entry threshold formula, scaled off the live spread.
StopLoss / TakeProfit40 / 800Fixed protective levels, in points.
PositionMinimalTime / MaximalTime0 / 900 sFloor and ceiling on how long a position may stay open.
UseExitGap / ExitGaptrue / 2Closes a position once the gap narrows to this value.
Trailing / Min / Max30 / 0 / 0Point-based trailing stop with its own floor and ceiling.
InvisibleSL / TP / Trailing / Exponent0 / 0 / 0 / 2.0Server-invisible protective levels calculated client-side.
MaxExecutionMsToMinLot1000 msDrops to minimum lot if fills take too long.
MaxLostPositionsToMinLot3Reduces size after a streak of consecutive losers.
UseHedge / MaxHedgePairsoff / 5Hedging-account support with a cap on concurrent pairs.
TimeToTime / StartTime / StopTimeoffOptional trading-session window.
MagicNumber / CommentField54258 / ""Order tagging alongside other strategies.
Visual / line styles & colorsblue + violetOn-chart master/slave price lines for visual confirmation.
LogDebugtrueVerbose execution logging for auditing fills and rejections.

Before you deploy

What you'll need

License

One license. Both EAs. Full source code.

No subscription, no encrypted binaries, no hidden DLLs. You get the complete MT5 source and the compiled executables — modify, customize, or extend as needed.

  • MASTER EA source code (.mq5) + compiled build
  • RAZOR EA source code (.mq5) + compiled build
  • Activation for 3 MT5 account numbers
  • Installation guide & configuration manual
  • Setup video walkthrough
  • Lifetime updates & technical support

Delivered as a ZIP download in your account, unlocked after payment is confirmed and your account is approved. Pay with crypto via Binance.

LIFETIME LICENSE
$500one-time

Covers the full MASTER + RAZOR pair and every parameter on this page.

Get instant access Questions? Read the FAQ Binance Pay accepted · Manual payment supported

FAQ

Frequently asked questions

Does it work with every broker?

No. Latency arbitrage depends on execution speed, price-feed differences, and broker infrastructure. Results vary by broker and market conditions — choosing the right broker pair matters as much as the software.

Do I need two broker accounts?

Yes. One account acts as the fast price feeder (no trades placed on it) and the other as the execution broker where all positions open and close.

Is a VPS required?

Strongly recommended. A low-latency Windows VPS positioned close to both brokers reduces delay and improves execution speed — every millisecond matters.

Can I modify the software?

Yes. The complete MT5 source code is included, so experienced developers can customize or extend both EAs freely.

How does activation work?

Your license activates the EAs on up to 3 MT5 account numbers. Submit your account numbers after purchase; once payment is confirmed, your accounts are activated and the download unlocks in your dashboard.

Is this a "set and forget" system?

The software is fully automated after configuration, but like any professional trading system, periodic monitoring and optimization are recommended — broker conditions change over time.

Risk & compliance notice

Latency arbitrage exploits pricing lag between brokers, and many brokers explicitly prohibit this style of trading in their terms of service. Accounts identified as running this kind of strategy can have profits voided, positions closed, or accounts terminated at the broker's discretion. Read your execution broker's terms before deploying, and consider brokers that permit arbitrage strategies.

Forex and CFD trading involves substantial risk and may not be suitable for all investors. This software is a trade-execution tool, not investment advice. Performance depends on broker execution speed, network latency, VPS quality, liquidity, and market conditions. Past performance does not guarantee future results, and no trading software can guarantee profits. You are solely responsible for your own trading decisions, broker selection, and compliance with the terms you agree to.

Ready to trade the gap?

Get the MASTER + RAZOR pair with full source code, three account activations, and lifetime updates.

Get instant access