Skip to content
Terminal Ledger Desk
Directory

Mt5 Ctrader Bridge Dealer Architecture

Decoding MT5 & cTrader Client Journal Logs: Millisecond TCA, Requotes & Off Quotes

Every MetaTrader 5 MQL5/Logs/*.log file and cTrader Journal records a multi-line millisecond state trace—separating client WAN transit from Trade Server queuing, bridge rejections, and LP Off Quotes (10021).

By Marcus Thorne, CQFReview not recorded · Updated
Decoding MT5 & cTrader Client Journal Logs: Millisecond TCA, Requotes & Off Quotes — Terminal Ledger Desk 2026 quantitative & supervisory data card
Terminal Ledger Desk (MetaTrader 5, cTrader & Liquidity Bridge Server Topology & Execution Logs): Separating client WAN RTT (Delta_1) from LD4 Bridge + LP fill time (Delta_2) and 10021 Off Quotes.Source: Terminal Ledger Desk Institutional Research DeskLicense: CC-BY-4.0

When an execution goes sideways during a central-bank announcement—slipping 3.8 pips or failing with Off Quotes—most traders complain with screenshots of a 1-minute candlestick chart. Institutional execution desks skip candlestick charts entirely and pull the raw %APPDATA%\MetaQuotes\Terminal\<ID>\Logs\YYYYMMDD.log or cTrader Journal JSON/text trace! Hidden inside those three-line millisecond state transitions (order -> accepted by server -> process in routing -> deal performed) is an exact hardware-like breakdown separating your local ISP latency from the broker internal LD4/NY4 liquidity bridge!

Line-by-Line Anatomy of a Three-Step MT5 Journal Execution Trace#

Open a live MT5 Terminal Journal tab (not the Experts tab!) and inspect the exact three-line timestamp sequence emitted on a Market Buy:

  1. 14:30:01.104 Trades '804192': market buy 5.00 EURUSD: Local terminal stamped t_0 = .104, encrypted the MqlTradeRequest, and wrote bytes into the local OS TCP socket.
  2. 14:30:01.142 Trades '804192': accepted market buy 5.00 EURUSD: Server validated margin/permissions and echoed ACCEPTED back to your terminal at t_1 = .142 (Delta_1 = 38 ms — approximating 1 full network RTT between your PC/VPS, Access Proxy, and Trade Server!).
  3. 14:30:01.147 Trades '804192': deal #99210482 buy 5.00 EURUSD at 1.08504 done (based on order #...) + execution in 43.18 ms: Notice Delta_2 = t_2 - t_1 = 147 - 142 = 5 milliseconds! That 5 ms delta isolates pure upstream Bridge + Liquidity Provider execution time completely independent of your home internet ping!
Three-step MT5 Journal millisecond log decomposition separating Delta_1 Client WAN RTT (38ms) from Delta_2 Bridge + LP fill time (5ms)
Three-step MT5 Journal millisecond log decomposition separating Delta1 Client WAN RTT (38ms) from Delta2 Bridge + LP fill time (5ms)Verified Exhibit

Requote (10004) vs No Prices / Off Quotes (10021) vs Reject (10006): Root Causes#

Traders routinely conflate Requote and Off Quotes, yet inside MT5 clusters and cTrader they diagnose completely different failure layers:

  • Requote (10004): Occurs only in Instant Execution mode when price moved outside request.deviation before execution. Fix: switch to an ECN Market Execution account.
  • No Prices / Off Quotes (10021) (MT4 Error 136): Occurs EVEN in Market Execution when zero executable upstream LP liquidity exists! Three real engineering triggers cause 10021: (a) Bridge Tick Spike / Staleness Filter tripped because all LP feeds froze > 2,000 ms or crossed excessively; (b) LP Last-Look Reject Waterfall Exhausted (3 out of 3 LPs rejected your IOC sweep during NFP); or (c) Broker Prime-of-Prime NOP Credit Line Full!
  • Request Rejected (10006): Dealer rule, symbol Close-Only state, or pre-trade risk collar block.
Terminal Return CodeMT4 Legacy CodeExact Server / Bridge MeaningEngineer / Trader Action
10009 (DONE) / 10010 (PARTIAL)ERR_NO_ERROR (0)Executed completely or partially on bookReconcile DEAL_PRICE vs CopyTicksRange
10004 (REQUOTE)ERR_REQUOTE (138)Instant-mode price moved past deviationMigrate to Market Execution ECN account (MT5)
10021 (NO_PRICES / Off Quotes)ERR_OFF_QUOTES (136)All LPs rejected IOC OR quote stream staleSplit clip size (< 20 lots) or avoid 0-liquidity rollover
10030 (INVALID_FILL)N/AWrong ORDER_FILLING_FOK/IOC bitmaskQuery SYMBOL_FILLING_MODE dynamically
10019 (NO_MONEY)ERR_NOT_ENOUGH_MONEYFree margin < InitialMargin at t_1Check weekend/news dynamic leverage tier drop!

MT5 & cTrader Journal Error Code Forensic Mapping Matrix#

Translating terminal error codes into exact server, bridge, or upstream FIX OrdRejReason (103) root causes.

Formula or model from the articleNot independently verified
Delta_1_WAN_ms = t_journal_accepted - t_journal_order_sent
  • Delta2Bridgems = tjournaldealdone - tjournalaccepted
  • SlippageTruePts = Dir * ( PxTickAt(tsent + 0.5 * Delta1) - PxDealDone ) / Point
  • Worked Forensic Dispute Calculation (Buy 10 Lots GBP/USD, Dir = +1):
  • tsent = .200 (Client saw Ask = 1.27500) ; taccepted = .280 (Delta_1 = 80ms -> Order hit server @ ~.240)
  • CopyTicksRange @ .240 shows Ask already moved to 1.27506 before order arrived! Deal filled @ 1.27507 (tdone = .284, Delta2 = 4ms)
  • Conclusion: 0.6 pips was pure client WAN flight delay (.200->.240); broker LD4 bridge slipped only 0.1 pips in 4 ms!

cTrader Execution Timeline & FIX Tag 58 (Text) Transparency#

Inside Spotware cTrader (Desktop and cTrader Web), expanding any Historical Deal opens an explicit Event Timeline showing millisecond-precision server UTC stamps (Submitted -> Accepted -> Filled / Partially Filled / Cancelled) alongside exact requested price vs VWAP fill price.

Even better, when connecting via cTrader FIX 4.4 API, rejected ExecutionReport (35=8, 39=8) frames populate Text (Tag 58) with structured rejection diagnostics (INSUFFICIENT_FUNDS, MARKET_CLOSED, NO_LIQUIDITY), letting automated TCA scripts separate internal margin bugs from upstream LP fades—complementing our Virtual Dealer vs Market Execution audit and MT5, cTrader & Liquidity Bridge Architecture Guide.

Typical Delta_2 (Accepted-to-Done) bridge execution duration across Firm LD4 CLOB, Last-Look Bank Stream, Multi-Retry Waterfall, and Virtual Dealer Hold
Typical Delta_2 (Accepted-to-Done) bridge execution duration across Firm LD4 CLOB, Last-Look Bank Stream, Multi-Retry Waterfall, and Virtual Dealer HoldVerified Exhibit

Automating Python / MQL5 Daily Log Parsers for Best-Execution Disputes#

If you ever need to file a formal execution dispute with a broker compliance desk under UK FCA DISP or NFA rules, screenshots carry minimal weight. Submit: (1) the exact raw YYYYMMDD.log lines with UTC offset, (2) Order Ticket # and Deal #, (3) CopyTicksRange(..., COPY_TICKS_ALL) millisecond Bid/Ask array +/- 5 seconds around t_0, and (4) Delta_1 vs Delta_2 breakdown!

Stress-test expected CPI spread widening and rejection cushions inside the Terminal Margin VaR & ES Calculator and explore more log diagnostics in the MT5, cTrader & Bridge Topic Hub.

Frequently asked questions

What is the difference between the Experts tab log and the Journal tab log in MT5?

The Experts tab (MQL5/Logs) only prints output generated by your EA Print statements, whereas the Journal tab (Logs/YYYYMMDD.log) is written by the C++ terminal engine itself—recording socket handshakes, server failover pings, and multi-stage order acceptance!

Why do Off Quotes (10021) spike every day between 23:59 and 00:05 server time (17:00 EST)?

At 17:00 New York Rollover, global Tier-1 banks reset daily settlement ledgers and temporarily pull or widen spot FX quotes for 60–180 seconds; bridge spread/staleness filters intentionally block execution (10021) rather than filling Market orders across a 15-pip vacuum!

How can I download millisecond historical ticks inside MT5 to verify a bad fill?

Run a 5-line MQL5 script calling CopyTicksRange(_Symbol, ticksArray, COPY_TICKS_ALL, startTimeMs, endTimeMs): MT5 downloads the broker exact server-recorded millisecond Bid/Ask tick tape from the History Server so you can audit BBO at exact fill millisecond.

Why did Delta_2 jump from 3ms normally to 65ms on a 50-lot order without a Virtual Dealer?

On large institutional tickets (30–100 lots), if top-of-book LP #1 uses a 25ms Last-Look window and rejects its slice, your bridge Retry Waterfall automatically re-routes the remaining lots to LP #2 and LP #3—legitimately adding one or two 25ms LP hops!

Publication record

Published
13 November 2026
Updated
14 November 2026
Author
Marcus Thorne, CQF
Review
Review not recorded
Automated fact check
Passed in the stored pipeline record
Source URLs
3 recorded

AI assistance recorded: anthropic/claude-opus-4.6. This field does not establish human review or source verification.

Academic & Institutional Attribution

Cite This Research & Embed Live Data Card

Open Attribution License (CC BY 4.0)

Standard academic & institutional research paper citation format.

Marcus Thorne, CQF. (2026, November 14). Decoding MT5 & cTrader Client Journal Logs: Millisecond TCA, Requotes & Off Quotes. Terminal Ledger Desk. https://terminalledgerdesk.com/reports/decoding-mt5-ctrader-client-journal-logs-requotes-off-quotes-ms-tca
Explore Mt5 Ctrader Bridge Dealer Architecture Hub (20) →

Terminal Ledger Desk Data, Benchmarks & Contributor Records

Decoding MT5 & cTrader Journal Logs: Requotes & Off Quotes | Terminal Ledger Desk