Swing highs and lows

BEGINNER·14 min read·Reviewed 17 October 2026·Market Structure & Smart Money

What you will learn

  • An exact rule for a swing high and a swing low, and how to check it by hand on real candles.
  • Why every swing is only known several candles after it happens, and what that means for using it.
  • How much the left and right settings change what counts as a swing, measured on real data.
  • What the labels HH, HL, LH and LL mean, and how often each occurs.

The idea in plain words

Market structure is the study of the shape of price: the sequence of peaks and troughs it leaves behind. A swing high is a peak, a candle whose high stands above the candles around it. A swing low is a trough, a candle whose low sits below those around it. Everything else in this track (breaks of structure, liquidity, order blocks, premium and discount) is built from these two things, so it pays to define them exactly.

Think of walking over hills. Each hilltop is a swing high and each valley floor a swing low. But you cannot know you were on a hilltop until you have started down the other side. That is the central difficulty with swings: a swing is a fact about the past, confirmed only after price has moved away from it.

The second difficulty is that “peak” depends on how closely you look. A tiny ripple is a peak on a 5-minute chart and invisible on a daily chart. So any rule for swings has a setting for how much of the surrounding price a candle must beat. We use a rule with a single, explicit setting, and we measure what changing it does.

How it works

The rule

The standard idea is a peak above its neighbouring candles (or a trough below them). How many neighbouring candles to use is not fixed: it varies by trader. In our engine a swing uses 3 candles each side. That is a setting, not a rule of nature: 2 gives many more swings and 8 far fewer (table below). Our analysis engine finds swings with two numbers, left and right, usually both 3:
– A swing high at candle i is a candle whose high is strictly greater than every one of the highs of the 3 candles before it, and greater than or equal to every one of the highs of the 3 candles after it.
– A swing low at candle i is the mirror image: its low is strictly lower than the lows of the 3 candles before and lower than or equal to the lows of the 3 candles after.

The difference between “strictly” and “or equal” settles ties: if two highs are exactly equal, the first one wins, because the second is not strictly greater than the first. The rule uses highs and lows, not closes, so a wick can make a swing.

The confirmation delay

A candle can only be called a swing high once the next 3 candles have closed and none has beaten it. So every swing is confirmed 3 candles late. On a 4-hour chart that is 12 hours, and on a daily chart 3 days. Until then, a candle that looks like a peak may be overtaken by the next one. This has two consequences:
– If you act on a swing the moment you see it, you are acting on information that was not available at the time. A backtest that ignores the delay is looking into the future.
– A swing level that matters to you may not exist yet. The most recent peak is not a swing until it is confirmed.

How many swings, and does the setting matter?

It matters a great deal. We counted the swings on the last 1,500 four-hour candles of EUR/USD (to 15 October 2026) with four settings:

How many swings, and does the setting matter?
Left = right Swings found One swing every Confirmation delay
2 417 (209 highs, 208 lows) 3.6 candles 2 candles (8 hours)
3 303 (159 highs, 144 lows) 5.0 candles 3 candles (12 hours)
5 202 (104 highs, 98 lows) 7.4 candles 5 candles (20 hours)
8 116 (60 highs, 56 lows) 12.9 candles 8 candles (32 hours)

Tightening the rule from 2 to 8 cut the number of swings from 417 to 116, and delayed each one by four times as long. A trader using a setting of 2 and one using 8 are looking at different markets. Neither is right: the setting is a choice about how much noise to ignore, and a higher setting finds fewer, more significant swings that arrive later.

The chart below shows the effect on one stretch of the January 2026 rally (20 January to 2 February). The same candles carry 18 swings with a setting of 2, 14 with a setting of 3, 7 with a setting of 5 and 4 with a setting of 8, and each swing is confirmed later as the setting grows (8 hours at a setting of 2, 32 hours at 8). The counts in the table above come from the last 1,500 candles; the counts in this window are for these candles only.

EUR/USD 4-hour candles in four panels for left and right settings 2, 3, 5 and 8, swing highs in red and swing lows in green
What to notice: That the same candles carry fewer swings as the setting grows, and that a bigger setting drops the small swings but keeps the major ones.

How big is a swing?

