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 -
demandorsupply. side-longorshort. The condition matches only when the current rule's side equals this value.trigger-touch,close, orprice: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 withon_tick)
- tolerance percent - optional padding for the
pricetrigger.
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.
