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**.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.