# Order block trading: what order blocks are and how to test one

An order block is the last opposite candle before a move that breaks structure. Here is how to mark one, what mitigation and breakers mean, and a version you can test.

- URL: https://www.ethyai.app/blog/order-blocks
- Author: Ethy Team
- Published: November 17, 2026; updated: November 17, 2026
- Publisher: Ethy AI, https://www.ethyai.app/

**The short answer:** An order block is the last opposite-colored candle before a move that breaks market structure. A bullish order block is the last down candle before price closes above a swing high. A bearish one is the last up candle before a close below a swing low. Traders mark its body or range as a zone to watch when price returns.

## What is an order block?

An order block is a zone on the chart, taken from one candle, where traders in the Smart Money Concepts (SMC) community expect price to react when it comes back. The idea is that large participants had to place big orders before the strong move that followed, and that the candle just before the move marks where. That explanation is a belief about who traded and why, not something a chart can show. The chart only shows the candle and what happened after it. The hub article [Smart Money Concepts](https://www.ethyai.app/blog/smart-money-concepts) maps where the term sits among the others.

To draw one by hand you need a definition that picks the same candle every time. The one used here has three parts: the candle is the **last candle of the opposite color** before the move, the move **closes beyond the last swing high or low** (a [break of structure](https://www.ethyai.app/blog/break-of-structure)), and the zone is the candle’s **body**, from its open to its close. Some traders use the full range from low to high instead. Pick one and keep it.

## How do you mark a bullish and a bearish order block?

1. Mark the swing highs and lows (a candle whose high or low is beyond the 2 candles on each side).
2. Find a candle that closes beyond the last swing high (bullish) or the last swing low (bearish).
3. Walk back from the start of that move to the last candle of the opposite color.
4. Draw the zone from that candle’s open to its close, and extend it to the right.

|  | Bullish order block | Bearish order block |
| --- | --- | --- |
| The candle | The last down candle (close below open) before the move up | The last up candle (close above open) before the move down |
| The move after it | Closes above the last swing high | Closes below the last swing low |
| The zone | Its open to its close | Its open to its close |
| What traders watch for | Price returning down into the zone | Price returning up into the zone |
| Where the idea fails | A candle closes below the zone | A candle closes above the zone |

Many writers add that the move should be “impulsive”, meaning big candles with little overlap. That word has no fixed number. A common way to make it objective is to require that the move leaves a [fair value gap](https://www.ethyai.app/blog/fair-value-gap), a three-candle gap in which candle 1’s high is below candle 3’s low for a bullish move. We will use that in the test.

## Why are order blocks hard to define objectively?

Because each part of the definition has a choice in it, and different choices mark different zones on the same chart:

- **Which swing.** The size of the swing setting changes which move counts as breaking structure.
- **How far back.** “The last opposite candle” is clear for one candle, but traders disagree about whether to take the last down candle, the whole run of down candles, or the candle with the lowest low.
- **Body or range.** The two zones can differ a lot in size.
- **What counts as a retest.** A touch, a wick into the zone, a close inside it, or a close at the midpoint.
- **Hindsight.** On a finished chart the order block is obvious. In real time, you need the break to have happened before you can draw the zone, and many candidate candles never get a break.

That is why two people looking at the same chart can mark different blocks, and why indicators that draw order blocks automatically each use their own settings. If you use one, read its documentation for these choices and treat its zones as one version of the idea.

## What does mitigation mean for an order block?

An order block is **mitigated** when price returns to it. Traders disagree on the exact trigger: some say any trade into the zone, others require a close inside. After mitigation, the usual reading is that the block has been “used”, so many traders only look at unmitigated blocks, those price has not come back to yet. Some keep trading a block until it has been touched more than once.

The distinction that matters for a test is between mitigated and **invalidated**. If price returns and a candle then closes beyond the far side of the zone (below a bullish block, above a bearish one), the idea has failed. State that exit in the rule, because that close is where your stop belongs.

## What is a breaker block?

A breaker block is an order block that failed and flipped roles. A bullish order block that gets broken, with a candle closing below it, becomes a breaker. Traders then watch for price to come back up to it from below and treat it as resistance. A failed bearish order block becomes a breaker that is treated as support. The logic is the same as with a broken support level that turns into resistance, and [Fidelity’s technical analysis guide](https://www.fidelity.com/learning-center/trading-investing/technical-analysis/what-is-technical-analysis) covers support and resistance in that general sense.

A breaker is defined entirely by the failure, so it is only known afterward, and it carries all the ambiguity of the order block it came from. It is a separate idea to test, not a free confirmation.

## What does an order block look like on real candles?

Here is one on Hyperliquid’s xyz:GOLD perpetual, 4-hour candles in UTC, pulled from the public API on November 17, 2026. The zone is the body of the candle, and swings use 2 candles on each side.

| Candle (UTC) | Open | High | Low | Close | What it shows |
| --- | --- | --- | --- | --- | --- |
| Nov 8, 20:00 | 4,066.7 | 4,075.8 | 4,038.7 | 4,056.9 | The last down candle: bullish order block, body 4,056.9 to 4,066.7 |
| Nov 9, 00:00 | 4,057.0 | 4,135.5 | 4,056.6 | 4,117.1 | Closes at 4,117.1, above the 4,081.9 swing high: bullish break of structure |
| Nov 9, 04:00 | 4,117.2 | 4,133.0 | 4,084.0 | 4,087.8 | Low 4,084.0 is above candle 1’s high of 4,075.8: a bullish fair value gap, 4,075.8 to 4,084.0 |
| Nov 10, 08:00 | 4,116.1 | 4,122.3 | 4,071.7 | 4,075.3 | Trades down through the gap to 4,071.7 and closes at 4,075.3 |
| Nov 10, 12:00 | 4,075.7 | 4,081.8 | 4,035.4 | 4,044.4 | Trades into the block to 4,035.4, closes at 4,044.4 below its body |
| Nov 10, 16:00 | 4,044.1 | 4,047.4 | 3,994.9 | 4,031.4 | Closes at 4,031.4, below the whole candle’s range: the block has failed |
| Nov 11, 04:00 | 4,047.0 | 4,066.1 | 4,043.0 | 4,059.6 | Rises to 4,066.1 and closes at 4,059.6, inside the old body: the breaker retest |

The November 8, 20:00 candle is the last down candle before a close above the swing high, and the move left a fair value gap, so it passes the definition. About a day and a half later, on November 10, price came back, ran through the gap, then through the block, and closed below it. A long entered on the return to the block, with the stop below it, would have been stopped. Later, on November 11, price rose back into the old zone from below, the breaker situation, and the last candle in this data, November 11, 20:00, closed at 3,979.1.

This is one example on one market. It shows the definitions and one way they fail, not what usually happens. A different swing setting, or the full-range zone, would give different levels.

## How do traders use order blocks, and what goes wrong?

The usual plan is to wait for a break of structure, mark the order block, wait for price to return, and enter in the direction of the break with a stop beyond the zone. Some require that the zone also overlaps a fair value gap, or sits in the discount half of the swing for a long.

- **Marking after the fact.** Blocks drawn on a finished chart are chosen with the answer in view.
- **Taking every block.** Most candles are the last opposite candle before something. Without the break and the gap requirement, you mark a zone every few candles.
- **Price never returns.** A strong move often leaves the zone behind, so a limit order at the block can sit unfilled while the move runs.
- **No exit for the failure.** The example above shows why. Decide in advance that a close beyond the zone ends the trade.

## Do order blocks work? What does the research say?

Little or no peer-reviewed research tests order blocks as such. Videos and courses that show chosen examples are not evidence, because the examples were picked with hindsight, and this article does not rely on them.

The nearest academic work asks whether rule-based chart reading carries any information at all. Lo, Mamaysky and Wang ([NBER working paper 7613, published in the Journal of Finance in 2000](https://www.nber.org/papers/w7613)) recognized chart patterns with an algorithm on U.S. stocks from 1962 to 1996 and found some patterns added information beyond the plain return distribution. That supports testing rules like this one. It does not say that order blocks work, or that anything works on gold in 2026. The only way to learn about your version is to define it exactly and test it.

## How do you test an order block?

A drawn order block depends on judgment, so a test needs a rule a machine can check. Here is a long version built from the parts above:

1. **Market and time frame:** gold (xyz:GOLD), 4-hour candles.
2. **Break:** a candle closes above the most recent confirmed swing high (a swing needs 2 candles on each side).
3. **Gap:** the move leaves a bullish fair value gap, candle 1’s high below candle 3’s low.
4. **Zone:** the gap, or the body of the last down candle before the break.
5. **Entry:** the first time price returns into the zone, enter at the next open.
6. **Stop:** below the low of the candle that started the move, or earlier on a close below the zone.
7. **Take profit:** a fixed multiple of the stop distance.

Then compare results across the zone choices (body, range, gap), swing sizes and exits, on past data that includes rising, falling and flat stretches. If the result only holds for one setting, treat it as noise. The [backtesting guide](https://www.ethyai.app/blog/how-to-backtest-a-trading-strategy) covers the checks.

Be exact about Ethy. Order blocks are not one of its built-in conditions. Its strategy conditions do read swings, breaks of structure, fair value gaps and retests, so the nearest testable rule uses a break of structure, the fair value gap it leaves, and a retest of that zone. That tests the idea through the gap, not the order block candle itself, and the zones differ (in the example above the gap sat above the body). You describe the rule in plain English, check the rules Ethy shows against the definitions here, backtest up to 365 days, optimize, and run it on paper before any real money. See [AI backtesting](https://www.ethyai.app/ai-backtesting) for how the backtester works.

> **Ask Ethy:** [Backtest a long on gold 4h: after a candle closes above the last swing high and leaves a fair value gap, buy when price retests that gap, stop below the swing low, take profit at twice the stop distance.](https://agents.ethyai.app/chat?landing=blog&post=order-blocks&prompt=Backtest%20a%20long%20on%20gold%204h%3A%20after%20a%20candle%20closes%20above%20the%20last%20swing%20high%20and%20leaves%20a%20fair%20value%20gap%2C%20buy%20when%20price%20retests%20that%20gap%2C%20stop%20below%20the%20swing%20low%2C%20take%20profit%20at%20twice%20the%20stop%20distance.)

> **Backtests are estimates** A backtest shows what a rule would have done on past prices. It is not a forecast, and a rule that fits the past can fail on new data.

**Test an order block rule in plain words** Describe the break, the gap and the retest, check the rules Ethy shows, backtest it on gold, oil or the S&P 500, and run it on paper first. Start with 500 free credits, no card needed. [Start free](https://agents.ethyai.app/?landing=blog&post=order-blocks)

## Summary

- An order block is the last opposite-colored candle before a move that closes beyond a swing high or low.
- Bullish: last down candle before a close above the swing high. Bearish: last up candle before a close below the swing low.
- Mitigation means price returned to the zone; a close beyond its far side means the idea failed and the block may become a breaker.
- The definition has many choices (swing size, body or range, what counts as a retest), so two people mark different blocks.
- Little or no peer-reviewed research tests order blocks as such; define the rule exactly and test it.
- Ethy has no order block condition; test the nearest rule with a break of structure, the fair value gap it leaves and a retest.

## Questions people ask

### What is an order block in trading?

An order block is the last candle of the opposite color before a move that breaks market structure. For a bullish block it is the last down candle before price closes above a swing high. Traders mark its body or range as a zone to watch when price returns to it.

### What is a breaker block?

A breaker block is an order block that failed. When a candle closes beyond the far side of the block, traders treat the zone as having flipped role: a broken bullish block is watched as resistance, a broken bearish block as support. It is only known after the failure.

### What does it mean when an order block is mitigated?

Mitigated means price has returned to the zone. Traders differ on whether a touch or a close inside is required. Many only look at unmitigated blocks. A close beyond the far side of the zone is different: that invalidates the block rather than just using it.

### Does Ethy have an order block condition?

No. Order blocks are not one of Ethy’s built-in conditions. It reads swings, breaks of structure, fair value gaps and retests, so the nearest testable rule uses a break of structure, the fair value gap it leaves, and a retest of that zone.

### Are order blocks the same as support and resistance?

Not quite. Support and resistance are levels where price has turned before, drawn from past highs and lows. An order block is a zone taken from a single candle before a break of structure. The ideas overlap, especially once a block fails and becomes a breaker.

## Sources

- [Fidelity Learning Center: What is technical analysis?](https://www.fidelity.com/learning-center/trading-investing/technical-analysis/what-is-technical-analysis)
- [Lo, Mamaysky and Wang: Foundations of Technical Analysis (NBER working paper 7613)](https://www.nber.org/papers/w7613)
- [TradingView Pine Script v6 reference (pivot functions)](https://www.tradingview.com/pine-script-reference/v6/)
- [TradingView Pine Script docs: strategies and backtesting](https://www.tradingview.com/pine-script-docs/concepts/strategies/)
- [TradingView Support: what are strategies, backtesting and forward testing?](https://www.tradingview.com/support/solutions/43000562362-what-are-strategies-backtesting-and-forward-testing/)
- [Hyperliquid API docs: info endpoint (candleSnapshot)](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint)
