Back to builder reference
Value ref
sequence_stepReference to a field of the bar that matched a named sequence step.
Address the bar that satisfied a specific step inside a specific SequenceCondition. Useful for "stop at the retest bar's low" in break-retest setups.
Lifecycle mirrors EntryBarValueRef: the snapshot is captured at step fire, preserved for the lifetime of the open position, cleared on position close. NaN when no position is open or the step has not yet fired on the current match.
Fields:
- open / high / low / close: step-bar OHLC
- range: high - low
- body_high: max(open, close)
- body_low: min(open, close)
Backing types
SequenceStepValueRef
Required fields
FieldTypeDescription
sequence_idreqstringId of the target SequenceCondition.step_fieldreqEntryBarField-step_idreqstringId of the step within the sequence.Optional fields
FieldTypeDescription
kindstring-resolutionanyOf (2 variants)Optional higher-timeframe override for this value ref. Set it inside left/right refs such as {'kind': 'indicator', ..., 'resolution': '4h'} or {'kind': 'price', 'field': 'close', 'resolution': '4h'}. Do not put timeframe/source_timeframe on the parent condition. None = strategy timeframe.symbolanyOf (2 variants)Optional reference symbol this value ref reads from (e.g. 'SPY'). None = the traded/primary symbol. Mutually exclusive with resolution.Backing types
The IR ValueRef classes this builder field resolves to.
SequenceStepValueRef