How it is calculated
Order blocks as in order_block. A close below a bullish block's bottom turns it into a bearish breaker with the same top and bottom; a close above a bearish block's top into a bullish breaker. A breaker ends on a close back through its far side: a bullish one below its bottom, a bearish one above its top.
Reference: ICT market structure, from public descriptions (#546)
How to read it
The lines show the nearest bullish breaker (the highest) and bearish one (the lowest). new is 1 on the bar whose close turns a block into a breaker, broken on the bar that ends one. Order blocks and breakers are each kept up to max_zones per side.
In a strategy
Sell the retest after a failed long setup: when bb = ctx.ind("breaker_block", length=3) has bb.bear_new of 1, a short limit at bb.bear_bottom with the stop above bb.bear_top.
Inputs
| Input | Type | Default | Range or choices |
|---|---|---|---|
Swing bars each sidelength | Whole number | 3 | min 1, max 50 |
Break onbreak_on | Choice | "close" | Close, Wick |
Zonezone | Choice | "wick" | Full candle, Body only |
Zones kept per sidemax_zones | Whole number | 20 | min 1, max 500 |
What it draws
| Line | Drawn as |
|---|---|
| Bullish top | Steps |
| Bullish bottom | Steps |
| Bearish top | Steps |
| Bearish bottom | Steps |
Used in
No strategy template reads it yet.