Back to builder reference
Value ref
entry_barReference to a field of the signal bar for the currently-open position.
Auto-captured by the engine when a position opens. Returns NaN when no position is open. Clears on position close. Use for ORB-style "stop out below the signal-bar low" without AnchorDefinition's silent-latching bug.
Fields:
- open / high / low / close: signal-bar OHLC
- range: high - low
- body_high: max(open, close)
- body_low: min(open, close)
Backing types
EntryBarValueRef
Required fields
FieldTypeDescription
entry_bar_fieldreqEntryBarField-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.
EntryBarValueRef