OPEN-SOURCE SCRIPT
Manus Gold Daily Range Choppy Filter

### Manus Gold Daily Range Choppy Filter
This indicator is designed to answer one simple but critical question **before trading begins**:
**Is today a day worth trading, or is the market too choppy?**
Instead of generating entries or signals, this tool acts as a **daily market condition filter**. It helps traders avoid low-quality sessions where breakouts fail and price action is dominated by noise and mean-reversion.
---
### 🔍 What the indicator does
The script evaluates **market tradability once per day**, based on **yesterday’s completed data**, and then locks that decision for the entire trading day.
It combines two independent concepts:
#### 1️⃣ Choppiness Analysis (core logic)
* Calculates the **Choppiness Index** on **1H and 4H timeframes**
* Detects whether the market is:
* **Trending / expanding** (low & falling choppiness)
* **Range-bound / noisy** (high choppiness)
* Optional requirement that choppiness must be **falling** (early expansion phase)
#### 2️⃣ Daily Range Contraction (optional filter)
* Detects **NR days** (narrowest range in N days)
* Detects **ADR contraction** (yesterday’s range significantly smaller than normal)
* Used to identify potential **breakout-ready environments**
Both components are combined into a single **daily tradability decision**.
---
### 🟢 / 🔴 Output logic
* **Green bar** → Market is considered **tradable**
* **Red bar** → Market is **not tradable** (choppy / low quality)
Important characteristics:
* **Exactly one bar per day**
* No intraday repainting
* Decision is locked using **yesterday’s final data**
* Designed to be used on **any intraday chart**
---
### 📊 Visual elements
* Histogram bar (green / red) indicating daily tradability
* Optional background highlight on the first bar of each new day
* Optional table showing:
* Choppiness values (1H / 4H)
* Choppy / not-choppy status
* Falling expansion state
* DRB / contraction filter status
---
### 🎯 How to use it
This indicator is **not a trading strategy** and does **not provide entries**.
It is best used as:
* A **pre-market filter**
* A **“trade / no-trade” switch**
* A **risk and expectation management tool**
Typical usage:
* Trade breakout and trend strategies **only on green days**
* Reduce size or avoid trading entirely on red days
* Combine with your existing setups (London Breakout, NY session, trend continuation, etc.)
---
### ⚠️ Notes
* Designed and optimized for **Gold (XAUUSD)** but works on other instruments
* Uses higher-timeframe context to protect against intraday noise
* Especially useful for traders who struggle with **overtrading in ranges**
---
### ✅ Summary
This indicator helps you **stay out of bad days**, not chase more trades.
Sometimes, **the best trade is not trading at all**.
This indicator is designed to answer one simple but critical question **before trading begins**:
**Is today a day worth trading, or is the market too choppy?**
Instead of generating entries or signals, this tool acts as a **daily market condition filter**. It helps traders avoid low-quality sessions where breakouts fail and price action is dominated by noise and mean-reversion.
---
### 🔍 What the indicator does
The script evaluates **market tradability once per day**, based on **yesterday’s completed data**, and then locks that decision for the entire trading day.
It combines two independent concepts:
#### 1️⃣ Choppiness Analysis (core logic)
* Calculates the **Choppiness Index** on **1H and 4H timeframes**
* Detects whether the market is:
* **Trending / expanding** (low & falling choppiness)
* **Range-bound / noisy** (high choppiness)
* Optional requirement that choppiness must be **falling** (early expansion phase)
#### 2️⃣ Daily Range Contraction (optional filter)
* Detects **NR days** (narrowest range in N days)
* Detects **ADR contraction** (yesterday’s range significantly smaller than normal)
* Used to identify potential **breakout-ready environments**
Both components are combined into a single **daily tradability decision**.
---
### 🟢 / 🔴 Output logic
* **Green bar** → Market is considered **tradable**
* **Red bar** → Market is **not tradable** (choppy / low quality)
Important characteristics:
* **Exactly one bar per day**
* No intraday repainting
* Decision is locked using **yesterday’s final data**
* Designed to be used on **any intraday chart**
---
### 📊 Visual elements
* Histogram bar (green / red) indicating daily tradability
* Optional background highlight on the first bar of each new day
* Optional table showing:
* Choppiness values (1H / 4H)
* Choppy / not-choppy status
* Falling expansion state
* DRB / contraction filter status
---
### 🎯 How to use it
This indicator is **not a trading strategy** and does **not provide entries**.
It is best used as:
* A **pre-market filter**
* A **“trade / no-trade” switch**
* A **risk and expectation management tool**
Typical usage:
* Trade breakout and trend strategies **only on green days**
* Reduce size or avoid trading entirely on red days
* Combine with your existing setups (London Breakout, NY session, trend continuation, etc.)
---
### ⚠️ Notes
* Designed and optimized for **Gold (XAUUSD)** but works on other instruments
* Uses higher-timeframe context to protect against intraday noise
* Especially useful for traders who struggle with **overtrading in ranges**
---
### ✅ Summary
This indicator helps you **stay out of bad days**, not chase more trades.
Sometimes, **the best trade is not trading at all**.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。