OPEN-SOURCE SCRIPT

Geometric Bollinger Bands

Analogous to Bollinger bands but performs all computations on the logarithms of the values.

Unlike the regular bollinger bands (or most other variations of them available on tradingview), these won't annoy you by rescaling the chart when you try to look at the Bitcoin weekly chart or any other chart with strongly exponential behaviour, and the moving average is perfectly centered between the two bands on your log chart. The lower band is guarenteed to be positive for positive inputs.
Bollinger Bands (BB)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer