# Order Blocks & Breaker Blocks

Plots order blocks from swing points and keeps tracking them after price breaks through, flagging the moment a zone flips into a breaker block. Live blocks appear as solid areas, breakers as dashed dual-colored zones, with display counts for each side under your control. Suited to traders who trade polarity flips as well as fresh zones.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Mar 9, 2023.
- Access: free.
- Concepts: [Bullish/bearish Order Block](https://www.luxalgo.com/library/concept/bullish-bearish-order-block/) (primary), [Breaker Block](https://www.luxalgo.com/library/concept/breaker-block/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn4c2y0062vhsgb4ug7k4c
- Page: https://www.luxalgo.com/library/indicator/order-blocks-breaker-blocks/

**Order Blocks & Breaker Blocks** plots [bullish and bearish order blocks](https://www.luxalgo.com/library/concept/bullish-bearish-order-block/) from swing points, then does what most zone tools don't: it keeps watching after price trades through. A mitigated block converts into a [breaker block](https://www.luxalgo.com/library/concept/breaker-block/), the same zone with reversed polarity, where former support is expected to resist and former resistance to hold price up.

The chart makes the transition unmistakable. Live order blocks are solid, extended areas; at mitigation the zone switches to dashed borders and dual coloring, pinning the exact spot where polarity changed.

## How to Trade the Order Blocks & Breaker Blocks?

- **Solid zone holds**: an unmitigated order block serves as support (bullish) or resistance (bearish) for trades in the direction of the original move.
- **Zone flips to a breaker**: trade the opposite reaction: a broken bullish block becomes a zone to sell into on retest, a broken bearish block a place to look for support.
- **Raise Swing Lookback**: anchors zones to more significant swings when you want longer-term structure.

Enabling the polarity labels reveals where swing highs and lows printed inside each breaker historically, a study aid best used in replay mode, since those labels are backpainted, while block and breaker detection itself runs in real time.

## Order Blocks & Breaker Blocks Settings

- **Swing Lookback**: lookback for the swing detection that seeds each block.
- **Show Last Bullish OB**: number of recent bullish order/breaker blocks kept on the chart.
- **Show Last Bearish OB**: the same cap on the bearish side.
- **Use Candle Body**: builds zones from candle bodies instead of full ranges for tighter areas.
- **Show Historical Polarity Changes**: labels prior swing points inside breaker blocks.

## Frequently Asked Questions

### When exactly does an order block become a breaker?
At mitigation: once price trades through the zone, it is redrawn dashed and dual-colored and treated with opposite polarity from that point forward. The color change marks the precise transition.

### How does this differ from the Order Block Detector?
The [Order Block Detector](https://www.luxalgo.com/library/indicator/order-block-detector/) derives its zones from volume pivots and removes them once mitigated. This build works from swing structure and keeps the broken zone alive as a breaker, letting you trade the polarity flip instead of discarding it.

### How do I get access?
It's free in the LuxAlgo Library. From this page you can also run it in Quant, our coding agent, and watch blocks form and flip on any symbol. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Order Block Detector](https://www.luxalgo.com/library/indicator/order-block-detector/) (Bullish/bearish Order Block): markdown at https://www.luxalgo.com/library/indicator/order-block-detector.md
- [Dynamic Order Blocks](https://www.luxalgo.com/library/indicator/dynamic-order-blocks/) (Bullish/bearish Order Block): markdown at https://www.luxalgo.com/library/indicator/dynamic-order-blocks.md
- [ICT Concepts](https://www.luxalgo.com/library/indicator/ict-concepts/) (Bullish/bearish Order Block): markdown at https://www.luxalgo.com/library/indicator/ict-concepts.md
- [Price Action Concepts](https://www.luxalgo.com/library/indicator/luxalgo-price-action-concepts/) (Bullish/bearish Order Block): markdown at https://www.luxalgo.com/library/indicator/luxalgo-price-action-concepts.md
- [LuxAlgo - Screener (PAC)](https://www.luxalgo.com/library/indicator/luxalgo-screener-pac/) (Bullish/bearish Order Block): markdown at https://www.luxalgo.com/library/indicator/luxalgo-screener-pac.md
- [ICT Propulsion Block](https://www.luxalgo.com/library/indicator/ict-propulsion-block/) (Bullish/bearish Order Block): markdown at https://www.luxalgo.com/library/indicator/ict-propulsion-block.md
- [Breaker Blocks with Signals](https://www.luxalgo.com/library/indicator/breaker-blocks-with-signals/) (Breaker Block): markdown at https://www.luxalgo.com/library/indicator/breaker-blocks-with-signals.md
- [Pure Price Action Order & Breaker Blocks](https://www.luxalgo.com/library/indicator/pure-price-action-order-breaker-blocks/) (Breaker Block): markdown at https://www.luxalgo.com/library/indicator/pure-price-action-order-breaker-blocks.md

---

Source: https://www.luxalgo.com/library/indicator/order-blocks-breaker-blocks/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
