Back to builder reference

Condition

order_block
entry

Order Block -- institutional S/R zone

Category

Price levels

Discriminator

type = "order_block"

Roles

entry

Required fields

None.

Optional fields

directionenum: bullish, bearish, both-
fill_thresholdnumberFill percentage (0-1) at which zone is considered filled
max_barsanyOf (2 variants)Zone expiry in bars
min_body_pctanyOf (2 variants)Optional displacement-body filter. Require the displacement candle's body |close-open| to be at least this fraction of its full range (high-low). None disables the filter (default-preserving). Setting this also activates canonical-mode consume-after-fire.
min_displacement_atranyOf (2 variants)Optional displacement strength filter, in ATR(14) multiples. The displacement candle body must satisfy |close-open| >= mult * ATR(14). None disables the filter (default-preserving). Setting this also activates canonical-mode consume-after-fire.
resolutionanyOf (2 variants)Higher-timeframe override for zone lifecycle. Set to '4h' to detect OBs on 4H bars. None = strategy timeframe.
selectenum: nearest, most_recent, oldest, anyHow to pick among matching zones at trigger time. 'any' (default) fires when any zone overlaps the bar. 'nearest'/'most_recent'/'oldest' deterministically pick one zone — required when binding execution price via TriggeringZonePriceSpec (VIB-591).
typestring-
use_wicksbooleanZone bounds source for the opposing candle. Default True preserves current behavior (full high/low including wicks). False switches to canonical SMC body bounds (max(open,close)/min(open,close)) and activates consume-after-fire so only one zone fires per setup.
Quawd

A subscription SaaS platform for designing, backtesting, and paper-trading algorithmic trading strategies on equities and crypto — described in plain English to an AI agent, no code required.

© 2026 Quawd. All rights reserved.

Quawd is a software tool, not a broker-dealer or investment adviser, and does not provide investment advice. Trading involves substantial risk of loss. Backtested and hypothetical results have inherent limitations and are not indicative of future performance.