Skip to content
StatePath
All data types

bars_since_session_change

How many bars have passed since the trading session label last changed.

  • BUFFER

What is it

It is 0 on a session's first bar.

A buffer sub-field bars_since_session_change of the time.minutes_since_open output (one value per bar). Subsumes into a generic num sink (rule 6c).

  • BUFFERnum.bars_since_session_changeint64

What is it a kind of

Any tool that accepts num accepts this.

Who makes it

Who takes it

Through num
61 tools take any num

How do I turn it into something else

Fromnum.bars_since_session_change
Lossless, no tool needed
num
Needs a tool