Node reference
Variable
A constant, or a value that persists across bars.
Rev. 2026.06
Variabledata
InputsOutputsVariable
Write When
writeWhen · boolean
Write Value
writeValue · number
Value
main · number
Configure
- subType
- default const
- value
- — Constant to compare against
- default 0
- initialValue
- default 0
- writeWhenNodeId
- writeWhenHandle
- writeValueNodeId
- writeValueHandle
What it does
Holds a fixed number (const) or a mutable value that persists bar-to-bar (var / cvar).
What happens
Read fresh from each candle as the strategy steps — this is the raw market value the rest of your graph builds on.
When to use
Thresholds, tunable constants, or simple state your graph updates itself.
Gotchas
- const is fixed for the run; var / cvar persist and can be updated.