OPEN-SOURCE SCRIPT

[Mad] Triple Bollinger Bands MTF

By djmad
Updated
These are classic triple Bollinger bands with different multipliers
You can change the time frame plotted,
for example, you can show a 1-hour chart, but plot 6-hour Bollinger.

Since I haven't found any other OpenSource variant that can plot the 3 bands in a different time frame, here is my script for you

en.wikipedia.org/wiki/Bollinger_Bands


----
additional you can see in this script, how to move data around with arrays instead of multiple variables.
This way you can cut down security calls to a minimum. (look at the transfer- and bollarray)
Release Notes
added Labels
Release Notes
did update alarms (simplebool, multibit, alarms to select)
Release Notes
libary update
Release Notes
patching a weird behavior when selecting big custom timeframes, like 1 month on a 8h chart
Release Notes
the background transparency is now changeable via parameter
Release Notes
selectable shifting of lines and text into the future
removed limitation of labeldrawing on fixed % from close
minor settings cleanup (groupings)
code cleanup
Release Notes
added relative bollinger band width, based on lookback time
added automatic decimals for lowvalue assets
added selectable moving average to build the bands
Release Notes
color transparency for lines fixed
Release Notes
some fun with the colors ;-)

snapshot

to activate there is now a button "Dynamic colors"
Colors of the phases are configurable
Transparency for background moved to a global color group, also modifies the dynamic background
Release Notes
Bugfix:
ticksize 1 is now possible without an errormessage

Feature:
2 more bands (4 + 5, default off)
Release Notes
Typo... sry for doublepost
Release Notes
Patch ...
timeseries error on htf when ticker begin was reached
thanks Andreas for the find
Release Notes
limited Digits autoselect in labels (happening with very high digitscount on shitcoins like NEXA)
Bands and ChannelsBollinger Bands (BB)daisychainmodularmultibitmultitimeframe
djmad

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