Skip to main content
Large taker orders on a BTC chart

BTC on 15-minute bars in the 0xArchive Terminal, 2026-10-16.

Open on a chart

Load it on BTC 15m in the terminal, then change its settings or open it in the script editor.
A big market order fills against many resting orders, and each fill is a separate trade. This script joins the fills back into orders and draws each one of $2M or more where it started: a buy at its lowest fill, a sell at its highest, beside a faint band over the prices it ate. The level runs to the newest bar, with a tag of the order’s size, until a later bar trades back to it; then it stays as a dashed hairline. It is the method of the chart’s own Large orders, in the chart-type menu, written as a script you can change.

How it works

takerOrders() joins the fills back into orders and calls onOrder once per order, and minNotional keeps the orders of $2M or more, counting the whole order. Each order waits in live state until its bar closes, while trades() checks whether a later trade in the same bar reached its level. Those that stood become levels in bar state, and each closed bar ends the ones its range reached. An order price came back to within its own bar, or on the very next one, never stood, so it is left out. Lines are heavier the more times the minimum an order is, and the newest bar draws the 20 biggest standing levels, the 20 latest that ended, and tags on the 8 biggest.

Try changing

  • Change Minimum order for the market: $2M is large on BTC, and enormous on most other markets.
  • Draw only the standing levels, to see just the prices no one has traded back to.

The script

large-takers.ts

Next step

See the next example, Opening sweeps.
Last modified on October 16, 2026