TradingPactBETA
Menu
GUIDES · MT5 Sizing & Desk ExecutionDesk execution & risk math

Desk Charts, Multi-Chart Layouts & Replay Guide

How the TradingPact Desk streams live MT5 broker quotes, falls back cleanly on delayed candles, syncs up to 9 chart panes, draws starter ATR boxes and session bands, and runs bar-by-bar Chart Replay.

Most multi-chart workspaces force a trade-off between chart speed and execution accuracy: you either chart on one platform and type lots manually into MT5, or you open duplicate broker connections that hit subscription caps and go out of sync during volatile releases.

The TradingPact Desk (MT5 only) runs up to 9 synchronized chart panes over one shared broker feed, keeps every trade box anchored to live bid and ask spreads and exact symbol specs, layers session clocks and macro blackouts onto the time axis, and isolates historical bar-by-bar Chart Replay from live order execution.

TradingPact Desk workspace showing BTCUSD candles, top-edge loss-room meter, session clock pill, and order bar
The TradingPact Desk: loss-room meter along the top edge, session clock pill, live chart canvas, edge tabs, and the two-tone order wedge.

Broker instrument catalog, quote streaming, and delayed fallback

Every connected Monitor or Enforce account reads its instrument tree directly from the broker rather than a generic static list. Searching the Desk picker scores exact symbol matches first (100), followed by prefix matches (80), known aliases (70), symbol substrings (60), instrument names (40), and multi-token queries (20), while surfacing badges for instruments with open plans, drafts, or shortlisted ideas.

  • Records-only reference universe: Accounts in Records only mode display an explicit reference universe marked as non-broker preview data so you can inspect layouts without a broker connection.
  • Stale catalog disclosure: If the live catalog cannot be refreshed, the Desk serves the last good copy from the broker and renders a visible notice naming how long ago the list was loaded (Showing the broker's instrument list from ... ago; a newer copy couldn't be loaded).

Broker Gateway streaming vs delayed REST fallback

On connected accounts, the enforcer holds the single broker subscription per account and relays quotes to the Desk through the Broker Gateway over Fly's private network (broker-gateway-feed.ts). In your browser tab, one shared EventSource stream per (account, symbol) fans live ticks and stream states (connecting, subscribed, degraded, quiet, disconnected, unavailable, or broker_not_connected) to every chart pane displaying that symbol.

Feed conditionWhat the Desk chart doesEffect on orders
Live stream activeStreams bid/ask ticks, builds the forming candle, and refreshes final closed broker bars 5 seconds after close (1 to 15 minute cadence)Live ask line drawn; Order Review can price fresh ticks
Planned stream rolloverCarries continuity across a 3-second rollover grace window without flashing a disconnectNormal stream continuity preserved
Gateway or stream droppedRetries with exponential backoff (1 second doubling up to 30 seconds) and falls back to 1-minute REST candle snapshots marked delayedAsk line hides; Order Review refuses confirmation until fresh quotes return
Scrolling back in historyLoads older broker candles before the earliest bar on screen without fabricating missing barsHistorical scroll only; no gap-filling guesses

Multi-chart layouts, layers, and Chart Replay

Multi-chart grids, presets, and sync toggles

Using DeskLayoutPicker, you can view 1 chart or split the canvas up to 9 charts (MAX_DESK_CHARTS = 9) without consuming extra broker connections:

  • Timeframes layout: Splits the workspace into 3 panes for the current instrument across multiple timeframes.
  • Grid picker & presets: Drag across up to a 3 x 3 grid, or pick from 6 asymmetric two-thirds primary presets (Large left, two on the right, Large left, three on the right, Two on the left, large right, Large top, two below, Large top, three below, and Two on top, large bottom).
  • Active chart switching: Click any pane (or press Cmd/Ctrl+1 through Cmd/Ctrl+9) to make it the active trading chart; the order wedge, trade box, and position controls move to that pane without shifting layout positions. Press Esc to collapse to 1 chart, or use the quick restore button to return to your prior multi-chart grid.
  • 5 Sync switches: Independently toggle Symbol, Interval, Crosshair (enabled by default), Time, and Drawings synchronization, persisted per account in browser storage. Above 6 charts, secondary watch panes omit heavy key-level candle reads to stay inside the shared request budget.
  • Timeframes & display styles: Switch between 1m, 5m, 15m, 30m, 1h, 4h, and 1D across 6 plot styles (candles, bars, line, area, baseline, heikinashi), grid modes, logarithmic scaling, and last-price lines.

Ask line, starter 1:2 ATR box, level handles, and risk shading

Candles and the price axis track the broker bid. Whenever a fresh live quote carries a positive spread at least 3 CSS pixels wide at the current zoom, the chart paints a faint dotted ask line (ASK) above the bid so long entries show the exact spread cost on the canvas.

