The Order Blocks indicator ports the LuxAlgo SMC order-block logic. An order block is the extreme candle inside the leg that produced a structure break - the lowest-low candle for a bullish (demand) block, the highest-high candle for a bearish (supply) block. Blocks are removed once price trades back through them (mitigation).
Condition
order_block_match reads one interaction at a time, selected by
trigger:
- price - live price is inside the nearest active block on this side (tick-eligible).
- inside - the bar closed inside a block.
- formed - a new block of this side just formed.
- mitigated - a block of this side was just mitigated.
Typical use
Enter on price inside a bullish block while market-structure trend is
bullish, using tolerance_pct to give the zone a little padding so a
near-touch still triggers.
