Strategies and backtests

Break of structure: what it is and how to mark it

A break of structure is a close beyond the last swing high or low. Here is how to mark one by hand, how a change of character differs, and how to test the rule.

[

November 17, 2026

]
•
[

11

 

min to read

]

The short answer

A break of structure (BOS) happens when a candle closes beyond the most recent confirmed swing high or swing low. A close above the last swing high is a bullish BOS. A close below the last swing low is a bearish BOS. A wick that pokes through and closes back inside is not a break under this rule.

What is a break of structure?

A break of structure, or BOS, is the moment price moves past a level that marked the edge of its recent swing. Traders read it as a sign that the move is continuing. It is one of the core terms in the vocabulary known as Smart Money Concepts (SMC), which the hub article Smart Money Concepts maps in full.

The idea is old. Technical analysis has long treated an uptrend as a run of higher highs and higher lows, and a downtrend as lower highs and lower lows. Fidelity’s technical analysis guide describes trends and the support and resistance levels around them in the same spirit. A break of structure is a precise, checkable way to say that a trend’s latest swing level just gave way.

The definition needs three things pinned down before you can draw it: what counts as a swing, whether the break needs a close or only a wick, and which swing you compare against. The next sections fix each one.

How do you mark swing highs and swing lows?

A swing high is a candle whose high is higher than the highs of the N candles on each side of it. A swing low is a candle whose low is lower than the lows of the N candles on each side. N is your choice. This article uses N = 2, so a swing high is the highest high in a window of five candles with the candle in the middle. A smaller N marks more, smaller swings. A larger N marks fewer, bigger ones.

Two consequences matter for any test:

  • A swing is only confirmed N candles later. With N = 2 you do not know that candle 10 was a swing high until candle 12 has closed. Charting tools that draw a swing label on the candle itself are showing it after the fact. TradingView’s own pivot functions work this way, reporting a pivot only once the right-hand bars exist (see the Pine Script reference).
  • The trend label comes from the swings. Higher swing highs and higher swing lows read as an uptrend. Lower swing highs and lower swing lows read as a downtrend. Mixed swings read as a range.

Mark the swings on the 4-hour or daily chart first, because the noise on a 5-minute chart gives you dozens of swings an hour and few of them matter.

Does a break of structure need a candle close, or is a wick enough?

It depends on who is drawing it, and this is the most common source of arguments about whether a break happened. Two conventions are in use:

  • Body close: the candle must close beyond the swing level. A wick through the level that closes back inside is not a break.
  • Wick: any trade beyond the level counts, even if the candle closes back inside.

This article uses the body close, because it is the version a rule can check without ambiguity: the close of a finished candle is one number. A wick that goes past a level and returns is not ignored, though. Traders who study it call it a liquidity sweep, a separate idea covered in the liquidity sweep article.

The two versions of a break of structure.
Bullish break of structureBearish break of structure
Level that breaksThe most recent confirmed swing highThe most recent confirmed swing low
What countsA candle closes above that highA candle closes below that low
What does not countA wick above the high that closes back under itA wick below the low that closes back above it
Usual readingBuyers are carrying price past the last peakSellers are carrying price past the last trough

What is a change of character (CHoCH), and how is it different from a break of structure?

A change of character, written CHoCH and said “choke”, is a break of structure that goes against the trend you were tracking. In an uptrend, a break of structure is a close above the last swing high, which continues the move. A change of character is the first close below the last swing low, the first sign that the sequence of higher lows has ended. In a downtrend it is the mirror: the first close above the last swing high.

So the same mechanical event, a close beyond a swing level, gets a different name depending on direction relative to the trend. Naming varies: some writers call every break a BOS, and many call the reversal version a “market structure shift” instead. Check which one a chart or an author means before you compare notes.

Break of structure versus change of character.
Break of structure (BOS)Change of character (CHoCH)
DirectionWith the current trendAgainst the current trend
In an uptrendClose above the last swing highFirst close below the last swing low
In a downtrendClose below the last swing lowFirst close above the last swing high
What traders read into itThe trend is continuingThe trend may be changing
What it is notA forecast that price keeps goingA confirmed reversal; price can break the other way again

