Skip to content
StatePath
All data types

bar_span

How many bars something lasted — a width measured in candles, not in clock time.

  • SCALAR

What is it

A num-family span counted in BARS. Deliberately NOT time.duration: the units rule reserves the time family's span for SECONDS, so bar-denominated measures stay under num. This tag is what lets a leg's span wire into the bar-window config knobs (P3).

  • SCALARnum.bar_spanint64

What is it a kind of

Any tool that accepts num accepts this.

Who makes it

Who takes it

Exactly this
Through num
61 tools take any num

How do I turn it into something else

Fromnum.bar_span
Lossless, no tool needed
num
Becomes a flat series
SCALAR → BUFFER
Needs a tool