djmad

[Mad] Triple Bollinger Bands MTF

djmad Uppdaterad   
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)
Versionsinformation:
added Labels
Versionsinformation:
did update alarms (simplebool, multibit, alarms to select)
Versionsinformation:
libary update
Versionsinformation:
patching a weird behavior when selecting big custom timeframes, like 1 month on a 8h chart
Versionsinformation:
the background transparency is now changeable via parameter
Versionsinformation:
selectable shifting of lines and text into the future
removed limitation of labeldrawing on fixed % from close
minor settings cleanup (groupings)
code cleanup
Versionsinformation:
added relative bollinger band width, based on lookback time
added automatic decimals for lowvalue assets
added selectable moving average to build the bands
Versionsinformation:
color transparency for lines fixed
Versionsinformation:
some fun with the colors ;-)


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
Versionsinformation:
Bugfix:
ticksize 1 is now possible without an errormessage

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

Trader & coder. TA & NFTs.
bitblockwizard.com more at bitblockart.com
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?