One caution on the right-hand column. A CHoCH is a single close. Ranges produce them constantly, and a break against the trend is often followed by a break back. Treat it as a condition to test, not a verdict.

For more, with a worked example on the S&P 500 and Ethy’s ready-made Structure Shift Reversal template, see change of character.

What does a break of structure look like on real candles?

Here is one on gold, using Hyperliquid’s xyz:GOLD perpetual on 4-hour candles (UTC), pulled from the public API on November 17, 2026. Swings use N = 2 and the body-close rule.

Seven 4-hour xyz:GOLD candles from November 5 to November 10, 2026.
Candle (UTC)OpenHighLowCloseWhat it shows
Nov 5, 00:004,065.74,144.44,061.94,139.5Swing high, 4,144.4
Nov 7, 00:004,078.74,081.94,076.94,081.5Swing high, 4,081.9 (the last one before the move)
Nov 8, 20:004,066.74,075.84,038.74,056.9Swing low, 4,038.7 (confirmed two candles later)
Nov 9, 00:004,057.04,135.54,056.64,117.1Closes above 4,081.9: bullish BOS
Nov 9, 20:004,138.34,149.04,135.64,140.5Wicks to 4,149.0 over 4,144.4, closes below it: no break
Nov 10, 12:004,075.74,081.84,035.44,044.4Wicks to 4,035.4 under 4,038.7, closes above it: no break
Nov 10, 16:004,044.14,047.43,994.94,031.4First close below 4,038.7: CHoCH after the bullish BOS
$3,950$4,000$4,050$4,100$4,150Nov 7Nov 9Nov 11Close above 4,081.9Close below 4,038.7$3,900$4,000$4,100$4,200Nov 7Nov 11
xyz:GOLD 4-hour closes, November 7 to November 11, 2026. The first mark is the close above the last swing high, the second is the first close below the last swing low.Candles from Hyperliquid’s public API, taken November 17, 2026 (xyz:GOLD, 4h, UTC; the open candle is dropped).

The November 9, 00:00 candle closed at 4,117.1, above the November 7 swing high of 4,081.9. That is a bullish BOS. Price then pushed to a wick high of 4,149.0 at 20:00, past the earlier 4,144.4 swing high, but that candle closed at 4,140.5, so under the body-close rule it did not break that level. A day later, the 12:00 candle on November 10 wicked below the 4,038.7 swing low and closed above it, again no break. Four hours later a candle closed at 4,031.4, the first close below the low: a change of character against the up-move.

This is one example on one market, picked to show the definitions, not to suggest what price does next. The up-move did not continue after the break, and a different swing setting would mark different levels.

How do traders use a break of structure, and what goes wrong?

Traders use a BOS in three common ways: as a trend filter (only look for longs while the last break was bullish), as an entry trigger (buy the close above the high), and as a place to wait for a pullback after the break. A CHoCH is used as a warning to stop buying dips, or as an early reversal trigger.

The usual mistakes:

  • Mixing time frames. A bullish break on the 15-minute chart can sit inside a bearish 4-hour trend. Say which chart you mark.
  • Marking swings with hindsight. You only know a swing after N more candles close. A test that uses the swing the moment it formed looks better than the rule can ever trade.
  • Calling every wick a break. Without a close requirement, ordinary noise counts.
  • Trading breaks inside a range. In a sideways market, breaks and changes of character alternate and a trend filter built on them keeps flipping.
  • No stop. A break tells you where the idea is wrong, usually back inside the old range. Place the stop there, not at a number you can tolerate on a whim.

Does a break of structure work? What does the research say?

Little or no peer-reviewed research tests the Smart Money Concepts vocabulary as such, so there is no study you can cite that a BOS or a CHoCH predicts anything. Course sellers and video channels claim it does; none of that counts as evidence, and this article does not use it.

What does exist is research on neighboring ideas. Lo, Mamaysky and Wang (NBER working paper 7613, published in the Journal of Finance in 2000) used a computer algorithm to recognize chart patterns in U.S. stocks from 1962 to 1996 and found that several patterns carried some information beyond the plain return distribution. That is evidence that rule-based chart reading can be tested, on those stocks and that period. It says nothing about swing breaks on gold in 2026. Fidelity’s guide itself calls technical analysis reactive and describes it as a tool for weighing odds that can be wrong.

