OPEN-SOURCE SCRIPT

Z Bollinger Bands

Updated
This version of Bollinger Bands measures the average volatility. By taking the 75th percentile of the average absolute value of the difference between the Source and the Mean divided by the Standard Deviation and using that as our multiplier for our Bollinger bands we can have a statistically safe trading zone.
You notice that its dynamic, this is because it take into account the real volatility levels of a window and uses that to determine an appropriate multiplier. As always I hope you enjoy this release.
Release Notes
chart
Release Notes
lmao overlay = true
Release Notes
added smoothing for the score
Release Notes
added asymmetric calculations
Bands and ChannelsOscillatorsstatisticsz-score

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?


Also on:

Disclaimer