Skip to main content
Tape CVD on a BTC chart

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

Open on a chart

Load it on BTC 5m in the terminal, then change its settings or open it in the script editor.
Taker buys less taker sells on each bar, in USD, as bars, and their running sum as a line: cumulative volume delta, built from every trade.

How it works

A tally adds each trade as it arrives. The running total is state.bar, added to in onClose, so the forming bar shows the total so far without adding it twice: every update of the forming bar starts again from the last closed bar.

The script

cvd.ts

Next step

See the next example, Funding and open interest.
Last modified on October 16, 2026