The standard concept has no size rule: a swing is a peak or trough above or below its neighbouring candles, and the number of neighbours used varies by trader. The sizes below are our own measurements with our 3/3 setting, not a standard. We measured the distance between consecutive alternating swings (a swing high and the next swing low, or the reverse) in ATRs, using the 3/3 rule, on 4-hour and daily candles of EUR/USD, GBP/USD, USD/JPY, gold and Bitcoin:
– 4-hour candles (1,475 swings): the median swing-to-swing distance was 2.75 ATR, with the middle 80% between 1.58 and 5.32 ATR.
– Daily candles (1,425 swings): the median was 2.65 ATR, with the middle 80% between 1.58 and 5.38 ATR.

So with a 3/3 rule, a typical leg is about two and a half to three ATRs long, and one leg in ten is more than five. These sizes are a useful yardstick for the stop and target distances in the strategy lessons (our test rules there use a stop of 1.5 ATR, a choice of ours and not a standard): a swing is not a big move.

The labels: HH, HL, LH, LL

Each swing is compared with the previous swing of the same type and labelled:
– HH (higher high): a swing high above the previous swing high.
– LH (lower high): a swing high below the previous swing high.
– HL (higher low): a swing low above the previous swing low.
– LL (lower low): a swing low below the previous swing low.

An up-trend is a run of HH and HL, and a down-trend is a run of LH and LL (the trends lesson). Overall, the labels are close to evenly spread: on 4-hour candles HH 26%, LH 25%, HL 26%, LL 23%, and on daily candles HH 27%, LH 23%, HL 27%, LL 22%. There is no built-in bias toward higher or lower, and individual labels carry little information: it is the run of them that makes a trend.

Concept sources

