# Volatility Regime Switches

Classifies volatility into Quiet, Normal, and Stressed states from ATR, realized volatility, or Bollinger Band width, normalized as a ratio to average or a percentile rank. A hysteresis-buffered state machine with 2-bar confirmation commits each switch, drawn with threshold zones, switch markers, and a playbook dashboard for traders who adapt parameters to conditions.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jun 4, 2026.
- Access: free.
- Concepts: [Volatility Regime Switches](https://www.luxalgo.com/library/concept/volatility-regime-switches/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=p6s4qllwdln8x93hpzyjntcp
- Page: https://www.luxalgo.com/library/indicator/volatility-regime-switches/

**Volatility Regime Switches** turns volatility into a committed state (Quiet, Normal, or Stressed) and marks the bar each change commits. The definitive build of the [volatility regime switch](https://www.luxalgo.com/library/concept/volatility-regime-switches/) pattern, it normalizes a chosen measure against its own long-run norm and lets a hysteresis-buffered state machine act on the label. The pane plots the Regime Score, its Baseline, the switch levels with shaded buffers, switch markers, and a playbook dashboard.

## How to Trade the Volatility Regime Switches?

- **Switch into Stressed**: volatility above its norm. Widen stops, lean on trend logic, or stand aside.
- **Switch into Quiet**: compression. Tighten stops, favor reversion tactics.
- **Switch into Normal**: back at the norm; baseline parameters apply.
- **Persistent background blocks**: thresholds describe real regimes; flickers mean they are too tight.

It gates other [volatility tools](https://www.luxalgo.com/library/family/volatility/) rather than giving entries; alerts fire on committed switches only.

## Volatility Regime Switches Settings

- **Volatility Measure** (default ATR): Realized Volatility and Bollinger Band Width are drop-ins.
- **Measurement Length** (default 14): the fast side of the comparison.
- **Normalization** (default Ratio to Average): or Percentile Rank, 0-100.
- **Baseline Lookback** (default 100): the slow side; longer switches less often.
- **Ratio · Stressed ≥** (default 1.25), **Quiet ≤** (default 0.80), **Ratio Hysteresis** (default 0.10): ratio-mode arming levels and buffer.
- **Percentile · Stressed ≥** (default 80), **Quiet ≤** (default 20), **Percentile Hysteresis** (default 10): the percentile equivalents.
- **Confirmation Bars** (default 2): bars a candidate must hold to commit.
- **Evaluate on Closed Bars** (default enabled): live states match a closed-bar replay.
- Dashboard and style toggles control the panel, markers, zones, and background.

## Frequently Asked Questions

### How is this different from the Volatility Switch?

The [Volatility Switch](https://www.luxalgo.com/library/indicator/volatility-switch/) compresses one realized-volatility estimate into a bounded 0-1 rank with a fixed 0.5 line. This build adds the state machine (hysteresis, confirmation, a Normal middle state) so the label can gate parameters.

### Why does the regime change later than the volatility spike?

By design. A candidate must cross an arming level and survive the Confirmation Bars run; a standing state releases only through the pulled-back switch-off level. The lag buys a state that does not flap.

### What does the dashboard playbook mean?

What each regime asks of the system it gates: widen or stand aside in Stressed, tighten toward reversion in Quiet, baseline in Normal. Each switch marker's tooltip carries the same line.

## Related indicators

- [Signals & Overlays](https://www.luxalgo.com/library/indicator/luxalgo-signals-overlays/) (Adaptive Parameterization): markdown at https://www.luxalgo.com/library/indicator/luxalgo-signals-overlays.md
- [Adaptive MACD](https://www.luxalgo.com/library/indicator/adaptive-macd/) (Adaptive Parameterization): markdown at https://www.luxalgo.com/library/indicator/adaptive-macd.md
- [Indicator Configuration Forecasting](https://www.luxalgo.com/library/indicator/indicator-configuration-forecasting/) (Adaptive Parameterization): markdown at https://www.luxalgo.com/library/indicator/indicator-configuration-forecasting.md
- [Market State Matrix](https://www.luxalgo.com/library/indicator/market-state-matrix/) (Trend/range Classifiers): markdown at https://www.luxalgo.com/library/indicator/market-state-matrix.md
- [HTF Sweep Signals](https://www.luxalgo.com/library/indicator/htf-sweep-signals/) (Meta & Composition): markdown at https://www.luxalgo.com/library/indicator/htf-sweep-signals.md
- [Oscillator Matrix](https://www.luxalgo.com/library/indicator/luxalgo-oscillator-matrix/) (Meta & Composition): markdown at https://www.luxalgo.com/library/indicator/luxalgo-oscillator-matrix.md
- [RSI Regime Filter](https://www.luxalgo.com/library/indicator/rsi-regime-filter/) (Meta & Composition): markdown at https://www.luxalgo.com/library/indicator/rsi-regime-filter.md
- [Signal Forge](https://www.luxalgo.com/library/indicator/signal-forge/) (Meta & Composition): markdown at https://www.luxalgo.com/library/indicator/signal-forge.md

---

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