← All Tutorials
Tutorial 6

Toxic Flow: reading the execution-intensity rail on MattEXECS

The Toxic Flow rail is the narrow strip on the right-hand edge of every MattEXECS card, between the candles and the price axis. It answers one question the candles cannot: of the volume that actually traded, how much of it was large (“whale”) size, which side was it on, was it slicing through a thin book or getting absorbed, and where did sweeps and print-rate bursts hit?

It shares the candle chart's time axis, so the newest rail column sits against the live price.

Toxic Flow rail anatomy


1. Turn it on and give it history

On the MattEXECS page, click TOX FLOW in the indicator row above the charts. The rail appears immediately and then backfills: the module holds up to 12 hours of one-second flow rows, and the newest rows stream in live from the trade tape.

If the left-hand part of the rail looks empty on a very wide timeframe, that is coverage, not a fault: the server keeps 12 hours of flow history, so a 1-day or 1-week window will only ever have its right-hand portion populated.


2. What the rail actually measures

The rail is built from three measurements derived from executed trades and price response — never from resting order-book snapshots:

Whale prints. A print counts as a whale when its notional (price × size) is at or above the exact 95th percentile of the last 5,000 prints within the trailing 15 minutes. It needs at least 200 prints before it will classify anything, and the percentile is recomputed at most every 5 seconds. So “whale” is always defined relative to the instrument's own recent behaviour — a $200k print can be a whale in a quiet hour and noise in a violent one.

Sweeps. A sweep is at least 3 same-side prints that strictly advance in price (buys stepping up, sells stepping down) with less than 2 seconds between consecutive prints. The sweep's notional is credited to the bucket of the last print in the chain. A sweep is the signature of someone taking liquidity across levels rather than waiting for it.

Kyle's lambda (price impact / book fragility). Measures how much price moves per unit of net signed aggressive flow (lagged OLS over the trailing 60 seconds on live prints, with column-grain candle price-impact fallback across backfilled windows). High lambda means the book is thin and aggressive flow is moving price; low lambda means the book is thick and aggressive flow is getting absorbed without displacing price.


3. How to read the strip

  • Top amber fragility ribbon (Kyle's lambda). The slim 3px amber band along the top rim lights up only when price impact per unit volume climbs above normal (dim amber for thinning book, bright amber for high fragility). A dark top edge means the book is thick and absorbing flow.
  • The horizontal line through the middle is zero. Buy-side whale notional stacks up from it; sell-side whale notional stacks down from it.
  • Solid vs hollow whale columns (impact vs absorption). When price impact (lambda) is elevated, whale columns draw solid and bright — aggressive takers are slicing through liquidity. When lambda is low, whale columns draw hollow/outlined — large prints are being absorbed by resting limit orders without moving price.
  • Faint backdrop columns behind the whale bars show total traded notional (all prints, whale or not) so active non-whale stretches read as activity rather than dead air.
  • Single Net Toxic Pressure curve. A smooth green/red line oscillates across zero (green above zero, red below, ending in a dot on the newest bucket) with a subtle dark casing so it floats cleanly above the bars. It turns two-sided churn into a single directional regime trace.
  • Directional sweep chevrons (^ / v) above buy tips or below sell tips mark the strongest sweep chains in the window (filtered to the top sweep quantiles on coarse timeframes so routine noise stays out of the way). Stacked chevrons (1, 2, or 3) encode sweep magnitude.
  • Bottom amber burst track. A dedicated narrow lane along the bottom rim holds crisp amber micro-pips marking trade-rate bursts (activity running >= 4 standard deviations above recent baseline; on buckets >= 30s, requiring multiple burst seconds or an extreme >= 6σ spike). Pip height and brightness encode burst intensity without ever obscuring the bars.
  • Side-colored 1px clip ticks just past the upper or lower rail edge flag columns taller than the 98th-percentile scale so one outlier print never flattens the rest of the strip.
  • Dotted horizontal hairlines mark the normal range — a rolling median of recent column extent plus 1.4826 × MAD. Columns reaching past them are genuinely unusual for that instrument.
  • “TOX +/−n” in the upper-left is the composite toxicity score for the newest bucket (buy side minus sell side, blending whale share, trade-rate burst, and sweep rank).
  • Candle-chart spike ticks and synced crosshair. The top 3–5 extreme toxic spikes in view drop tiny green/red micro-ticks along the bottom edge of the candle panel. Hover directly inside the rail to project a dashed vertical crosshair onto the matching candle and inspect the bucket's exact metrics (whale buy/sell %, tpsZ, sweep notional, and lambda percentile).

4. Timeframe and grain: why the bars stay readable

The rail buckets automatically so columns stay cleanly separated — from 1-second buckets when zoomed in, up to 1-hour buckets on wide windows. That means one bar equals different amounts of time on different timeframes.

Grain across timeframes

Practical consequence: when you zoom out, compare shape, side, solid-vs-hollow fill, and rhythm, not bar counts. When the visible window is under roughly two minutes the rail switches to tick mode, drawing individual whale prints as horizontal ticks (length = print size) with vertical hairlines joining each sweep chain.


5. Reading it in practice

  • Hollow whale columns piling up on one side — aggressive whales are slamming into passive liquidity and getting absorbed (low lambda, dark top ribbon). Watch for exhaustion or fade setups.
  • Solid whale columns under a bright amber top ribbon — informed takers are slicing through a thin book. Don't blindly step in front of it.
  • Stacked sweep chevrons (^^ / ^^^) + bottom burst pips — aggressive multi-level price walking paired with a print-rate spike. Check the matching bottom micro-tick on the candle chart to see which exact candle absorbed or broke.
  • Net Toxic Pressure curve crossing zero and holding — sustained directional regime shift rather than isolated one-bar noise.
  • Hover directly in the rail (or on the candles) to sync timestamps across both panels and read the underlying percentages and sweep dollar totals.

6. What it is not

It is not a signal, a prediction, or advice. It is a measurement of what already traded and how price responded. It also has a deliberate blind spot: whale columns are built from >= 95th-percentile prints, so a market busy solely with small clips shows only in the faint backdrop and burst track.


Quick reference

  • Top amber ribbon = book fragility (Kyle's lambda). Bright = thin book; dark = absorbing book.
  • Up = whale buying, down = whale selling. Height = whale notional in that bucket.
  • Solid bar = high-impact flow; hollow outlined bar = absorbed flow.
  • Green/red center curve = Net Toxic Pressure regime trace across zero.
  • Chevrons (^ / v) = significant sweeps (1–3 stacked = magnitude).
  • Bottom amber pips = trade-rate burst track (height = burst intensity).
  • Dotted lines = normal column range (median ± 1.4826 MAD).
  • Bottom candle ticks + rail hover = pinpoints exact candles where top toxic spikes hit.

Continue with Whale Book: reading order-book actors on the MattEXECS chart, which covers the overlay drawn on the candles themselves.