Skip to main content
Stopped-out footprint on a BTC footprint chart

BTC on 1-minute bars in the 0xArchive Terminal, 2026-10-17.

Open on a chart

Load it on BTC 1m in the terminal, then change its settings or open it in the script editor.
A footprint of stop runs: at each price, the longs stopped (left, the sell side) and the shorts stopped (right, the buy side). A stop run shows at the exact prices where it happened, and most rows are empty, so an empty lane draws nothing rather than a row of zeros. The chart has it built in: pick Stopped out under Positions in the chart-type menu. The footprint’s own row sizes, shapes, colours, statistics rows and row readout all apply. Added as a script, to change it, it is a Script choice under Data instead, and on a candle chart its legend says Footprint chart only, with Switch to go there. Stacked (the second tab above, under Shape in the chart-type menu) draws each price as one bar, as long as its total and split into the lanes’ colours, so the mix at a price reads at a glance.

How it works

Each fill’s takerWhy says what the taker’s position did. stop_long and stop_short are closes at a loss, or forced by a liquidation or auto-deleveraging. plot.footprint declares two lanes, and fp.add in onTrade adds each stopped fill’s size at its price. The footprint groups the prices into its rows as you zoom, as it does for Bid × Ask.

Try changing

  • Add tp_long and tp_short as two more lanes, Longs taking profit and Shorts taking profit, to see stops beside profit taking: Stopped vs profit is that script.
  • Use t.notional in place of t.size, with measure: 'count', to print dollars whatever the chart’s unit.

The script

stopped-out-footprint.ts

Next step

See the next example, Stopped vs profit footprint.
Last modified on October 18, 2026