# OB/BB Style

Order Blocks and Breaker Blocks are the core supply and demand zones REx places after every structural break. This section controls which zones are shown, how they look, and how their interaction with price is tracked.

***

<figure><img src="https://2404540482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuK39Nj2efLknCBW9clay%2Fuploads%2Fgit-blob-6fce30569008e0c69ff54ac5fc76e52fbdd6759f%2Fob-bb.png?alt=media" alt=""><figcaption></figcaption></figure>

***

## Order Block

> <kbd><mark style="color:purple;">**Order Block (OB)**<mark style="color:purple;"></kbd> is the last opposite-colored candle before a structural break.\
> It marks where institutional orders were placed before the impulsive move — and where price is likely to react when it returns.

<table data-header-hidden><thead><tr><th width="40"></th><th></th></tr></thead><tbody><tr><td><mark style="color:green;"><strong>1.</strong></mark></td><td><kbd><mark style="color:purple;"><strong>OB</strong></mark></kbd> enables the display of Order Blocks and allows you to customize their colors. An Order Block is placed after a break, on the last opposite candle before the structure high/low, depending on the direction. ⤵</td></tr></tbody></table>

<div data-with-frame="true"><figure><img src="https://2404540482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuK39Nj2efLknCBW9clay%2Fuploads%2Fgit-blob-457071bb19f301857ffedc4ac35c5e55c2bf1e5f%2Fob.png?alt=media" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**OB position depends on your Mode setting.** The Structure Mode (MSB or BOS) determines which counter point is used to define the range — this directly affects where each OB is placed and how wide the zone is.\
→ [MSB](https://docs.rexden.ai/deep-learn/editor/structure-str/msb) uses the most recent counter point — tighter zones, closer to the break.\
→ [BOS](https://docs.rexden.ai/deep-learn/editor/structure-str/bos) uses the most extreme counter point — wider zones, broader context.
{% endhint %}

***

## Breaker Block

> <kbd><mark style="color:purple;">**Breaker Block (BB)**<mark style="color:purple;"></kbd> forms when an Order Block is violated — price closes through it instead of reacting.\
> The zone flips polarity: a bullish OB becomes a bearish BB, and vice versa.

<table data-header-hidden><thead><tr><th width="40"></th><th width="705"></th></tr></thead><tbody><tr><td><mark style="color:green;"><strong>2.</strong></mark></td><td><kbd><mark style="color:purple;"><strong>BB</strong></mark></kbd> enables the display of Breaker Blocks and allows you to customize their colors.<br>A Breaker Block appears after an Order Block has been violated. ⤵</td></tr></tbody></table>

<div data-with-frame="true"><figure><img src="https://2404540482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuK39Nj2efLknCBW9clay%2Fuploads%2Fgit-blob-e6d41c28ae67553ea9f9e205dd94dc5441dadf19%2Fbb.png?alt=media" alt=""><figcaption></figcaption></figure></div>

***

## Zone Lifecycle

Every OB and BB follows a defined lifecycle from creation to expiry. REx tracks the state of every zone in real time.

```
OB: CREATED → UNTESTED → TESTED → MITIGATED
                                or
                       → VIOLATED → becomes Breaker Block (BB)
```

| State         | Meaning                                             |
| ------------- | --------------------------------------------------- |
| **Untested**  | Zone hasn't been revisited                          |
| **Tested**    | Price wicked into the zone — no candle close inside |
| **Mitigated** | A candle closed inside the zone                     |
| **Violated**  | Price closed through — OB becomes BB                |

When **Show Mitigation** is enabled, REx displays a live penetration percentage directly on each zone — how far price has entered it relative to the zone's full height. 0% means untouched. As price wicks deeper, the number climbs. Once a candle closes inside, the zone is mitigated at 100%. This lets you assess zone strength at a glance without waiting for the state label to change.

***

## Display Options

<table data-header-hidden><thead><tr><th width="40.6666259765625"></th><th></th></tr></thead><tbody><tr><td><mark style="color:green;"><strong>3.</strong></mark></td><td><kbd><mark style="color:purple;"><strong>Start OB from Extreme</strong></mark></kbd> is a purely visual setting that moves the Order Block to the structure high or low instead of the candle where it was formed, resulting in a cleaner and clearer chart.</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th width="40"></th><th></th></tr></thead><tbody><tr><td><mark style="color:green;"><strong>4.</strong></mark></td><td><kbd><mark style="color:purple;"><strong>Show Mitigation</strong></mark></kbd> displays the current lifecycle state and penetration percentage on each OB and BB zone in real time. States are defined in Zone Lifecycle above.</td></tr></tbody></table>

***
