OPEN-SOURCE SCRIPT

Multi-Bollinger [DW]

Updated
This is an experimental study designed to visualize trend activity and volatility using a set of two Bollinger Bands calculated with a basis moving average type of your choice.
The available moving averages in this script are:
-Exponential Moving Average
-Simple Moving Average
-Weighted Moving Average
-Volume Weighted Moving Average
-Hull Moving Average
-Least Squares Moving Average
-Arnaud Legoux Moving Average
-Coefficient of Variation Weighted Moving Average
-Fractal Adaptive Moving Average
-Kaufman's Adaptive Moving Average

In addition, a middle filter is calculated by taking the median of the two basis lines.

Multi-Timeframe functionality is included. You can choose any timeframe that Tradingview supports as the basis resolution for the bands.

Custom bar color scheme is included with four options to choose from.
Release Notes
I've included a custom standard deviation calculation that is based on the active filter type, because different averages yield different biases.
A toggle switch is included if you wish to keep TradingView's default standard deviation calculation.
Release Notes
Updates:

Altered the list of available filter types
The available filter types in this script are:
-> Exponential Moving Average
-> Double Exponential Moving Average
-> Simple Moving Average
-> Smoothed Moving Average
-> Weighted Moving Average
-> Volume Weighted Moving Average
-> Arnaud Legoux Moving Average
-> Least Squares Moving Average
-> Hull Moving Average
-> Coefficient of Variation Weighted Moving Average
-> Kaufman's Adaptive Moving Average
-> Moving 50th Percentile

Filter type and bar color method are now selected via an easy to use dropdown menus.

This script has a fairly high runtime due to multi-timeframe capabilities. To help reduce this runtime, I've condensed the operations and removed unnecessary clutter.
almaBollinger Bands (BB)covwmaLeast Squares Moving Average (LSMA)multi-timeframesmaTrend AnalysisVolatility

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?


For my full list of premium tools, check the blog:
wallanalytics.com/

Reach out on Telegram:
t.me/DonovanWall
Also on:

Disclaimer