# Protected Swings

Protected Swings labels the swing highs and lows a trend should defend. A level earns its PSH or PSL tag only after liquidity is swept and a candle body closes through the run that built the extreme, confirming a change in state of delivery. Confirmation lines hand structure traders objective invalidation for reversals, continuations, and trailing stops.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Feb 17, 2026.
- Access: free.
- Concepts: [Strong vs Weak Swings](https://www.luxalgo.com/library/concept/strong-vs-weak-swings/) (primary), [Swing High/low](https://www.luxalgo.com/library/concept/swing-high-low/), [Fair Value Gap](https://www.luxalgo.com/library/concept/fair-value-gap/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn4vlz006tvhsgnoj9cmou
- Page: https://www.luxalgo.com/library/indicator/protected-swings/

**Protected Swings** labels the swing highs and lows a trend should defend, the chart expression of [strong and weak swings](https://www.luxalgo.com/library/concept/strong-vs-weak-swings/). A level earns its tag only after two things happen: liquidity is taken (a sweep through a prior extreme, or a tap into a higher-timeframe imbalance) and a candle body closes beyond the open of the candle run that built the swing, confirming a CISD, the moment the state of delivery flips. Wick breaks alone never qualify.

## How to Trade the Protected Swings?

- **PSH (Protected Swing High)**: price sweeps a high, then closes below the open of the up-close candle series that created it, a confirmed bearish shift in delivery.
- **PSL (Protected Swing Low)**: the mirror, a swept low followed by a close above the open of the down-close series, confirming a bullish shift.
- **Confirmation Levels**: horizontal lines mark the exact price a body must close through, doubling as objective invalidation for stops.
- **Trend continuation**: once a trend is running, new protected swings form on retracements, stepping stones for trailing stops or scaling in.

With Include FVG Mitigations enabled, a move into a [fair value gap](https://www.luxalgo.com/library/concept/fair-value-gap/) can qualify a candidate even without a pivot sweep. For refined entries, confirm a protected swing on a higher timeframe, drop down, and wait for a lower-timeframe swing to confirm in the same direction.

## Protected Swings Settings

- **Sweep Sensitivity**: bars required on both sides to confirm a structural pivot. Higher values keep only the stronger levels.
- **Include FVG Mitigations**: lets interactions with imbalances trigger the protected-swing logic.
- **FVG Search Lookback**: how many bars back the script scans for active gaps.
- **Visualization**: toggles for labels, confirmation levels, fair value gaps, sweep highlights, and colors.

## Frequently Asked Questions

### What makes a swing "protected"?
It has swept liquidity and then been confirmed by a candle-body close beyond its confirmation level. That pairing marks a structural shift rather than a routine fluctuation, which is why the PSH or PSL label appears only after the close.

### Which timeframes suit this indicator?
All of them: the logic carries from scalping through intraday and swing trading up to higher-timeframe structure. Many traders anchor bias with a higher-timeframe protected swing, then time entries with a lower-timeframe one.

### How do I get access, and is there a related signal tool?
Protected Swings is free. Find it in the LuxAlgo Library, and hand it to Quant, our coding agent, right from this page. If you trade the same sweep-into-CISD sequence as discrete signals, look at [FVG Liquidity Sweep CISD](https://www.luxalgo.com/library/indicator/fvg-liquidity-sweep-cisd/). You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Swing Highs/Lows & Candle Patterns](https://www.luxalgo.com/library/indicator/swing-highs-lows-candle-patterns/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/swing-highs-lows-candle-patterns.md
- [Unreached Highs/Lows Oscillator](https://www.luxalgo.com/library/indicator/unreached-highs-lows-oscillator/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/unreached-highs-lows-oscillator.md
- [Fair Value Gap Absorption Indicator](https://www.luxalgo.com/library/indicator/fair-value-gap-absorption-indicator/) (Fair Value Gap): markdown at https://www.luxalgo.com/library/indicator/fair-value-gap-absorption-indicator.md
- [Fair Value Gaps Mitigation Oscillator](https://www.luxalgo.com/library/indicator/fair-value-gaps-mitigation-oscillator/) (Fair Value Gap): markdown at https://www.luxalgo.com/library/indicator/fair-value-gaps-mitigation-oscillator.md
- [Smart Money Concepts (SMC)](https://www.luxalgo.com/library/indicator/smart-money-concepts-smc/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/smart-money-concepts-smc.md
- [Structure & Trend Dashboard](https://www.luxalgo.com/library/indicator/structure-trend-dashboard/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/structure-trend-dashboard.md
- [FVG + Liquidity Sweep + CISD](https://www.luxalgo.com/library/indicator/fvg-liquidity-sweep-cisd/) (Change of Character): markdown at https://www.luxalgo.com/library/indicator/fvg-liquidity-sweep-cisd.md
- [MSS Sweep Fib Retrace](https://www.luxalgo.com/library/indicator/mss-sweep-fib-retrace/) (Change of Character): markdown at https://www.luxalgo.com/library/indicator/mss-sweep-fib-retrace.md

---

Source: https://www.luxalgo.com/library/indicator/protected-swings/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
