# Order block: a definition strict enough to backtest

> An order block is the last opposite candle before a break of structure. How to mark one by rule, how it differs from an FVG, and what its retest did.

Published October 28, 2026 · updated November 15, 2026 · Trading · by the EdgeLuma team · 15 min read

Source: https://edgeluma.com/blog/order-block

An order block is the last candle of the opposite colour before an impulse that breaks structure: the last down candle before a break upward, the last up candle before a break downward. Traders who use it expect price to come back into that candle's range and react there.

[CMC Markets' beginner guide](https://www.cmcmarkets.com/en-gb/trading-strategies/order-block-trading-explained) is a typical explanation. It marks the last opposite candle before a strong, impulsive move and takes the candle's high and low as the zone, but it never says how strong the move has to be. The same page says the idea's foundations "remain largely unverified by independent research". When we checked the pages that rank for the term in October 2026, none gave a rule a computer could apply, or a number from a test.

So we replaced "strong" with a break of structure, wrote the rule down and ran it over two years of Bitcoin, Ethereum and Solana perpetuals. This guide gives the definition and how it differs from a fair value gap and a breaker block. Then it shows what price did when it came back to a block, what happened when we traded that retest with real costs, and which choices change what you end up testing.

## What is an order block in trading?

An **order block** is the last candle of one colour before an impulse of the other colour that breaks market structure. A bullish one is the last down candle before an up move that breaks structure upward. A bearish one is the last up candle before a down move that breaks it downward.

The name comes from a story traders tell about it: the candle is where a large player built a position, and unfilled orders are left behind there. Nobody can check that story from a chart, and nothing here rests on it. What you can check is the geometry: which candle, which range, and when price comes back to it.

The idea belongs to [price action](https://en.wikipedia.org/wiki/Price_action_trading) and to the family traders call smart money concepts, next to the [fair value gap](https://edgeluma.com/blog/fair-value-gap) and the [break of structure](https://edgeluma.com/blog/break-of-structure). It depends on the last of those: without a break of structure there's no order block to mark.

## How to mark an order block by rule

Marking an order block by rule takes three steps, in this order:

1. Find the break. It's a candle that closes beyond the swing level the trend was protecting, which is a [break of structure](https://edgeluma.com/blog/break-of-structure). Its own definition has to be settled first: which swing counts, whether the level sits on the wick or the body, and why a wick through it isn't enough.
2. Walk back to the block. From the breaking candle, go back one candle at a time and stop at the first one of the opposite colour. For an up break that's the first candle that closed below its open. A doji closes exactly where it opened, so it's neither colour and you step over it.
3. Mark the zone. It's that candle's whole range, from its low to its high, wicks included.

*Figure: A bullish order block and a bearish one. In the bullish one a pullback ends on a down candle, the next candle closes above the high the uptrend was protecting, and that last down candle's whole range becomes the block.*

Say an uptrend's protected high is at 101.2. The pullback's last candle opens at 100.4 and closes at 99.9, with a high of 100.5 and a low of 99.8. The next candle closes at 102.2. That close is above 101.2, so the down candle before it is the block and the zone runs from 99.8 to 100.5.

Marked this way, a block exists from the moment the break closes, never before. A block drawn by eye on a finished chart is picked by someone who already knows what came after it. That's [look-ahead bias](https://edgeluma.com/blog/backtest-overfitting), and it makes almost any zone look like it worked.

## Order block, fair value gap or breaker block?

An order block is one candle, a fair value gap is the empty space a three-candle impulse leaves behind, and a breaker block is an order block that price later closed through. Posts often use the three names as if they meant the same thing:

| | What marks it | Candles | The zone | The trade comes when |
| --- | --- | ---: | --- | --- |
| Order block | the last opposite candle before a structure break | 1 | that candle's whole range, wick to wick | price comes back into the range |
| Fair value gap | an impulse whose neighbours' wicks don't overlap | 3 | the untouched space between candle 1 and candle 3 | price first touches the space |
| Breaker block | an order block price has closed through | 1 | the same range, read from the other side | price comes back after the close through it |

The same impulse can leave all three a few candles apart: the order block where it starts, a fair value gap inside it, and later, if price closes back through the block, a breaker. That's why they get mixed up. They're still three separate signals, and a test of one says nothing about the others.

## How we counted them

Every number below comes from EdgeLuma's backtest engine, under these conditions:

- The data is Bybit's hourly candles for BTC/USDT Perp from 9 August 2024 to 21 October 2026, 19,264 of them, with no hour missing. Four-hour and daily candles are built from the hours. ETH/USDT Perp and SOL/USDT Perp run from 15 October 2024 to 15 October 2026. We picked no window: each test covers the whole stretch.
- Blocks are marked by the rule above, with the structure's swings measured on the wicks. Each block waits up to 1,000 candles for its retest.
- The test reads a signal when its candle closes and fills it at the next candle's open. On Bitcoin, stops and targets are checked on the one-minute candles inside each hour, on all but 66 of the hours. For Ethereum and Solana the one-minute candles only start in September 2026, so before then an hour that reached both the stop and the target counts as a stop. Filled the same way, Bitcoin's hourly test goes from −0.17R to −0.18R a trade, so the rule makes the other two coins' results a little worse without changing their sign.
- Fees follow Bybit's own [fee schedule for USDT perpetuals](https://www.bybit.com/en/help-center/article/Trading-Fee-Structure) at the starting tier a new account pays, read on 7 September 2026 and again, unchanged, on 28 October 2026. Market orders pay the taker fee.
- Slippage is half the exchange's price tick to cross the spread, plus the order book's impact for the order's size, measured on live order books on 6 September 2026.
- Funding isn't counted: these runs were made before EdgeLuma charged it. A perpetual pays or receives [funding](https://www.bybit.com/en/help-center/article/Introduction-to-Funding-Rate) every few hours. The median hourly trade here lasted about four hours and the median four-hour trade about twenty, but funding isn't in the numbers.
- Results are in R, the risk of one trade, and 1R includes the round trip's costs, so a trade stopped at its stop loses exactly 1R.

The runs were made on 28 October 2026. Results are hypothetical: a backtest replays the past with hindsight and without a real counterparty, and the past doesn't promise the future. Leveraged perpetual futures can lose all the money you trade.

## What price did when it came back

Price came back into more than nine order blocks in ten, usually within a few candles, and what it did next was no better than a coin flip.

Over about twenty-six months of BTC/USDT Perp:

| Candles | Blocks marked | A month | Retested | Median wait |
| --- | ---: | ---: | ---: | ---: |
| 1 hour | 778 | 29.5 | 723 | 5 candles |
| 4 hours | 178 | 6.8 | 165 | 8 candles |
| 1 day | 45 | 1.7 | 42 | 5 candles |

Ethereum and Solana look the same on hourly candles: 668 of 738 blocks retested on ETH/USDT Perp and 784 of 828 on SOL/USDT Perp, both with a median wait of five candles.

Price coming back to an order block is what almost always happens, so on its own it tells you nothing about the block. Of the 723 hourly blocks that were retested, 206 were back inside their range on the candle right after the break:

| Retested within | Blocks, of 723 |
| --- | ---: |
| 1 candle | 206 |
| 5 candles | 377 |
| 10 candles | 457 |
| 50 candles | 599 |
| 200 candles | 685 |

So we measured the move after the retest, with no strategy attached. From the close of the retest candle, over the next twenty-four candles, did price first travel one ATR(14) the block's way, or one ATR against it? A candle that reached both counted against, the same pessimistic rule the backtests below use.

| Market | Candles | Retests counted | Its way | Against it |
| --- | --- | ---: | ---: | ---: |
| BTC/USDT Perp | 1 hour | 716 | 360 | 356 |
| BTC/USDT Perp | 4 hours | 165 | 75 | 90 |
| BTC/USDT Perp | 1 day | 41 | 22 | 19 |
| ETH/USDT Perp | 1 hour | 666 | 324 | 342 |
| SOL/USDT Perp | 1 hour | 783 | 388 | 395 |

Across the five, 1,169 retests went the block's way and 1,202 went against it. A fair coin thrown 2,371 times lands heads between about 1,138 and 1,233 times in 95 tries out of 100, and 1,169 sits well inside that range, before a single fee is counted.

*Figure: The life of an order block: it is marked when the impulse breaks structure, its range is carried forward, price comes back into it some candles later, and from that retest the move can go either way.*

## Does trading the retest work?

Not on this data. Traded with real fees and slippage, the retest lost on hourly candles on Bitcoin, Ethereum and Solana, by more than luck explains.

The rules were fixed before the first run. Go long when price retests a bullish order block and short when it retests a bearish one. Put the stop a quarter of an ATR(14) beyond the far edge of the block that fired, and the target at twice the risk. Risk 1% of the account on each trade, with no other filter.

BTC/USDT Perp, Bybit, 9 August 2024 to 21 October 2026, after fees and slippage:

| Candles | Trades | Won | Expectancy | Total | Max drawdown |
| --- | ---: | ---: | ---: | ---: | ---: |
| 1 hour | 466 | 32% | −0.17R | −78.83R | 83.48R |
| 4 hours | 107 | 37% | +0.05R | +5.23R | 17.82R |

The hourly test lost in each of the three calendar years it covers, and its longest run of losses was fourteen trades. By the rule in our guide to [how many trades a backtest needs](https://edgeluma.com/blog/how-many-trades-backtest), a loss of that size stands out from luck after about 210 trades, and this one has 466. The four-hour row is the opposite case: an edge of +0.05R, from trades whose results spread as widely as these, would need about 3,100 trades to stand out, and it has 107.

Not every retest became a trade. The test holds one position at a time, so the 190 hourly candles that retested a block while a trade was already open were passed over. Of the rest, 466 became trades and the engine skipped 33. In 27 of those the stop would have sat on the wrong side of the entry price, and in 6 a bullish and a bearish block were retested on the same candle.

Moving the target changed how often the trade won and left it losing every time, as our guide to [win rate and expectancy](https://edgeluma.com/blog/win-rate-vs-expectancy) explains:

| Target | Trades | Won | Expectancy |
| --- | ---: | ---: | ---: |
| 1R | 564 | 51% | −0.09R |
| 2R | 466 | 32% | −0.17R |
| 3R | 377 | 24% | −0.18R |

Trading only with the trend didn't help either. We took longs only while the market structure read up and shorts only while it read down. On hourly candles that cut the test to 384 trades and left the expectancy at −0.17R. On four-hour candles it turned the one positive row negative, on 82 trades.

Ethereum and Solana lost like Bitcoin's hourly test: 420 trades on ETH/USDT Perp at −0.17R, and 480 on SOL/USDT Perp at −0.13R.

Costs did most of the damage. The same signals, priced with and without fees and slippage:

| Candles | With costs | Without costs |
| --- | ---: | ---: |
| 1 hour | −0.17R | −0.04R |
| 4 hours | +0.05R | +0.12R |

Without costs, the hourly signal is indistinguishable from zero. With them, the average winning trade made 1.60R, down from 2.00R, while a losing trade still lost 1.00R, because the fees are counted inside that 1R. On hourly candles the stop sits close to the entry, so the round trip's costs take a large share of every trade. Our guide to [fees and slippage](https://edgeluma.com/blog/backtest-fees-and-slippage) shows why a tight stop makes that share grow.

All of this tests one way of trading the block: this entry, this stop and these three targets, on Bybit's data over about two years. A different stop, a confirmation candle or a filter makes a different strategy, and it needs a test of its own.

## When an order block fails

An order block fails when price closes through its range instead of turning there. Traders then call it a **breaker block** and expect the level to work from the other side: a bullish block that gave way becomes resistance when price comes back up to it.

That reading needs care in a test. If a block that holds counts for the idea, and a block that fails counts for it too as a breaker, then no chart can ever count against it. A breaker is a separate signal with its own trigger, the close through the range first and the return to it after, so test it on its own.

Some blocks are never retested at all. On hourly BTC/USDT Perp, 52 of the 778 waited a thousand candles without price coming back, and 3 were still waiting when the data ended.

## The choices that change what you test

Five choices change what an order block test measures, and two traders who answer them differently are testing different strategies:

- Which break confirms a block. Only a break of structure in the trend's direction, or a change of character against it as well? Counting both adds about half as many blocks again: 276 of the 778 hourly blocks on BTC/USDT Perp came from a change of character. Their retests did no better than the rest, 135 going the block's way and 124 against.
- Whether the zone is the whole candle or its body. The range from wick to wick is wider, so price re-enters it sooner and a stop beyond it sits further away. A body-only zone trades later, with a tighter stop. Both are used, and they make different strategies.
- How long a block can wait for its retest. A block kept alive for a thousand candles and one retired after fifty aren't the same test. Retire every block after 50 candles and you'd still keep 599 of the 723 hourly retests.
- Which block prices the stop when price comes back into two at once. It's rare, 28 times in two years on hourly BTC/USDT Perp, but the block you pick sets the distance to the stop and with it the size of the trade.
- Whether a block fires once or on every touch. On every touch, a block can signal again on the very next candle while price is still inside it.

## How EdgeLuma marks order blocks

Software can settle part of this for you. The rest is a choice you make.

### What EdgeLuma takes care of

- The rule. [EdgeLuma](https://edgeluma.com/) marks every block the same way on every chart and market. It walks back from the breaking candle to the last candle of the opposite colour, stepping over a doji. A break of structure and a change of character both confirm a block.
- The zone. It's the block candle's whole range, from its low to its high.
- The timing. EdgeLuma confirms the break on a candle's close and finds the block behind it. It reads the retest only on the candle where it happens, so later candles never change an earlier signal.
- One trade per block. Each block fires once, on its first retest, and is then used up.
- The fills. Stops and targets are checked on one-minute candles wherever they exist. When a candle still reaches both, the stop counts.

### What stays with you

- How long a block may wait for its retest: 1,000 candles, unless you set another number.
- Where the structure's swings are measured, on the wicks or on the closes.
- Where the stop sits: the near or far edge of the block, its middle or any point in between, plus a distance beyond it.
- Which block prices the stop when price comes back into two at once. The nearest one to the signal's close, unless you ask for the farthest or the second nearest.
- Everything else in the trade: the target, any filter, the market and the timeframe.

You describe the idea in the System Builder in your own words, such as "buy the first retest of a bullish order block after a break of structure, stop under the block". When your words leave one of these choices open, the EdgeLuma AI assistant asks you instead of choosing in your place. A backtest replays the past. It doesn't tell you what to trade, and nothing in a report is financial advice.

Test a strategy yourself: [start with the Free plan](https://edgeluma.com/sign-up), no card needed.

## Key takeaways

- An order block is the last candle of the opposite colour before an impulse that breaks structure: the last down candle before a break upward, the last up candle before a break downward.
- Marked by rule, the zone is that candle's whole range, wick to wick, and the block only exists once the break has closed.
- On hourly BTC/USDT Perp from August 2024 to October 2026, price came back into 723 of 778 blocks, half of them within five candles. A retest on its own proves nothing.
- After the retest, price travelled one ATR the block's way first 1,169 times and against it 1,202 times, on Bitcoin, Ethereum and Solana together: a coin flip, before any fee.
- Traded with Bybit's fees and slippage, the retest lost on hourly candles on all three coins, by more than luck explains. The only positive run had far too few trades to tell from luck.

## Frequently asked questions

### What is an order block in trading?

It's the last candle of the opposite colour before an impulse that breaks market structure: the last down candle before a break upward, the last up candle before a break downward. Its whole range, from wick to wick, is the zone traders watch for a reaction when price comes back.

### What is the difference between an order block and a fair value gap?

An order block is one candle, the one the move started from. A [fair value gap](https://edgeluma.com/blog/fair-value-gap) is a three-candle pattern: the space an impulse jumped over, where the wicks on either side of it never overlap. The same move can leave both, a few candles apart, and they're different signals.

### What is the difference between an order block and a breaker block?

A breaker block is an order block that failed. Price closed through the range instead of turning there, and traders then read the same level from the other side. A breaker needs two events in order, the close through the block and then the return to it, so it has to be tested as its own signal.

### Do order blocks work?

Not as a signal on their own, on our data. After the retest, price went one ATR the block's way first about as often as it went one ATR against it, and trading that retest with real fees and slippage lost money on hourly candles on Bitcoin, Ethereum and Solana. That's one definition, tested on one exchange's data over about two years. Other entries, stops and filters are other strategies.

### How do you identify an order block on a chart?

Find a candle that closed beyond the level the trend was protecting, then walk back to the first candle of the opposite colour before it. That candle is the block, and the zone runs from its low to its high. If you mark it before the break has closed, you're marking it with hindsight.

### Should an order block be the candle body or the whole candle?

Both are used. The whole range is wider, so price re-enters it sooner and a stop beyond it sits further away. The body alone trades later, with a tighter stop. Pick one before you test, and keep it the same across the whole backtest.
