Sidechair

chart.is_renko

Browse the reference

True when the chart shows Renko bricks, which form when price moves a set amount, not when time passes.

Try it in the editor

A Renko brick is added only when price travels a fixed brick size beyond the last brick, so a quiet hour adds nothing and a fast minute can add several. Bar times are uneven and several bricks can share a timestamp.

Use the flag to skip time-based logic such as session or daily resets, or to measure how long each brick took.

Type

simple bool

Example

Pine ScriptMinutes each brick took to formOpen in editor
//@version=6
indicator("chart.is_renko: brick duration", overlay = false)
plot(chart.is_renko ? (time - time[1]) / 60000 : na, "Minutes per brick", color.purple, style = plot.style_columns)

See also

Runs on Sidechair