Why Bollinger Bands Jump, and a Smoother Way to Draw Them
If you've watched Bollinger Bands for any length of time, you've seen it happen. Price is drifting along quietly, nothing on the chart has changed, and the bands suddenly snap narrower. It looks like the market just told you something. Usually it didn't.
What happened is housekeeping. A standard Bollinger Band looks at exactly the last 20 bars. When a big, volatile bar from three weeks ago slides out of that window, it stops counting all at once, and the bands jump. The change is real in the math and meaningless in the market. The AIQ Genesis Half-Life Bollinger Bands are built to stop that from happening.
A memory that fades instead of forgetting
A standard band treats the last 20 bars as equally important and everything older as irrelevant. Bar 20 counts fully; bar 21 counts for nothing. That cliff is what causes the jump.
The half-life version replaces the cliff with a slope. Every bar gets blended into a running average and a running measure of spread, and older bars lose weight gradually. With the default half-life of 20, a bar's influence halves every 20 bars. After 40 bars it carries a quarter of its original weight, after 60 bars an eighth, and so on. Nothing ever falls off a ledge, so the bands widen and narrow smoothly as conditions actually change.
The bands themselves work the way you'd expect. They sit a set number of standard deviations above and below the running average, 2 by default, just like a classic Bollinger Band. The difference shows up exactly when it matters: on the days a standard band would lurch for no reason.
One thing to know before you compare them side by side: a 20-bar half-life is not the same as a 20-bar window. Because older bars never fully drop out, the default setting behaves more like a 58-bar average, so these bands are noticeably smoother and slower than a standard BB(20). If you want something close to the familiar 20-period feel, set the half-life to about 7.
Reading the panel
A small panel on the chart gives you three readings.
- Price vs. mean. How far the close sits from the running average, in standard deviations. A reading of +1.5 σ means price is well up in the top half of the band; −2.1 σ means it has pushed below the lower band.
- Next close beyond each band. An estimate of the chance that the next bar closes outside the upper or lower band, based on how far away that band is compared with a typical one-bar move. Most of the time these numbers are small, often under 1%. They only climb when price is genuinely close to an edge.
- The highlight. When either chance reaches your threshold (10% by default), that band brightens so you can see a stretched reading without reading numbers.
Two honest caveats. The estimate uses a normal-distribution approximation and assumes the band holds roughly still for one bar. And real markets have fatter tails than the normal curve, so big closes beyond a band happen more often than the panel implies. Treat it as a guide to how close price is to the edge, not a forecast.
Stretched means different things in different markets
A brightened band tells you price is pressing against the edge of its recent range. What you do with that depends on the kind of market you're in. In a range, a stretched reading often sets up a move back toward the middle. In a strong trend, price that holds outside a band can be confirming a breakout rather than warning of one.
That's why the script includes an optional regime flag. The area between the bands is shaded by regime: green when price is above its 200-bar average (Bull), red when it is below (Bear), and white when volatility is running well above normal (High Vol, which overrides the trend color). A small panel spells out the same reading. The shading stays inside the bands so the rest of your chart stays clean, and the defaults are bright enough to see on a dark chart. All three colors can be changed in the settings if you use a light background. The flag describes the current bar only. It isn't a signal, just the context you need before deciding what a stretched band means.
This is the same way AIQ treats Bollinger Bands inside the Expert Rating, where the band read is one piece of evidence weighed alongside others rather than a trade on its own. If you want to see how that works, How to Read the AIQ Expert Rating on TradingView walks through it.
The two settings worth knowing
- Half-life (default 20) controls how quickly the bands adapt. Lower it and they react faster; raise it and they get smoother and slower. Around 7 feels closest to a standard 20-period band.
- Band width (default 2.0 standard deviations) controls how far the bands sit from the average. Wider bands are touched less often, so each touch means more.
The indicator is a context tool. It doesn't plot buy or sell signals, though you can set alerts for a close above the upper band or below the lower one. Testing so far has been on daily bars, so check how it behaves on your own timeframe before leaning on it intraday.
The Half-Life Bollinger Bands are free on TradingView. Search for "AIQ Genesis Half-Life Bollinger Bands" in the indicators panel, or see all AIQGENESIS scripts. For the full Bayesian evidence picture, add the free AIQ Essential indicator.
Same bands, without the housekeeping jumps. Read the stretch, then read the regime.