TradingView
djmad
21 אפר׳ 2022 22:39

[Mad] Triple Bollinger Bands MTF 

תיאור

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)

הערות שחרור

added Labels

הערות שחרור

did update alarms (simplebool, multibit, alarms to select)

הערות שחרור

libary update

הערות שחרור

patching a weird behavior when selecting big custom timeframes, like 1 month on a 8h chart

הערות שחרור

the background transparency is now changeable via parameter

הערות שחרור

selectable shifting of lines and text into the future
removed limitation of labeldrawing on fixed % from close
minor settings cleanup (groupings)
code cleanup

הערות שחרור

added relative bollinger band width, based on lookback time
added automatic decimals for lowvalue assets
added selectable moving average to build the bands

הערות שחרור

color transparency for lines fixed

הערות שחרור

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

הערות שחרור

Bugfix:
ticksize 1 is now possible without an errormessage

Feature:
2 more bands (4 + 5, default off)

הערות שחרור

Typo... sry for doublepost

הערות שחרור

Patch ...
timeseries error on htf when ticker begin was reached
thanks Andreas for the find

הערות שחרור

limited Digits autoselect in labels (happening with very high digitscount on shitcoins like NEXA)
תגובות
fortifel
Thanks for sharing! Great job!
עוד