Skip to main content
RSI cross on a BTC chart

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

Open on a chart

Load it on BTC 1h in the terminal, then change its settings or open it in the script editor.
An RSI in its own pane, with dashed levels at 30 and 70, the band between them shaded, and a triangle where the RSI crosses up through 30.

How it works

This is what the Pine translation makes of a small Pine script, shown at the top of the source. Each Pine call to a stateful function, such as ta.crossover, becomes an instance of its own, because each call keeps its own history.

The script

rsi-cross.ts

Next step

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