OPEN-SOURCE SCRIPT
SW Hybrid Bollinger Bands

## Overview
Welcome to the **SW Hybrid Bollinger Bands**, a modern take on the classic Bollinger Bands volatility indicator.
Unlike traditional Bollinger Bands that strictly use the closing price and a single Simple Moving Average (SMA), this script dynamically calculates standard deviation bands based on both the **High** and **Low** price points of candles. Furthermore, it incorporates both **EMA (Exponential Moving Average)** and **WMA (Weighted Moving Average)** to provide a smoother, more responsive volatility channel.
---
## How It Works
The indicator splits the volatility channels into two distinct zones:
* **Green Channels (High-Based):** Calculated using the candle's *High* price, integrated with EMA and WMA. These act as ultimate dynamic resistance zones and momentum gauges for upside moves.
* **Purple Channels (Low-Based):** Calculated using the candle's *Low* price, integrated with EMA and WMA. These serve as dynamic support zones and exhaustion areas during downward trends.
* **Center Line (White):** A standard 20-period SMA to keep you anchored to the baseline trend.
By blending EMA (which reacts faster to recent price action) and WMA (which emphasizes linear weight), the fills between these lines create unique **"Liquidity/Volatility Belts"** rather than single strict lines.
---
## How to Trade with It
1. **Trend Riding:** During strong uptrends, the price tends to float between the 20 SMA and the upper Green Channels. In strong downtrends, it stays between the 20 SMA and the lower Purple Channels.
2. **Reversals & Exhaustion:** When the price penetrates deep into the outer green or purple filled zones, it often signals an overextended market, hinting at a potential mean-reversion back to the white 20 SMA.
3. **Volatility Squeezes:** When the green and purple bands compress tightly towards each other, expect a massive explosive breakout soon.
---
## Release Notes
* **Open Source:** Free for the community! Feel free to favorite, share, and modify.
* **Version:** Pine Script v6 optimized.
* **Clean Visuals:** Red color elements updated to sleek **Purple** for better chart readability and modern aesthetic.
*Disclaimer: This script is for educational and informational purposes only. Past performance does not guarantee future results.*
Welcome to the **SW Hybrid Bollinger Bands**, a modern take on the classic Bollinger Bands volatility indicator.
Unlike traditional Bollinger Bands that strictly use the closing price and a single Simple Moving Average (SMA), this script dynamically calculates standard deviation bands based on both the **High** and **Low** price points of candles. Furthermore, it incorporates both **EMA (Exponential Moving Average)** and **WMA (Weighted Moving Average)** to provide a smoother, more responsive volatility channel.
---
## How It Works
The indicator splits the volatility channels into two distinct zones:
* **Green Channels (High-Based):** Calculated using the candle's *High* price, integrated with EMA and WMA. These act as ultimate dynamic resistance zones and momentum gauges for upside moves.
* **Purple Channels (Low-Based):** Calculated using the candle's *Low* price, integrated with EMA and WMA. These serve as dynamic support zones and exhaustion areas during downward trends.
* **Center Line (White):** A standard 20-period SMA to keep you anchored to the baseline trend.
By blending EMA (which reacts faster to recent price action) and WMA (which emphasizes linear weight), the fills between these lines create unique **"Liquidity/Volatility Belts"** rather than single strict lines.
---
## How to Trade with It
1. **Trend Riding:** During strong uptrends, the price tends to float between the 20 SMA and the upper Green Channels. In strong downtrends, it stays between the 20 SMA and the lower Purple Channels.
2. **Reversals & Exhaustion:** When the price penetrates deep into the outer green or purple filled zones, it often signals an overextended market, hinting at a potential mean-reversion back to the white 20 SMA.
3. **Volatility Squeezes:** When the green and purple bands compress tightly towards each other, expect a massive explosive breakout soon.
---
## Release Notes
* **Open Source:** Free for the community! Feel free to favorite, share, and modify.
* **Version:** Pine Script v6 optimized.
* **Clean Visuals:** Red color elements updated to sleek **Purple** for better chart readability and modern aesthetic.
*Disclaimer: This script is for educational and informational purposes only. Past performance does not guarantee future results.*
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。