OPEN-SOURCE SCRIPT
已更新 Bollinger Bands x3 with Fill + HMA + Dynamic Width Colors

📄 Description for TradingView Publication:
This is an enhanced and flexible version of the classic Bollinger Bands indicator, designed for traders who want deeper insight into market volatility and price structure.
🔹 Key Features:
✅ Triple Bollinger Bands
✅ Dynamic Band Width Coloring
✅ Dynamic Fill Coloring
✅ Multiple Moving Average Options
Choose from:
✅ Customization Options
💡 Use Case Tips:
🧰 Recommended For:
This is an enhanced and flexible version of the classic Bollinger Bands indicator, designed for traders who want deeper insight into market volatility and price structure.
🔹 Key Features:
✅ Triple Bollinger Bands
- Displays 3 standard deviation bands: ±1σ, ±2σ, and ±3σ
- Customize each deviation level independently
✅ Dynamic Band Width Coloring
- Band lines change color when the distance between upper and lower bands narrows
- Helps identify volatility contractions and potential squeeze setups
✅ Dynamic Fill Coloring
- Fill between bands also changes color when the bands narrow
- Visually highlights transitions from high to low volatility conditions
✅ Multiple Moving Average Options
Choose from:
- Simple Moving Average (SMA)
- Exponential Moving Average (EMA)
- Smoothed Moving Average (SMMA / RMA)
- Weighted Moving Average (WMA)
- Volume-Weighted Moving Average (VWMA)
- Hull Moving Average (HMA) for a smoother, more responsive central tendency
✅ Customization Options
- Show/hide each band individually
- Adjust standard deviation multipliers
- Toggle fills between bands
- Customize fill colors for normal and narrowing conditions
- Offset option to shift all plots forward or backward
💡 Use Case Tips:
- When all bands begin narrowing, it could signal an upcoming volatility expansion or breakout.
- Use the ±3σ bands to gauge extreme price behavior, and ±1σ for short-term mean reversion.
- Combine with price action, momentum, or volume for breakout confirmation.
🧰 Recommended For:
- Volatility traders
- Mean reversion strategies
- Breakout traders
- Trend confirmation and structure analysis
版本注释
📄 Description for TradingView Publication:This is an enhanced and flexible version of the classic Bollinger Bands indicator, designed for traders who want deeper insight into market volatility and price structure.
🔹 Key Features:
✅ Triple Bollinger Bands
- Displays 3 standard deviation bands: ±1σ, ±2σ, and ±3σ
- Customize each deviation level independently
✅ Dynamic Band Width Coloring
- Band lines change color when the distance between upper and lower bands narrows
- Helps identify volatility contractions and potential squeeze setups
✅ Dynamic Fill Coloring
- Fill between bands also changes color when the bands narrow
- Visually highlights transitions from high to low volatility conditions
✅ Multiple Moving Average Options
Choose from:
- Simple Moving Average (SMA)
- Exponential Moving Average (EMA)
- Smoothed Moving Average (SMMA / RMA)
- Weighted Moving Average (WMA)
- Volume-Weighted Moving Average (VWMA)
- Hull Moving Average (HMA) for a smoother, more responsive central tendency
✅ Customization Options
- Show/hide each band individually
- Adjust standard deviation multipliers
- Toggle fills between bands
- Customize fill colors for normal and narrowing conditions
- Offset option to shift all plots forward or backward
💡 Use Case Tips:
- When all bands begin narrowing, it could signal an upcoming volatility expansion or breakout.
- Use the ±3σ bands to gauge extreme price behavior, and ±1σ for short-term mean reversion.
- Combine with price action, momentum, or volume for breakout confirmation.
🧰 Recommended For:
- Volatility traders
- Mean reversion strategies
- Breakout traders
- Trend confirmation and structure analysis
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。