What is market structure in trading?
A swing high is a peak with lower highs on both sides; a swing low is a trough with higher lows on both sides. Structure compares each new swing with the last one of the same kind. In the drawing at the top of this page, each pullback holds above the last low (HL) and each push clears the last high (HH), until a rally stalls at a lower high (LH) and price breaks the last HL.
The idea is old. Reading a trend from its peaks and troughs goes back to Dow Theory, which grew out of Charles Dow’s Wall Street Journal editorials (he died in 1902). The same swing points anchor trend lines, Fibonacci retracements and stop placement, so marking them well pays off everywhere.
- Higher high (HH) and higher low (HL)
- A peak above the previous peak, and a trough above the previous trough. Together they define an uptrend.
- Lower high (LH) and lower low (LL)
- A peak below the previous peak, and a trough below the previous trough. Together they define a downtrend.
- Range
- Swings at roughly the same prices, with no new high or low that holds. Trends often pause in ranges, and structure signals inside them are mostly noise.
How to define a swing consistently: closes vs wicks
Structure only works if you mark swings the same way every time; otherwise you will see the trend you want to see. Write down the rules below and keep them.
Every swing is confirmed late. With a five-bar rule, a swing high exists only after two more candles print lower highs; TradingView’s help page for its Williams Fractal indicator warns of a lag of about two candles. Labels drawn in hindsight always look cleaner than what you could see live.
Hypothetical, 5-minute chart: a candle tops at $50.10 and the next two candles make lower highs, so $50.10 is a confirmed swing high, ten minutes after it printed. Later a candle wicks to $50.18 but closes at $50.04: with a close rule, nothing broke. The next candle closes at $50.30, and that is the break.
- What counts as a swing: a common rule is the five-bar pattern from Bill Williams’ book Trading Chaos, a high with two lower highs on each side, or a low with two higher lows on each side. TradingView’s built-in Williams Fractal indicator marks these with arrows.
- Where the level sits: most traders mark it at the wick, the true extreme, where stops cluster.
- What counts as a break: a candle close beyond the level on your chart, not a wick. Wicks poke through swings all day; a close shows where price was accepted.
- Which swings matter: ignore tiny ones, for example any swing whose move away is smaller than about one average true range.
Break of structure vs change of character (BOS vs CHoCH)
A break of structure (BOS) is a close beyond the last swing in the direction of the trend: above the last high in an uptrend, below the last low in a downtrend. It says the trend is still working. A change of character (CHoCH) is the first close beyond a swing against the trend: below the last higher low in an uptrend, above the last lower high in a downtrend. It warns that the trend may be ending; it does not prove it.
Both are trader jargon, popular in smart money concepts (SMC) circles, not an official standard. Teachers disagree on details, such as whether a wick counts or which swing is “the last” one, and some say market structure shift (MSS) instead. The classic version is plain Dow: an uptrend ends with a lower high and a lower low. See smart money concepts for the rest of that vocabulary.
Hypothetical: an uptrend has a higher low at $78.40 and a swing high at $79.60. A candle closes at $79.85: BOS. Price runs to $80.90, pulls back to $79.70 (a new HL), rallies only to $80.50 (a lower high), then a candle closes at $79.55, below the $79.70 higher low: CHoCH. The drawing below shows both cases side by side.
After a CHoCH, price may turn down, go sideways or make a new high anyway. Read it as “stop buying”, not “start selling”: a short needs its own setup, such as a lower high that holds.
Market structure on higher timeframes
Structure is nested. A 5-minute downtrend can be one pullback inside a 1-hour uptrend, and a 5-minute CHoCH often barely shows on the 1-hour chart. The bigger timeframe decides which breaks you act on; the smaller one only times the entry.
A practical pairing, as in the multi-timeframe analysis guide, is frames about 3 to 6 times apart: a 5-minute entry chart with 15-minute and 1-hour context, as in the drawing below. Label the 1-hour structure first, then trade only the 5-minute breaks that agree with it.
Hypothetical: the 1-hour chart has a higher low at $48.60 and keeps making higher highs. On the 5-minute chart, a CHoCH down at $49.90 is just the 1-hour pullback starting; while $48.60 holds, look for the next 5-minute BOS back up, not a short. If a 1-hour candle closes below $48.60, the bigger structure has changed character too, and 5-minute longs lose their backing.
How to trade market structure: the pullback after a BOS
The cleaner structure trade is usually not the break itself but the first pullback after it. Buying the breakout candle means a distant stop; waiting lets price come back to a level, where the risk is small and the structure still says up. See the pullback trading strategy for what a healthy pullback looks like.
Hypothetical, 5-minute chart, 1-hour trend up. The last higher low is $49.20 and the swing high is $50.10. A candle closes at $50.30: BOS. Price runs to $51.15, then pulls back in small, orderly candles to $50.15, just above the old $50.10 high, which now acts as support. A candle closes back up at $50.40, and you buy there.
Stop: beyond the last higher low. The $50.15 pullback low is becoming the newest HL, so the stop goes just under it and under the old high, at $50.05: $0.35 of risk. Target: just under the $51.15 swing high, at $51.10, for $0.70 of reward, or 2R. A stop under the older $49.20 HL would risk $1.30 for the same $0.70, about 0.5R; if that were the only logical stop, you would skip the trade.
Size: risking 0.5% of a $20,000 account ($100) allows 285 shares ($100 ÷ $0.35). A stop-out costs about $100 plus slippage; the target pays about $200. The position size calculator does the math, and the risk-reward ratio guide explains why the 2R matters.
- Higher-timeframe structure up (down, for shorts).
- A BOS on your entry chart, confirmed by a candle close.
- A pullback into a level: the broken high, a support zone or VWAP.
- A candle that closes back in the trend’s direction: your trigger.
- Stop just beyond the newest higher low, target before the next level, size from the stop.
When market structure fails: false breaks and failed BOS
Structure fails often, and a failure looks exactly like a setup at first. Same hypothetical trade, another day: you buy at $50.40, then the whole market sells off, price trades through $50.05 and your stop fills there, or a few cents lower in a fast market. Loss: about $100 plus slippage, or 1R, planned and survivable. If price then closes below $49.20, the 5-minute chart prints a CHoCH and the BOS that started it all was a false break.
Not every poke beyond a swing is a break. In the drawing below, a wick sweeps under equal lows and price closes back above them: on a closing basis, no lower low was made. Then a sharp move breaks the last lower high, labeled BOS. That label fits if you read the move as the end of a pullback inside a larger uptrend; measured against the pullback alone, many SMC teachers would call the same candle a CHoCH. Same candle, two names, so write your definitions down.
- The wick break: price trades beyond a swing and closes back inside. Often a stop run.
- The failed BOS: a close beyond the swing, then the next candle or two close back inside. Treat it as a false breakout; the breakout trading strategy guide covers how to filter them.
- The late entry: buying far above the broken level. In the example, buying at $50.90 with the same $50.05 stop risks $0.85 to make $0.20.
- The news candle: a scheduled release can break any swing in one bar, without warning.
Choppy markets: when structure flips back and forth
In chop, the rules above produce signals that cancel out: a close above a swing (BOS), then below the last low (CHoCH), then above again, inside a narrow band of overlapping candles.
Hypothetical: a stock swings between $50.10 and $50.60 for an hour. A close at $50.65 looks like a BOS up; twenty minutes later a close at $50.05 looks like a CHoCH down; then price closes above $50.60 again. Trading each signal costs a stop each time. Chop is common in the first minutes after the 9:30 ET open, in the midday lull and around news.
The fix is a rule, not a better read: two opposite breaks within a short span mean a range. Stop trading structure, mark the range high and low, and either trade only its edges (see the range trading strategy) or wait for a close outside it and a pullback that holds.
UpTickFlow, our invite-only TradingView indicator, is built around the same filter, so weigh this accordingly. It does not label BOS or CHoCH. It waits for a candle to close at a level, draws an entry, a stop and a target before the trade, scores the setup from 0 to 100, reads higher timeframes automatically and stays quiet in chop: a second check, not a scanner.
How to mark market structure on TradingView
Marking structure by hand is slower than a script, but it trains your eye. A short routine:
- Open the higher timeframe, say the 1-hour, and draw horizontal lines at the last swing high and swing low. Label the trend: up, down or range.
- Optionally add the built-in Williams Fractal indicator, which marks five-bar swings with arrows. Remember the lag: an arrow appears only after the candles to its right have closed.
- Drop to your entry timeframe and mark its last HL and swing high (or LH and swing low). These are the levels a BOS or a CHoCH would break.
- Be careful with community scripts that label BOS and CHoCH: they depend on a swing-length setting and confirm swings late. See TradingView repainting.