Skip to main content
Ichimoku on a BTC chart

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

Open on a chart

Load it on BTC 4h in the terminal, then change its settings or open it in the script editor.
Ichimoku as TradingView draws it: the conversion and base lines, the lagging span 25 bars back, and the two leading spans and the cloud between them 25 bars ahead, in the space past the newest candle.

How it works

offset shifts a plot by whole bars: positive draws to the right, past the newest bar; negative to the left. plot.fill shades between the two leading spans, coloured per bar.

The script

ichimoku.ts

Next step

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