Conditions

S/D zone match (configurable)

Unified S/D zone condition with side filter and trigger mode (touch / close / price). Internal type - `supply_demand_zone_match`.

1 min readUpdated Jun 19, 2026

supply_demand_zone_match is the configurable cousin of the two simpler S/D conditions. It can mimic either of them and adds a side filter so you can require, for example, "demand-zone touch on the long side only."

Shape

{
  "type": "supply_demand_zone_match",
  "zone_type": "demand",
  "side": "long",
  "trigger": "price",
  "tolerance_pct": 0.1
}

Params

  • zone type - demand or supply.
  • side - long or short. The condition matches only when the current rule's side equals this value.
  • trigger - touch, close, or price:
    • touch - bar's wick entered the zone (closed-bar)
    • close - bar's close landed in the zone (closed-bar)
    • price - live price is inside (use with on_tick)
  • tolerance percent - optional padding for the price trigger.

When to pick this vs the simpler ones

  • Use the simpler S/D conditions for clarity in basic setups.
  • Use this match condition when you need side-aware logic in the same rule, or when you want to switch trigger mode by configuration rather than by swapping the condition type.
S/D zone match (configurable) | Help Center | LucraX · LucraX