# Double Bollinger Zones

Double Bollinger Zones is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Draws two Bollinger Band pairs on one 20-period basis (inner at 1 standard deviation, outer at 2), partitioning the chart into buy, sell, and neutral zones. A regime qualifies after 2 consecutive closes hold a zone, with pullback-hold, zone-loss, and full-traverse alerts plus a dashboard reporting zone, regime, closes, and depth. A trend-following regime map for any market.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jun 23, 2026.
- Access: free.
- Concepts: [Double Bollinger Zones](https://www.luxalgo.com/library/concept/double-bollinger-zones/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=vqjt07pd09bafu80x0h7acf1
- Page: https://www.luxalgo.com/library/indicator/double-bollinger-zones/

**Double Bollinger Zones** runs two band pairs off one shared 20-period basis (inner bands at one standard deviation, outer at two), turning the chart into a regime map of buy, sell, and neutral zones. Faithful to the [Double Bollinger Zones](https://www.luxalgo.com/library/concept/double-bollinger-zones/) method, it claims a trend only after consecutive closes hold a zone, drops back to neutral when the zone is lost, and reports zone, regime, close count, and depth in a dashboard.

## How to Trade the Double Bollinger Zones?

- **Uptrend qualified**: the required run of closes (2 by default) holds above the upper one-deviation band, closes beyond the outer band included. Territory to follow, not stretch to fade.
- **Zone lost**: a close back inside the inner band drops the regime to neutral, the first warning the method gives.
- **Pullback holds the floor**: an intrabar tag of the one-deviation line that closes back inside keeps the regime: the continuation entry, invalidation just beyond the boundary.
- **Full traverse**: a regime qualified in one outer zone after the opposite one, the map's completed regime change.

## Double Bollinger Zones Settings

- **Length** (default 20): lookback of the shared basis and standard deviation.
- **Source** (default close): series for the basis and deviation; zone residence is always judged on closes.
- **Basis Type** (default SMA): the single shared average both pairs run off.
- **Inner Multiplier** (default 1) and **Outer Multiplier** (default 2): the regime boundaries and far zone edges, the method's defining pair.
- **Confirmation Closes** (default 2): consecutive closes required to qualify a regime; raise it in choppy tape.
- **Zone Boundary Buffer** (default 0): extra deviations a close must clear, the second whipsaw guard.
- **Show Dashboard** (default enabled); **Regime-Colored Basis** and **Zone Gradient Fills** enabled, **Regime Markers** disabled. Alerts cover those events.

## Frequently Asked Questions

### How is this different from ordinary Bollinger Bands?

[Bollinger Bands](https://www.luxalgo.com/library/indicator/bollinger-bands/) draw one pair, usually read for reversion toward the basis; adding the inner pair creates zones that can also say "follow this" once price holds beyond a deviation. Same statistics, opposite default instinct.

### Why do wicks through a band change nothing?

Residence is judged on closing prices by design: a series usually stays within one deviation of its own average, so a close holding outside that band says something noise rarely does.

### What helps in whipsaw-prone markets?

Both guards are settings: raise Confirmation Closes so single prints cannot claim a regime, and give Zone Boundary Buffer a small positive value. Zone crossings get cheap whenever the bands compress.

## Related indicators

- [Nadaraya-Watson Envelope](https://www.luxalgo.com/library/indicator/nadaraya-watson-envelope/) (Envelope): markdown at https://www.luxalgo.com/library/indicator/nadaraya-watson-envelope.md
- [TTM Squeeze](https://www.luxalgo.com/library/indicator/ttm-squeeze/) (Volatility): markdown at https://www.luxalgo.com/library/indicator/ttm-squeeze.md
- [Fibonacci Bollinger Bands](https://www.luxalgo.com/library/indicator/fibonacci-bollinger-bands/) (Volatility): markdown at https://www.luxalgo.com/library/indicator/fibonacci-bollinger-bands.md
- [Proximal Range Filter](https://www.luxalgo.com/library/indicator/proximal-range-filter/) (Envelope): markdown at https://www.luxalgo.com/library/indicator/proximal-range-filter.md
- [Bollinger Squeeze](https://www.luxalgo.com/library/indicator/bollinger-squeeze/) (Volatility): markdown at https://www.luxalgo.com/library/indicator/bollinger-squeeze.md
- [Bollinger Bands Breakout Oscillator](https://www.luxalgo.com/library/indicator/bollinger-bands-breakout-oscillator/) (Bollinger Bands): markdown at https://www.luxalgo.com/library/indicator/bollinger-bands-breakout-oscillator.md
- [Donchian MA Bands](https://www.luxalgo.com/library/indicator/donchian-ma-bands/) (Donchian Channels): markdown at https://www.luxalgo.com/library/indicator/donchian-ma-bands.md
- [Whittaker Envelope](https://www.luxalgo.com/library/indicator/whittaker-envelope/) (Envelope): markdown at https://www.luxalgo.com/library/indicator/whittaker-envelope.md

---

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