OPEN-SOURCE SCRIPT
Volatility + Momentum Breakout Signals

**Volatility + Momentum Breakout Signals**
---
## 🎯 **Purpose**
This indicator is designed to **identify potential breakout opportunities** — both **bullish** and **bearish** — by combining **volatility expansion** with **momentum direction**.
Breakouts are often more reliable when both volatility and momentum agree. This tool helps detect such alignments early.
---
## 📐 **How It Works**
The indicator uses **3 key components**:
### 1. **Average True Range (ATR)**
* Measures **market volatility** — how wide the price is moving.
* If ATR is **rising**, it means price is swinging more — indicating energy buildup.
### 2. **Bollinger Band Width (BB Width)**
* Measures the **distance between upper and lower Bollinger Bands**.
* If BB Width is **increasing**, the bands are expanding — signaling a possible breakout after a tight range.
### 3. **Relative Strength Index (RSI)**
* Measures **momentum** of price direction.
* If RSI is **above 50 and rising**, the trend is bullish.
* If RSI is **below 50 and falling**, the trend is bearish.
---
## 📈 **Signal Conditions**
### ✅ **Bullish Breakout Signal** (Buy)
* **ATR is rising**
* **BB Width is rising**
* **RSI is above 50 and rising**
🟢 If all three occur, a **Buy Signal** is plotted with a green triangle at the bottom of the chart.
---
### 🚫 **Bearish Breakout Signal** (Sell)
* **ATR is rising**
* **BB Width is rising**
* **RSI is below 50 and falling**
🔴 If all three occur, a **Sell Signal** is plotted with a red triangle at the top of the chart.
---
## 📊 **What Is Plotted**
* **RSI line** with 30, 50, and 70 reference levels.
* **BB Width (%)** — shows how wide the Bollinger Bands are (orange line).
* **ATR** — the actual range of price movement (purple area).
* **Buy/Sell Markers** when conditions align.
---
## 🛠️ **Usage**
This indicator is ideal for:
* **Breakout traders** — to catch sharp price moves.
* **Swing traders** — to identify strong momentum continuation.
* **Volatility-based entry strategies**.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。