Trendoscope

Bollinger Bands - Custom moving average

Trendoscope Wizard מעודכן   
Formula for bollinger bands is as below:

Mid = sma(20)
Top = sma(20) + 2*StdDev(20)
Bottom = sma(20) - 2*StdDev(20)

While standard bollinger bands allow changing standard deviation and length, there is no option to use different moving average.

This indicator allows you to define bollinger bands based on different moving average types which can be selected from input.
הערות שחרור:
Convert to function
הערות שחרור:
Added another type of base : dc - which stands for Donchian Channel. Instead of using moving average as base, here we are using donchian channel mid as base and applying 2 standard deviation on this to derive top and bottom.

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?