So the honest position is: a break of structure is a precisely definable event, and whether it helps you is a question for your own test, on your market, with your swing setting and your exits.

How do you test a break of structure?

Write the rule so a machine could check it. For a long:

  1. Market and time frame: gold (xyz:GOLD), 4-hour candles.
  2. Swing: a candle whose high is above the highs of the 2 candles on each side, confirmed after the second right-hand candle closes.
  3. Entry: when a candle closes above the most recent confirmed swing high, enter at the next open.
  4. Stop: below the most recent confirmed swing low.
  5. Exit: a take profit at a multiple of the stop distance, or the first close below the last swing low.

Then run it on past data over a long window, rising, falling and flat stretches, and compare it with simply holding. Change N and the take-profit multiple and see whether the result holds up or falls apart with small changes. If it only works for one setting, that is a warning. Our backtesting guide covers the checks in order.

In Ethy you describe the rule in plain English, and Ethy rebuilds it and shows you the rules before anything runs. Its strategy conditions read swings and breaks of structure natively, so you do not have to code the swing logic yourself. Check the rules it shows against the definition above, in particular whether the break is read on the close and how many candles define a swing, then backtest up to 365 days, optimize, and run it on paper before any real money. Ethy has no built-in change of character condition. You describe a CHoCH as the first break against the current swing direction, and check the rules Ethy shows to see that they say that. See AI backtesting for how the backtester works.

Summary

  • A break of structure is a candle close beyond the most recent confirmed swing high (bullish) or swing low (bearish).
  • A swing needs N candles on each side to be confirmed, so you only know it N candles late; tests must respect that.
  • Close versus wick decides whether a break happened; this article uses the body close.
  • A change of character is the first close against the current trend’s swing direction, the same mechanical event with a different reading.
  • Little or no peer-reviewed research tests Smart Money Concepts as such; test the rule on your own market.
  • In Ethy, describe the rule in plain English, check the rules it shows, backtest up to 365 days, then run it on paper.

Questions people ask

What is a break of structure in trading?

A break of structure is a candle close beyond the most recent confirmed swing high or swing low. A close above the swing high is bullish, and a close below the swing low is bearish. Under the body-close rule used here, a wick that returns inside the level does not count.

What is the difference between BOS and CHoCH?

Both are a close beyond a swing level. A BOS is in the direction of the current trend and signals continuation. A CHoCH is the first break against it, such as the first close below the last swing low in an uptrend, and signals a possible change. Some writers use different names for the same events.

Is a break of structure the same as a breakout?

They overlap. A breakout usually means price leaving a range or a level such as a resistance line. A break of structure refers specifically to a close beyond the latest swing high or low, which can happen inside a bigger range. A breakout trader and a BOS trader can mark the same candle.

Does Ethy have a change of character condition?

No. Ethy’s strategy conditions read swings and breaks of structure, but it has no built-in change of character condition. You describe a CHoCH as the first break against the current swing direction, and then check that the rules Ethy shows say exactly that before you backtest.

Which time frame is best for marking structure?

There is no proven best one. Higher time frames such as 4-hour and daily give fewer, cleaner swings. Lower ones give many breaks that are mostly noise. Pick one, mark it consistently, and test the same rule on more than one to see whether the result depends on it.

Sources

  1. Fidelity Learning Center: What is technical analysis?fidelity.com
  2. Lo, Mamaysky and Wang: Foundations of Technical Analysis (NBER working paper 7613)nber.org
  3. TradingView Pine Script v6 reference (pivot functions)tradingview.com
  4. TradingView Pine Script docs: strategies and backtestingtradingview.com
  5. TradingView Support: what are strategies, backtesting and forward testing?tradingview.com
  6. Hyperliquid API docs: info endpoint (candleSnapshot)hyperliquid.gitbook.io

Trading involves risk, including the loss of your money. Ethy AI is a research and trading tool and does not give investment advice or recommendations. Backtests are simulations on historical data and do not predict future results.

Ethy blog

Read more

The $ETHY ecosystem

Stop watching charts.
Start living.

Deploy your AI trading agent in one click.