The Supply/Demand indicator scans price for zones where significant orders were absorbed - demand zones (buyers stepped in, price launched up) and supply zones (sellers stepped in, price dumped). Each detected zone has a high and low. The indicator publishes the boundaries of the nearest active zone of each type on every bar.
Output
Four columns:
- active demand zone high
- active demand zone low
- active supply zone high
- active supply zone low
When no zone of a given type is active, the columns are null and
zone-touch conditions return false.
Usage
- Pair with the
price_in_supply_demand_zoneorsupply_demand_zone_matchcondition to enter on a touch. - Use
evaluate: on_tickfor zone-touch rules - see Evaluate mode. - Combine with a trend filter so you don't fade demand zones in a downtrend.
Pitfalls
- Zone detection is heuristic, not exact. Different definitions produce different zones; the engine uses its own deterministic rule, but expect occasional disagreements with a manual chart reading.
- Active zones expire when price travels far enough away. A zone you saw two days ago may no longer be tracked.
- Don't read the columns directly for entries - use the dedicated conditions, they handle the null case and the tolerance band.
