Concept
Swing High/low
Swing High/low is a Market Structure concept. The Library holds 33 implementations, each one a working definition you can pull into Quant.
Top Swing High/low indicators
33 total
What is a Swing High/low?
A swing high is a bar whose high stands above the highs of a set number of bars on either side; a swing low is the mirror image, a low beneath its neighbors' lows. The number of bars checked on each side (called strength, lookback, or left/right bars depending on the tool) is the only parameter, and it decides everything: small values mark every minor wiggle, large values keep only major turning points. Swing points also go by pivot highs and lows, or fractal highs and lows.
The definition has one awkward consequence: a swing point cannot be confirmed until the right-side bars have closed. A swing high with strength 5 is only knowable five bars after it printed, so any tool built on swings labels the past, not the present. That lag is not a flaw to engineer away; it is the price of an objective definition, and it matters whenever swing-based signals are backtested or automated.
Swings matter because they are the atoms of market structure. Labeling them in sequence produces swing structure grammar (higher highs, higher lows, and their opposites), breaking them defines events like a break of structure, and the stops resting just beyond them form the liquidity pools that sweep-based strategies target. Nearly every structural tool inherits its behavior, and its blind spots, from how these points are detected.
How to identify a swing high or swing low
Swing detection is fully mechanical once one parameter is fixed, which is what makes it the standard foundation for structure tools.
- 1Choose a strength N, the number of bars that must be checked on each side of a candidate bar. There is no universal setting; common practice scales it with the timeframe and the intended holding period.
- 2Mark a swing high on any bar whose high exceeds the highs of the N bars before it and the N bars after it. A swing low is the mirror: a low beneath the lows of N bars on both sides.
- 3Wait for confirmation. The label only becomes final once all N right-side bars have closed without exceeding the candidate, so every swing is known N bars after the fact. Account for that delay in alerts and backtests.
- 4Optionally filter by magnitude: require a minimum move between opposing swings (a percentage or a volatility multiple such as ATR) so that noise pivots are discarded and only meaningful turns survive.
How traders use it
- As the raw material for structure maps: each confirmed swing is labeled against the previous swing of the same type to read trend as sequences of higher highs and higher lows, or lower highs and lower lows.
- As stop and invalidation anchors: a structure stop sits beyond the swing that defines the trade idea, though the stops clustered there are exactly what sweep strategies hunt, so placement is a trade-off rather than a free lunch.
- As anchors for drawn tools: Fib retracements are measured between opposing swings, trendlines connect successive swing lows or highs, and a zigzag is just consecutive swings joined into alternating legs.
- As event triggers: structural breaks, sweeps, and failure patterns are all defined by how price behaves at a prior swing, so the quality of swing detection upstream decides the quality of every signal downstream.
Swing highs and lows vs related concepts
Williams Fractal: A fractal is the fixed-width special case: a swing with exactly two bars on each side. General swing detection lets the width vary, so every fractal is a swing but not every swing is a fractal.
Floor Pivots: Both get called pivots, which causes real confusion. Floor pivots are levels computed arithmetically from the prior session's high, low, and close; a swing (pivot) high or low is a pattern found in the bars themselves.
Zigzag Structure: The zigzag is the derived drawing: it connects consecutive swings into a line of alternating legs. Swings are the input; the zigzag inherits its shape, its parameter sensitivity, and its confirmation lag entirely from them.
Swing Failure Pattern: An SFP is an event at a swing, not the swing itself: price wicks beyond a prior swing point and closes back inside, suggesting the break failed and stops were collected.
More Swing High/low implementations
- Liquidity Sweeps
- Liquidity Swings
- Price Simplification
- Protected Swings
- Trendlines Oscillator
- Internal Pivot Pattern
- Pivot Point Profile
- Parallel Pivot Lines
- Intermarket Swing Projection
- Swing Breakout Sequence
- Swing Structure Scanner
- Swing Volume Profiles
- Trendlines with Breaks
- HTF Swing Structure Signals
- Support & Resistance Pro Toolkit
- Pivot Based Trailing Maxima & Minima
- Pure Price Action Liquidity Sweeps
- Rally Base Drop SND Pivots
Related concepts · Swing grammar
Concept family
Market Structure
31 concepts mapped · 26 in the Library
Swing High/low FAQ
What is the best lookback for swing highs and lows?
There is no universally best setting. Small strengths (two to three bars per side) catch minor structure and suit short holding periods; larger strengths isolate major turns for swing trading. The honest approach is to match the setting to your horizon and accept that different settings produce genuinely different structure from the same chart.
Do swing high/low indicators repaint?
In one specific sense, yes: a swing cannot be confirmed until its right-side bars close, so the label always appears several bars after the pivot itself. Well-built tools never delete a confirmed swing, but the confirmation delay is unavoidable, and backtests that act on the pivot bar itself are using information that was not available in real time.
Is a swing high the same as a fractal?
Essentially, yes. A Williams Fractal is a swing high or low with the strength fixed at two bars per side, the specific case Bill Williams popularized. General swing detection treats that width as a parameter, and widening it changes how much structure survives on the chart.
Why does price react at old swing highs and lows?
Stops and pending orders tend to cluster just beyond visible extremes, so touching an old swing can trigger a burst of activity: sometimes rejection, sometimes acceleration as stops fill. The reaction is common but not reliable. Plenty of swings break without any response at all, which is why swing levels are context, not signals.
What is the difference between a swing high and resistance?
A swing high is a single, objectively defined pivot bar. Resistance is a broader zone where selling has repeatedly appeared, often built from one or more swing highs plus other evidence such as volume or prior reactions. Every resistance zone contains swings, but a lone swing high is not automatically meaningful resistance.
Build Swing High/low your way.
Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.
.png&w=3840&q=75)

.png&w=3840&q=75)