Skip to content

Swing highs and swing lows

Reading the chart

Swing highs and swing lows

Almost everything drawn on a price chart comes from the same raw material: the points at which price stopped moving one way and started moving the other. Those points are swing highs and swing lows, and they are found by comparison rather than by judgement, by measuring one bar's extreme against the extremes of the bars either side of it.

7 min read, Reviewed

What you will be able to do

  • Define a swing high and a swing low mechanically
  • Identify swings on a chart without ambiguity
  • Explain why swing identification depends on the number of bars used to confirm it
  • Explain how swings form the input to trend lines and to patterns

A swing high is a comparison, not a judgement 

On any market and any timeframe, a swing high is a bar whose high sits above the high of a stated number of bars on each side of it. A swing low is a bar whose low sits below the low of a stated number of bars on each side. Nothing else enters the definition. The size of the bar does not matter, nor its colour, nor whether it closed above or below its open, and no reading of what the market was doing at the time is involved. One bar is compared with its neighbours, and either the comparison holds or it does not.

That flatness is worth insisting on, because the vocabulary around swings is loose almost everywhere it is used. Commentary speaks of a top, a peak, a reaction high or a pivot and means roughly this object each time without stating the test it passed. The mechanical version has a test, and on the same data it returns the same answer whether a person, a script or a charting tool applies it.

Key term

Swing high
A swing high is a peak on a chart, a bar whose high stands above the highs of a stated number of bars on either side of it, which means it can only be identified once those later bars exist.

Key term

Swing low
A swing low is a trough on a chart, a bar whose low sits beneath the lows of a stated number of bars on both sides of it, so it is confirmed only after the bars to its right have printed.

The number of bars is part of the definition 

The phrase a stated number of bars is carrying the weight in both definitions above, because nothing in the market fixes that number. It is a setting, chosen by whoever is looking. A swing found with one bar of confirmation on each side is one object, a swing found with three bars on each side is another, and a single bar can satisfy the first test and fail the second on exactly the same chart.

Key term

Price action
Price action is the practice of reading a market from the movement of price itself, working from bars, candles and levels rather than from indicators calculated out of them.

The trade-off is easy to state and impossible to escape. A small confirmation number finds many swings, including small ones nested inside a larger move, and marks each soon after it prints. A large number finds few swings, keeps only those that stood out from a wide neighbourhood, and cannot mark any of them until the required bars have closed on the far side. These are not a better and a worse version of one measurement. They are measurements of different things.

Worked example. Illustrative figures, not YAL prices or terms.

The same eight bars under two confirmation settings

High of bar one
100.20
High of bar two
100.60
High of bar three
100.50
High of bar four
100.90
High of bar five
100.70
High of bar six
100.30
High of bar seven
100.50
High of bar eight
100.40
Swing highs with 1 bar of confirmation each side
bars 2, 4 and 7
Swing highs with 3 bars of confirmation each side
bar 4 only
Earliest point bar 4 can be marked, 3 bar confirmation
at the close of bar 7

The prices are round illustrative figures chosen to make the comparison legible, and only highs are listed because only highs enter the swing high test. Bars 2 and 7 fail the wider test because three bars do not exist on both of their sides within this sequence, which is itself part of the point: a swing near either end of a window is a function of the window. No profit or loss is calculated here, and no cost is involved.

Two things fall out of that table. The count of swings changed without a single price changing, which is why a statement about swings that omits its confirmation setting is incomplete rather than merely imprecise. And the wider setting introduced a delay: the tallest bar in the sequence could not be labelled until three further bars had closed. Swings are identified in arrears, always.

Because confirmation looks forward, the newest bars on any chart cannot carry a confirmed swing. The right hand edge is permanently incomplete in this specific way, and a swing that appears there under a small setting can be erased by the bar that follows it. Any description of the present built on swing points describes a picture that is still being finished.

Cases where the comparison is not clean 

Three situations make the mechanical test awkward, and each of them has more than one accepted handling, which means charting tools can disagree about the same bar.

  • Equal highs. When two bars share a high to the last decimal, neither is strictly above the other, so a strict test finds no swing at all. Some tools take the earlier bar, some the later one, and some relax the test to higher than or equal to, which reports both. The difference between the three answers is a convention, not a fact about the market.
  • Inside bars. A bar whose entire range sits within the previous bar's range has neither a higher high nor a lower low. Under a strict test it can never be a swing, and a run of them can also stop the bars around it from qualifying, so a quiet stretch of chart can contain no swings whatsoever.
  • Gaps and session breaks. Where an instrument stops trading and reopens away from its previous close, the bars either side of the break belong to different sessions. A swing found across the break stays arithmetically valid while comparing two separate periods of trading rather than one continuous move.

