← Back to AIQ Genesis

Why Bollinger Bands Jump, and a Smoother Way to Draw Them

Indicators · 5 min

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.

How much weight each past bar gets: a 20-bar window versus a 20-bar half-life Standard 20-bar window: equal weight, then a cliff 20-bar half-life: weight fades gradually Today60 bars ago
The weight each past bar carries in the average. The standard window drops a bar all at once on day 21; the half-life version lets it fade.

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.

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

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.

This material is being provided for informational purposes only and nothing herein constitutes investment, legal, accounting or tax advice, or a recommendation to buy, sell or hold a security. No recommendation or advice is being given as to whether any investment is suitable for a particular investor. It should not be assumed that any investments in securities, companies, sectors or markets identified and described were or will be profitable. All information is current as of the date hereof and is subject to change without notice.

← Back to all research