OPEN-SOURCE SCRIPT
Bollinger Bands with 6 StdDev

Bollinger Bands indicator designed to display six customizable levels of standard deviation around a chosen moving average. The purpose of this indicator is to help traders identify dynamic price levels where the market might find support, resistance, or volatility extremes.
Timeframe: Default is daily, but it can be changed by the user.
Inputs
Length (default 20): The lookback period for calculating the moving average and standard deviation.
MA Type: User can choose between SMA, EMA, SMMA (RMA), WMA, or VWMA to define the Bollinger Band’s central line (basis).
Source: The input price (default is closing price).
Offset: Allows shifting the entire indicator forward or backward on the chart.
Adjustable Standard Deviations
The script allows up to six separate multipliers for the standard deviation:
0.5, 1.0, 1.5, 2.0, 2.5, and 3.0 (all customizable).
This makes the indicator more flexible than standard Bollinger Bands, which usually use just ±2 standard deviations. With multiple levels, traders can observe how price reacts at minor vs. major volatility zones.
Timeframe: Default is daily, but it can be changed by the user.
Inputs
Length (default 20): The lookback period for calculating the moving average and standard deviation.
MA Type: User can choose between SMA, EMA, SMMA (RMA), WMA, or VWMA to define the Bollinger Band’s central line (basis).
Source: The input price (default is closing price).
Offset: Allows shifting the entire indicator forward or backward on the chart.
Adjustable Standard Deviations
The script allows up to six separate multipliers for the standard deviation:
0.5, 1.0, 1.5, 2.0, 2.5, and 3.0 (all customizable).
This makes the indicator more flexible than standard Bollinger Bands, which usually use just ±2 standard deviations. With multiple levels, traders can observe how price reacts at minor vs. major volatility zones.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.