Skip to main content
Session volume profile on a BTC chart

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

Open on a chart

Load it on BTC 5m in the terminal, then change its settings or open it in the script editor.
The session’s volume profile from every trade since 00:00 UTC: where its point of control (the price that traded most) and its value area (the 70% of volume around it) stood on each bar, and each session’s profile as a histogram from its first bar.

How it works

profile.since(time) gives every trade from the session’s start to the current bar, and valueArea finds the area by TradingView’s rule. The lines use about 200 rows over the session’s range, so they move in small steps; each histogram uses 48, one box each, with border: null for no outline. A finished session’s is drawn once, when its last bar closes; today’s is redrawn as the session grows. A new session’s first bar draws no lines, so one session never joins the next. Trades reach back to the start of the UTC day before yesterday, so the lines start there.

The script

session-volume-profile.ts

Next step

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