The swing high and swing low are standard chart-reading ideas. Third-party explanations: IG on swing highs (https://www.ig.com/en/trading-strategies/swing-highs–what-they-are-and-how-they-work-241108), Fidelity on support and resistance (https://www.fidelity.com/learning-center/trading-investing/technical-analysis/support-and-resistance) and StockCharts on support and resistance (https://chartschool.stockcharts.com/table-of-contents/chart-analysis/support-and-resistance). ICT-style terms are community conventions, not a formal standard; these pages are third-party explanations. The academic sources listed for this lesson support the tests, not the definitions.

What the research says

There is no academic standard definition of a swing, and we did not find a rigorous study of swing-based market structure as such. What the literature does support is the underlying idea that past turning points can matter. Carol Osler’s study of support and resistance levels (Federal Reserve Bank of New York, 2000) found that levels published by six currency firms predicted short-term reversals somewhat better than arbitrary levels (a bounce frequency of 60.8% against 56.2%), and her later work and that of Kavajecz and Odders-White (Review of Financial Studies, 2004) point to orders clustering at levels as a mechanism. These studies were about published levels and order books, not about a particular swing rule. The broader technical-analysis literature, surveyed by Park and Irwin (Journal of Economic Surveys, 2007), is mixed: 56 of 95 modern studies positive, 20 negative and 19 mixed.

Worked examples

Both examples use real EUR/USD 4-hour candles from the demo feed, in broker server time.

Example 1: check a swing high and a swing low by hand

A swing high. The candidate is the candle of Friday 23 January 2026 at 00:00, with a high of 1.17593. The highs of the three candles before it, and the three after:

Example 1: check a swing high and a swing low by hand
Candle High
Thu 22 Jan 12:00 1.17185
Thu 22 Jan 16:00 1.17506
Thu 22 Jan 20:00 1.17548
Fri 23 Jan 00:00 (candidate) 1.17593
Fri 23 Jan 04:00 1.17539
Fri 23 Jan 08:00 1.17528
Fri 23 Jan 12:00 1.17473
  1. The highest of the three before is 1.17548. The candidate, 1.17593, is strictly greater: 4.5 pips above it. ✓
  2. The highest of the three after is 1.17539. The candidate is greater than or equal to it: 5.4 pips above it. ✓
  3. So 1.17593 is a swing high. It was confirmed when the 12:00 candle on 23 January had closed (at 16:00), 12 hours after the swing candle itself had closed. Times in this lesson are candle open times.

A swing low. The candidate is the candle of Thursday 22 January at 00:00, with a low of 1.16701. The lows of the three before are 1.17014, 1.16947 and 1.16762, and of the three after 1.16832, 1.16840 and 1.16867. The candidate is lower than the lowest before (1.16762, by 6.1 pips) and lower than or equal to the lowest after (1.16832, by 13.1 pips), so it is a swing low, confirmed at the close of the 12:00 candle on the same day.

EUR/USD 4-hour candles with the swing high at 1.17593 and the three candles on each side that confirm it
What to notice: That the three candles on each side all have lower highs than the middle one.

EUR/USD 4-hour candles with the swing low at 1.16701 and the three candles on each side that confirm it
What to notice: That the three candles on each side all have higher lows than the middle one: the mirror image of the swing high.

Example 2: the swings of the January rally, with labels

These are the swings the engine found around the January 2026 rally in the trends lesson, with their labels and the time each was confirmed:

Example 2: the swings of the January rally, with labels
Swing Time Price Label Confirmed
High 20 Jan 12:00 1.17686 HH 21 Jan 00:00
High 21 Jan 12:00 1.17429 LH 22 Jan 00:00
Low 22 Jan 00:00 1.16701 HL 22 Jan 12:00
High 23 Jan 00:00 1.17593 HH 23 Jan 12:00
Low 23 Jan 08:00 1.17283 HL 23 Jan 20:00
High 26 Jan 00:00 1.18975 HH 26 Jan 12:00
Low 26 Jan 12:00 1.18349 HL 27 Jan 00:00
High 26 Jan 16:00 1.19069 HH 27 Jan 04:00
Low 27 Jan 08:00 1.18504 HL 27 Jan 20:00
High 27 Jan 20:00 1.20830 HH 28 Jan 08:00
Low 28 Jan 20:00 1.18956 HL 29 Jan 08:00
  1. From 22 January the labels read HL, HH, HL, HH, HL, HH, HL, HH, HL: an unbroken run of higher lows and higher highs, which is what an up-trend looks like in swings.
  2. Before that, the high on 21 January (1.17429) was a lower high compared with 20 January’s 1.17686. The trend lesson listed the highs from 21 January onward, and 1.17429 was below the swing before it. The up-trend was only established once price took out that high.
  3. Look at the confirmation column. The swing high of 27 January 20:00 (1.20830), the top of the whole rally, was not known to be a swing until 28 January 08:00, 12 hours later, once three further candles had failed to exceed it. No rule can mark the top at the moment it happens.
  4. The last low in the table (28 January 20:00, 1.18956) is an HL but was not confirmed until 29 January 08:00.

EUR/USD 4-hour candles, 19 to 30 January 2026, with each swing labelled HH, HL or LH and when the last three were confirmed
What to notice: That confirmation arrives 12 hours after the swing.

How to apply it step by step

  1. Choose the left/right setting (3 is a common starting point) and write it in your plan. Do not change it after you see results.
  2. On your chart, mark swing highs and lows by the rule and check the doubtful ones by comparing the three candles each side.
  3. Wait for confirmation: do not treat the latest peak or trough as a swing until the right-hand candles have closed.
  4. Label each swing HH, LH, HL or LL against the previous swing of the same type.
  5. Read the last four swings: HH, HL, HH, HL is an up-trend, LH, LL, LH, LL a down-trend, a mix a range or a transition.
  6. Measure the legs in ATR and compare them with the measured spread above (with our 3/3 rule, the middle 80% of legs ran from about 1.6 to 5.4 ATR on our data). Those are our measurements, not a standard for “small” or “large”.
  7. Keep the same setting across the instruments you compare, and note that a higher setting gives fewer, later swings.

Common mistakes

  • Using an unconfirmed swing. The current peak is not a swing until the right-hand candles close. Acting on it uses information from the future in a backtest.
  • Believing there is one correct swing setting. Going from 2 to 8 changed the swing count from 417 to 116. The setting is a choice.
  • Marking by eye. Two people draw different swings from one chart. A written rule gives the same answer every time.
  • Using closes instead of highs and lows without noticing. Our rule uses highs and lows, so wicks count. A rule based on closes finds different swings.
  • Reading one label as a signal. A single HH or LH is common (about 25% each). It is the run that matters.
  • Ignoring leg size. In our data a leg of 1 ATR was smaller than about nine in ten of the legs (the 10th percentile was about 1.6 ATR), so it is small against that spread. That is our measurement, not a standard.

When it works and when it does not

Swing highs and lows work as an exact, checkable description of the shape of price, and as the raw material for levels, trend labels and everything that follows. They work best when the rule is written down and the confirmation delay is respected.

They do not predict anything on their own. The labels are evenly spread, which means the next swing is about as likely to be higher as lower. The evidence that levels formed by past turning points matter is modest (a 4.6-point improvement in bounce frequency in Osler’s data), and the swing rule itself has not been tested as a trading signal that we could find. The numbers above come from one feed and a limited window, and a different setting gives a different market picture.

Practice exercise

Highs of seven consecutive candles: 1.3010, 1.3025, 1.3040, 1.3055, 1.3045, 1.3050, 1.3030. Lows of the same candles: 1.2980, 1.2990, 1.3005, 1.3020, 1.3015, 1.3010, 1.2995.

  1. Is the fourth candle a swing high by the 3/3 rule? Check both sides.
  2. Is the fourth candle’s low (1.3020) a swing low?
  3. Four swing highs in order are 1.3000, 1.3050, 1.3040, 1.3070. Label each after the first.
  4. When is the swing in question 1 confirmed?

Answers:
1. The highest of the three before is 1.3040, and 1.3055 is strictly greater ✓. The highest of the three after is 1.3050, and 1.3055 is greater than or equal to it ✓. So it is a swing high.
2. No. A swing low must be lower than the lows of the three candles on each side, and 1.3020 is the highest low of the seven, so it is not.
3. 1.3050 is HH (above 1.3000), 1.3040 is LH (below 1.3050), 1.3070 is HH (above 1.3040).
4. After the third candle following it has closed (the seventh candle in the list), three candles after the swing itself.

Key terms

Swing high / swing low – a peak above (or a trough below) its neighbouring candles; the number of candles used varies by trader. In our engine, a swing uses 3 candles each side (a setting; 2 gives many more swings, 8 far fewer).
Left and right – the number of candles compared on each side (3 in our engine, a setting).
Confirmation – the moment the right-hand candles have closed, after which the swing is known.
HH / LH – a swing high above / below the previous swing high.
HL / LL – a swing low above / below the previous swing low.
Leg – the move from one swing to the next.
Market structure – the sequence of swings that price leaves.
Repainting – an indicator that changes its past values as new candles arrive.

Frequently asked questions

What is a swing high?

A candle whose high is above the highs of the candles around it. In our rule, strictly above the three before and at least equal to the three after. It is only known three candles later.

How do you find swing highs and lows?

Compare each candle’s high (or low) with the three candles on each side. If it is the extreme on both sides, it is a swing. The same rule applied by two people gives the same swings.

Why is a swing only confirmed later?

Because you need the following candles to show that price did not go higher (or lower). With a setting of 3, that takes three candles, 12 hours on a 4-hour chart.

What does higher high and higher low mean?

A higher high is a swing high above the previous swing high, and a higher low is a swing low above the previous swing low. A run of both is what an up-trend looks like in swings.

Which swing setting is best?

None has been shown to be best. In our data a setting of 2 found 417 swings and a setting of 8 found 116 on the same candles, so the setting changes what you see.

How big is a typical swing?

About 2.7 ATR from one swing to the next with a 3/3 rule on 4-hour and daily candles, with the middle 80% between about 1.6 and 5.4 ATR.

Key takeaways

  • A swing high is a peak above its neighbouring candles, and the number of candles used varies by trader. In our engine it is strictly above the three candles before it and at least equal to the three after (a setting; 2 gives many more swings, 8 far fewer). A swing low is the mirror image.
  • Every swing is confirmed three candles late: 12 hours on a 4-hour chart.
  • The setting changes the picture: 2 gave 417 swings, 8 gave 116 on the same 1,500 candles.
  • HH, LH, HL and LL each occurred about a quarter of the time, so it is the run of labels that matters.
  • A typical leg is about 2.7 ATR, and no swing rule predicts the next one.

Quick quiz

Q1. Highs of three candles before: 1.2010, 1.2020, 1.2015. Candidate 1.2030. Highs after: 1.2025, 1.2035, 1.2020. Is the candidate a swing high?
A: No. One of the three after (1.2035) is higher than 1.2030.

Q2. What does confirmation mean?
A: The candles to the right have closed without beating the swing, so it is known to be a swing.

Q3. Why can’t you mark the top of a rally at the moment it happens?
A: The swing is only known after the next three candles have closed lower, so the rule always works in hindsight by three candles.

Q4. A swing high of 1.1050 follows one of 1.1030, then a swing low of 1.1000 follows one of 1.1010. Label the high and the low.
A: The high is HH (1.1050 above 1.1030). The low is LL (1.1000 below 1.1010).

Q5. Why does a bigger left/right setting find fewer swings?
A: A candle must beat more candles on each side to count, so fewer candles qualify.

Q6. Why do HH, HL, LH and LL each occur about a quarter of the time?
A: Up and down moves are balanced overall, so no single label dominates. A trend is a run of the same kind of labels.

Going deeper

Educational content only, not financial advice. Trading involves substantial risk of loss.