Clicking Long or Short on the order bar places an editable 1:2 starter trade box whose stop distance starts at 1.5 times ATR(14) on the active chart timeframe. That geometry is strictly a visual starting point, never trade advice. As you drag the Entry, SL, or TP handles:

  1. Tick alignment & clamping: Every dragged level snaps to the broker symbol's tickSize and clamps at least 1 tick on the valid side of entry so a drag cannot invert the trade. On open live positions, the stop handle clamps strictly tighten-only (tightenStop).
  2. Risk boundary shading: While sizing an unsent order, the chart draws a dashed amber line at the widest stop distance that fits your chosen risk and pact cap, with diagonal warm hatching past it where no valid lot size can be placed.
  3. 10% smallest-size zone: Where the broker's minimum lot triggers the 10% smallest-size tolerance inside your pact caps, a solid amber band between the dotted soft edge and dashed hard limit marks that zone on the chart before you open Order Review.
  4. Fit levels & Key levels: Press Fit levels in the corner to scale the vertical axis to your trade or plan levels. Toggle Levels to draw prior day high/low (PDH/PDL), prior week (PWH/PWL), Asia, London, and New York session extremes, prior day value area (VAH, VAL, POC across 80 price bins covering 70% of volume or time at price), and today's VWAP.

Per-symbol chart drawings and local persistence

Manual trendlines, boxes, and horizontal levels you draw with the chart toolbar are stored in browser localStorage keyed by (account, context, symbol) rather than by timeframe (tradingpact.prepare.drawings.v2). Any legacy per-timeframe drawings migrate forward automatically so annotations stay aligned across timeframes and across panes when Drawings sync is active.

Chart-owned trade boxes, order handles, and optional assistant reference objects are excluded from your personal drawing store. If stored drawing JSON is ever unreadable, TradingPact copies it to a separate backup key rather than silently overwriting it.

Session bands, session clock pill, and macro blackout windows

The Session clock pill in the top-right cluster tracks live market sessions in their own local timezones (handling daylight saving transitions automatically through Intl), UTC clock time, a live candle-close countdown ring, and current ATR(14) volatility relative to the chart's loaded history (Low below 0.8x, Normal, and High above 1.25x).

SessionLocal trading hoursDefault focus pairs
Sydney09:00 to 18:00 SydneyAUDUSD, NZDUSD, AUDJPY
Tokyo09:00 to 18:00 TokyoUSDJPY, AUDJPY, EURJPY
London08:00 to 17:00 LondonEURUSD, GBPUSD, EURGBP, XAUUSD
New York08:00 to 17:00 New YorkXAUUSD, USDCAD, EURUSD, US500

Opening the session clock panel lets you toggle on-chart shading (on intraday timeframes below 1D) for global sessions, the London/New York overlap, your pact's allowed session window, scheduled news windows, and up to 8 custom time bands.

When a pact News blackout applies to the active instrument, the chart refreshes macro calendar windows every 5 minutes, hatches the blackout span when release shading is enabled, and displays an active News blackout status pill (Entries held for hard rules or Entries warned for soft rules, with a live countdown until reopening).

Execution marks, closed trades, and bar-by-bar Chart Replay

  • Timeline marks (Events): The Desk fetches up to 200 marks per group across up to 90 days (refreshed every 3 minutes) across three toggleable groups: Refused (denied or warned entry attempts), Journal (saved journal notes), and Pact (lock events and rule-version changes). You can also toggle closed-trade entry/exit overlays (DeskTradesChart, refreshed every 2 minutes).
  • Bar-by-bar Chart Replay: Start Chart Replay by clicking any historical candle on the plot or picking a quick-start preset (Start of today at 17:00 New York, 1 day back, or 1 week back). Play bars forward at 1x (1000 ms), 2x (500 ms), 5x (200 ms), or 10x (100 ms), or step one candle at a time.

Continue to MT5 Position Sizing & Desk Execution for stop-based lot formulas, Desk Orders, Partials & Position Management for Order Review and partial exits, or Desk Context, Scanner & Private Journal for market drivers and watchlist tools. You can also test broker contract math in the MT5 Contract Fit & Cost-to-Risk Calculator and read The trading desk that checks the pact first and News blackouts: what the rule covers, and what it doesn't.

FREQUENTLY ASKED QUESTIONS
Why does the Desk ask for a single Broker Gateway stream instead of opening separate broker connections per chart?
Broker tokens allow only a small number of active subscriptions per deployed account. The enforcer holds one shared connection per managed account and relays quotes and instrument catalogs to the Desk over the private network so opening up to 9 charts never consumes extra broker subscriptions.
What happens to my charts if the live quote stream disconnects during an update?
The stream reconnects with exponential backoff from 1 second up to 30 seconds while charts fall back to REST candle snapshots marked as delayed. Your order sizing and Order Review still require fresh broker quotes before any order can be confirmed.
Do drawings made on one timeframe stay visible when I switch timeframes?
Yes. Trader-drawn lines and annotations are stored per instrument and context in browser storage rather than per timeframe, so drawings anchored by time and price carry across timeframes and across synced panes showing the same symbol.
Can I place orders or log trades into Edge certification while using Chart Replay?
No. From the moment Chart Replay begins rewinding until you return to live, new Desk entries and order groups are disabled, future marks are hidden, and replay never places broker orders or enters live trade ledgers.
TRADINGPACT DESK · MT5

Lock your trading rules and price every order before MT5.

Join the waitlist for hosted Desk access, or look around the view-only demo on sample data, with no broker login or card required.