Skip to main content
Session table on a BTC chart

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

Open on a chart

Load it on BTC 15m in the terminal, then change its settings or open it in the script editor.
A table of the session so far: last price, change since 00:00 UTC, high and low.

How it works

A table is made once with draw.table at the top, and its cells are written on the newest bar only (chart.isLast). fmt.price writes prices to the market’s own precision, so the table reads like the price axis beside it. The Position input says where the table sits; legend: false keeps it out of the script’s name in the legend.

The script

session-table.ts

Next step

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