PROTECTED SOURCE SCRIPT
Cập nhật Bollinger Bands (MTF) + Bandwidth & %B

JBB MTF: Bollinger Bands (MTF) + Bandwidth & %B
This Pine v6 indicator overlays multi‑timeframe Bollinger Bands on the price chart and adds a lower panel with normalized Bandwidth (histogram) and %B (line), plus squeeze/bulge markers and alerts for volatility shifts.
Features
- Multi‑Timeframe BBs: Up to four TFs (TF1–TF4) via request.security, each with visibility, colors, line widths, and optional background fills.
- Configurable Inputs: Length, MA type (SMA/EMA/SMMA/WMA/VWMA), Source, StdDev multiplier, and Offset.
- Lower Panel Metrics: %B (line) shows price position in the band; Bandwidth (histogram) shows width relative to basis, normalized and color‑coded vs its SMA. Reference lines at 0, 0.5, 1.0; raw highest/lowest bandwidth lines for context.
- Squeeze/Bulge Detection: Alerts when bandwidth equals the rolling lowest (Squeeze) or highest (Bulge).
How It Works
- Per timeframe, BBs use the chosen MA basis and standard deviation × multiplier to form upper/lower bands.
- A selectable TF (TF1–TF4) drives %B/Bandwidth calculations, independent of overlay TFs.
* Bandwidth is normalized to the rolling min–max window with safeguards against division by zero.
Use Cases
- Visualize higher‑timeframe context directly on your chart.
- Spot volatility squeezes and expansions with objective markers and alerts.
* Combine %B momentum with Bandwidth regime changes to refine entries and exits.
This Pine v6 indicator overlays multi‑timeframe Bollinger Bands on the price chart and adds a lower panel with normalized Bandwidth (histogram) and %B (line), plus squeeze/bulge markers and alerts for volatility shifts.
Key idea: See higher‑timeframe BB context on your working chart while tracking volatility regimes and price position within bands.
Features
- Multi‑Timeframe BBs: Up to four TFs (TF1–TF4) via request.security, each with visibility, colors, line widths, and optional background fills.
- Configurable Inputs: Length, MA type (SMA/EMA/SMMA/WMA/VWMA), Source, StdDev multiplier, and Offset.
- Lower Panel Metrics: %B (line) shows price position in the band; Bandwidth (histogram) shows width relative to basis, normalized and color‑coded vs its SMA. Reference lines at 0, 0.5, 1.0; raw highest/lowest bandwidth lines for context.
- Squeeze/Bulge Detection: Alerts when bandwidth equals the rolling lowest (Squeeze) or highest (Bulge).
How It Works
- Per timeframe, BBs use the chosen MA basis and standard deviation × multiplier to form upper/lower bands.
- A selectable TF (TF1–TF4) drives %B/Bandwidth calculations, independent of overlay TFs.
* Bandwidth is normalized to the rolling min–max window with safeguards against division by zero.
Use Cases
- Visualize higher‑timeframe context directly on your chart.
- Spot volatility squeezes and expansions with objective markers and alerts.
* Combine %B momentum with Bandwidth regime changes to refine entries and exits.
Phát hành các Ghi chú
JBB MTF: Bollinger Bands (MTF) + Bandwidth & %BThis Pine v6 indicator overlays multi‑timeframe Bollinger Bands on the price chart and adds a lower panel with normalized Bandwidth (histogram) and %B (line), plus squeeze/bulge markers and alerts for volatility shifts.
Key idea: See higher‑timeframe BB context on your working chart while tracking volatility regimes and price position within bands.
Features
- Multi‑Timeframe BBs: Up to four TFs (TF1–TF4) via request.security, each with visibility, colors, line widths, and optional background fills.
- Configurable Inputs: Length, MA type (SMA/EMA/SMMA/WMA/VWMA), Source, StdDev multiplier, and Offset.
- Lower Panel Metrics: %B (line) shows price position in the band; Bandwidth (histogram) shows width relative to basis, normalized and color‑coded vs its SMA. Reference lines at 0, 0.5, 1.0; raw highest/lowest bandwidth lines for context.
- Squeeze/Bulge Detection: Alerts when bandwidth equals the rolling lowest (Squeeze) or highest (Bulge).
How It Works
- Per timeframe, BBs use the chosen MA basis and standard deviation × multiplier to form upper/lower bands.
- A selectable TF (TF1–TF4) drives %B/Bandwidth calculations, independent of overlay TFs.
* Bandwidth is normalized to the rolling min–max window with safeguards against division by zero.
Use Cases
- Visualize higher‑timeframe context directly on your chart.
- Spot volatility squeezes and expansions with objective markers and alerts.
* Combine %B momentum with Bandwidth regime changes to refine entries and exits.
Phát hành các Ghi chú
JBB MTF: Bollinger Bands (MTF) + Bandwidth & %BThis Pine v6 indicator overlays multi‑timeframe Bollinger Bands on the price chart and adds a lower panel with normalized Bandwidth (histogram) and %B (line), plus squeeze/bulge markers and alerts for volatility shifts.
Key idea: See higher‑timeframe BB context on your working chart while tracking volatility regimes and price position within bands.
Features
- Multi‑Timeframe BBs: Up to four TFs (TF1–TF4) via request.security, each with visibility, colors, line widths, and optional background fills.
- Configurable Inputs: Length, MA type (SMA/EMA/SMMA/WMA/VWMA), Source, StdDev multiplier, and Offset.
- Lower Panel Metrics: %B (line) shows price position in the band; Bandwidth (histogram) shows width relative to basis, normalized and color‑coded vs its SMA. Reference lines at 0, 0.5, 1.0; raw highest/lowest bandwidth lines for context.
- Squeeze/Bulge Detection: Alerts when bandwidth equals the rolling lowest (Squeeze) or highest (Bulge).
How It Works
- Per timeframe, BBs use the chosen MA basis and standard deviation × multiplier to form upper/lower bands.
- A selectable TF (TF1–TF4) drives %B/Bandwidth calculations, independent of overlay TFs.
* Bandwidth is normalized to the rolling min–max window with safeguards against division by zero.
Use Cases
- Visualize higher‑timeframe context directly on your chart.
- Spot volatility squeezes and expansions with objective markers and alerts.
* Combine %B momentum with Bandwidth regime changes to refine entries and exits.
Phát hành các Ghi chú
JBB MTF: Bollinger Bands (MTF) + Bandwidth & %BThis Pine v6 indicator overlays multi‑timeframe Bollinger Bands on the price chart and adds a lower panel with normalized Bandwidth (histogram) and %B (line), plus squeeze/bulge markers and alerts for volatility shifts.
Key idea: See higher‑timeframe BB context on your working chart while tracking volatility regimes and price position within bands.
Features
- Multi‑Timeframe BBs: Up to four TFs (TF1–TF4) via request.security, each with visibility, colors, line widths, and optional background fills.
- Configurable Inputs: Length, MA type (SMA/EMA/SMMA/WMA/VWMA), Source, StdDev multiplier, and Offset.
- Lower Panel Metrics: %B (line) shows price position in the band; Bandwidth (histogram) shows width relative to basis, normalized and color‑coded vs its SMA. Reference lines at 0, 0.5, 1.0; raw highest/lowest bandwidth lines for context.
- Squeeze/Bulge Detection: Alerts when bandwidth equals the rolling lowest (Squeeze) or highest (Bulge).
How It Works
- Per timeframe, BBs use the chosen MA basis and standard deviation × multiplier to form upper/lower bands.
- A selectable TF (TF1–TF4) drives %B/Bandwidth calculations, independent of overlay TFs.
* Bandwidth is normalized to the rolling min–max window with safeguards against division by zero.
Use Cases
- Visualize higher‑timeframe context directly on your chart.
- Spot volatility squeezes and expansions with objective markers and alerts.
* Combine %B momentum with Bandwidth regime changes to refine entries and exits.
Phát hành các Ghi chú
JBB MTF: Bollinger Bands (MTF) + Bandwidth & %BThis Pine v6 indicator overlays multi‑timeframe Bollinger Bands on the price chart and adds a lower panel with normalized Bandwidth (histogram) and %B (line), plus squeeze/bulge markers and alerts for volatility shifts.
Key idea: See higher‑timeframe BB context on your working chart while tracking volatility regimes and price position within bands.
Features
- Multi‑Timeframe BBs: Up to four TFs (TF1–TF3) via request.security, each with visibility, colors, line widths, and optional background fills.
- Configurable Inputs: Length, MA type (SMA/EMA/SMMA/WMA/VWMA), Source, StdDev multiplier, and Offset.
- Lower Panel Metrics: %B (line) shows price position in the band; Bandwidth (histogram) shows width relative to basis, normalized and color‑coded vs its SMA. Reference lines at 0, 0.5, 1.0; raw highest/lowest bandwidth lines for context.
- Squeeze/Bulge Detection: Alerts when bandwidth equals the rolling lowest (Squeeze) or highest (Bulge).
How It Works
- Per timeframe, BBs use the chosen MA basis and standard deviation × multiplier to form upper/lower bands.
- A selectable TF (TF1–TF3) drives %B/Bandwidth calculations, independent of overlay TFs.
* Bandwidth is normalized to the rolling min–max window with safeguards against division by zero.
Use Cases
- Visualize higher‑timeframe context directly on your chart.
- Spot volatility squeezes and expansions with objective markers and alerts.
* Combine %B momentum with Bandwidth regime changes to refine entries and exits.
Phát hành các Ghi chú
JBB MTF: Bollinger Bands (MTF) + Bandwidth & %BThis Pine v6 indicator overlays multi‑timeframe Bollinger Bands on the price chart and adds a lower panel with normalized Bandwidth (histogram) and %B (line), plus squeeze/bulge markers and alerts for volatility shifts.
Key idea: See higher‑timeframe BB context on your working chart while tracking volatility regimes and price position within bands.
Features
- Multi‑Timeframe BBs: Up to four TFs (TF1–TF4) via request.security, each with visibility, colors, line widths, and optional background fills.
- Configurable Inputs: Length, MA type (SMA/EMA/SMMA/WMA/VWMA), Source, StdDev multiplier, and Offset.
- Lower Panel Metrics: %B (line) shows price position in the band; Bandwidth (histogram) shows width relative to basis, normalized and color‑coded vs its SMA. Reference lines at 0, 0.5, 1.0; raw highest/lowest bandwidth lines for context.
- Squeeze/Bulge Detection: Alerts when bandwidth equals the rolling lowest (Squeeze) or highest (Bulge).
How It Works
- Per timeframe, BBs use the chosen MA basis and standard deviation × multiplier to form upper/lower bands.
- A selectable TF (TF1–TF4) drives %B/Bandwidth calculations, independent of overlay TFs.
* Bandwidth is normalized to the rolling min–max window with safeguards against division by zero.
Use Cases
- Visualize higher‑timeframe context directly on your chart.
- Spot volatility squeezes and expansions with objective markers and alerts.
* Combine %B momentum with Bandwidth regime changes to refine entries and exits.
Phát hành các Ghi chú
JBB MTF: Bollinger Bands (MTF) + Bandwidth & %BThis Pine v6 indicator overlays multi‑timeframe Bollinger Bands on the price chart and adds a lower panel with normalized Bandwidth (histogram) and %B (line), plus squeeze/bulge markers and alerts for volatility shifts.
Key idea: See higher‑timeframe BB context on your working chart while tracking volatility regimes and price position within bands.
Features
- Multi‑Timeframe BBs: Up to four TFs (TF1–TF3) via request.security, each with visibility, colors, line widths, and optional background fills.
- Configurable Inputs: Length, MA type (SMA/EMA/SMMA/WMA/VWMA), Source, StdDev multiplier, and Offset.
- Lower Panel Metrics: %B (line) shows price position in the band; Bandwidth (histogram) shows width relative to basis, normalized and color‑coded vs its SMA. Reference lines at 0, 0.5, 1.0; raw highest/lowest bandwidth lines for context.
- Squeeze/Bulge Detection: Alerts when bandwidth equals the rolling lowest (Squeeze) or highest (Bulge).
How It Works
- Per timeframe, BBs use the chosen MA basis and standard deviation × multiplier to form upper/lower bands.
- A selectable TF (TF1–TF3) drives %B/Bandwidth calculations, independent of overlay TFs.
* Bandwidth is normalized to the rolling min–max window with safeguards against division by zero.
Use Cases
- Visualize higher‑timeframe context directly on your chart.
- Spot volatility squeezes and expansions with objective markers and alerts.
* Combine %B momentum with Bandwidth regime changes to refine entries and exits.
Phát hành các Ghi chú
JBB MTF: Bollinger Bands (MTF) + Bandwidth & %BThis Pine v6 indicator overlays multi‑timeframe Bollinger Bands on the price chart and adds a lower panel with normalized Bandwidth (histogram) and %B (line), plus squeeze/bulge markers and alerts for volatility shifts.
Key idea: See higher‑timeframe BB context on your working chart while tracking volatility regimes and price position within bands.
Features
- Multi‑Timeframe BBs: Up to four TFs (TF1–TF3) via request.security, each with visibility, colors, line widths, and optional background fills.
- Configurable Inputs: Length, MA type (SMA/EMA/SMMA/WMA/VWMA), Source, StdDev multiplier, and Offset.
- Lower Panel Metrics: %B (line) shows price position in the band; Bandwidth (histogram) shows width relative to basis, normalized and color‑coded vs its SMA. Reference lines at 0, 0.5, 1.0; raw highest/lowest bandwidth lines for context.
- Squeeze/Bulge Detection: Alerts when bandwidth equals the rolling lowest (Squeeze) or highest (Bulge).
How It Works
- Per timeframe, BBs use the chosen MA basis and standard deviation × multiplier to form upper/lower bands.
- A selectable TF (TF1–TF3) drives %B/Bandwidth calculations, independent of overlay TFs.
* Bandwidth is normalized to the rolling min–max window with safeguards against division by zero.
Use Cases
- Visualize higher‑timeframe context directly on your chart.
- Spot volatility squeezes and expansions with objective markers and alerts.
* Combine %B momentum with Bandwidth regime changes to refine entries and exits.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.