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. It draws on the footprint chart type, as a Script choice under Data, beside Bid × Ask. The footprint’s own row sizes, shapes, colours, statistics rows and row readout all apply. On a candle chart the legend says Footprint chart only, and Switch goes there.

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.
  • 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, Opens and closes footprint.
Last modified on October 17, 2026