Back to builder reference
Value ref
offsetRead a market-derived value offset completed source-frame bars ago.
Offset counts bars of its source; to step on strategy bars, wrap the source in sample. Mixed children use their finest frame, reading coarser children as of the last completed bar. Use sample(clock=primary) to count primary bars instead. Indicator/price leaf offsets count their own frame; swing offsets count confirmed swings. Missing historical values stay absent. Position, account, event, zone and cross-sectional histories are not supported. Nested offsets add, with at most 500 source-frame bars in total.
Backing types
OffsetValueRef
Required fields
FieldTypeDescription
offsetreqinteger-sourcereqanyOf (2 variants)-Optional fields
FieldTypeDescription
kindstring-Backing types
The IR ValueRef classes this builder field resolves to.
OffsetValueRef