Skip to main content
Open interest heat on a BTC chart

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

Open on a chart

Load it on BTC 1m in the terminal, then change its settings or open it in the script editor.
At each price, open interest built (blue) against unwound (amber), netted by row. A sell-off reads amber all the way down as positions close; new positions opening at a top turn it blue. The colours are neither buy nor sell, since either side can do both. The Open interest footprint shows the same bar by bar.

How it works

Each fill’s oiDelta is its change in the venue’s open interest: above 0 where both sides opened, below where both closed, 0 where one opened and the other closed. plot.heat declares two sides with the script’s own colours, which the chart turns apart if a theme puts them close, and heat.add adds each fill’s change at its price.

Try changing

  • carry: { fade: 30 } keeps the zones for longer by default.

The script

open-interest-heat.ts

Next step

See the next example, Session volume profile.
Last modified on October 18, 2026