There is a further split over which price a swing is measured on. The common version compares highs and lows, the extremes actually reached during a bar. Another tradition compares closing prices only, on the reasoning that a close is the one price at which trading in that period came to rest, while a high can represent a single transaction. Both are in wide use, and they mark different bars on identical data.

Timeframe changes the answer as well 

A swing is defined on the bars of the chart it was found on, and bars are a product of the timeframe. A turning point that is unmistakable on a five minute chart may sit entirely inside a single hourly bar, in which case the hourly chart records no swing there at all. A swing on a daily chart, conversely, is assembled from bars containing dozens of smaller swings the daily chart never carries. Neither chart is the more accurate view of one event, because the two are not measuring the same event.

So a swing carries two labels before the word means anything specific: the timeframe it was found on, and the confirmation setting used to find it. Stated without both, it names no particular object on any particular chart.

What the rest of the module is built on 

Swings come this early because nearly every later construction takes them as its input rather than reading prices directly. Describing an uptrend as a sequence of higher highs and higher lows, or a downtrend as lower highs and lower lows, is a statement about swing points and nothing else, so changing the confirmation setting can change the sequence itself. A trend line needs two swing points of the same kind before it can be drawn and a third before it can be tested. Levels are conventionally located where earlier swings clustered. Chart patterns are described almost entirely as arrangements of swings, a double top being two swing highs at a comparable level with a swing low between them.

That dependency runs one way only, and it is easy to lose sight of once the drawing starts. Anything built on swings inherits every ambiguity the swing definition carried into it, the retrospective delay and the sensitivity to the setting included. A trend line drawn through swings found with one bar of confirmation is a different line from the one drawn through swings found with three, on the same instrument over the same period, and no version of the drawing is free of that choice.

Where practitioners disagree 

The disagreement is not about what a swing is for. It is about what counts as one, and it has produced three families of definition that sit side by side in common use. The bar comparison described in this lesson, usually implemented as a fractal or pivot indicator, is the most literal. A second family ignores bar counts and uses a minimum move instead, registering a swing only once price has retraced by a stated percentage or a stated multiple of recent range, which is how a zigzag style tool is built. A third works from closing prices alone.

Key term

Pivot point
A pivot point is a reference level calculated from the previous period's high, low and close, published with a ladder of support and resistance levels derived from the same three numbers.

Each family has a standing complaint about the others. Bar counting is called arbitrary, because a count of neighbouring bars has no relationship to how far price travelled. Move based definitions are called equally arbitrary in their threshold and slower still, since nothing registers until the reversal has already run. Closing price definitions are said to discard prices at which the market genuinely traded. None of these objections is likely to be settled, because the three are answering slightly different questions. What follows is narrow and firm: the swings visible on a chart are a product of the tool that found them, and two people looking at one instrument can be looking at different swings without either having made an error.

In summary 

  • A swing high is a bar whose high exceeds the highs of a stated number of bars on each side, and a swing low is the same comparison run on lows. The test is mechanical and contains no interpretation.
  • That stated number is a setting, not a property of the market. A smaller setting finds more swings and finds them sooner, a larger setting finds fewer and later, and one chart yields different swings under each.
  • Confirmation looks forward, so a swing is only ever identified in arrears and the newest bars on a chart cannot carry a confirmed one. A swing near the right hand edge can be erased by the next bar.
  • Trend lines, levels and chart patterns are all described in terms of swing points, so each of them inherits the timeframe and the confirmation setting that produced the swings underneath it.

Get started

Open your account in four steps.

A clear path from sign-up to your first trade, in four steps.

No depositNo documents

  1. 01/ 04step 1 of 4

    Register

    A few details to get started.

    No deposit to open

  2. 02/ 04step 2 of 4

    Verify

    Confirm your identity, securely.

    ID and proof of address

  3. 03/ 04step 3 of 4

    Fund

    Add money by bank transfer or card.

    From $0

  4. 04/ 04step 4 of 4

    Trade

    Go live on the platform you already know.

    MetaTrader 5

Cookies on this site

Some cookies are needed to make the site work. With your permission we also use analytics cookies to see which pages are read, so we can improve them. You can change your choice at any time.