OPEN-SOURCE SCRIPT
ChopScore

📝 Script Description: ChopScore – Candle-Based Choppiness Indicator
The ChopScore indicator helps traders assess the cleanliness and quality of recent price action by analyzing the relationship between candle body size and overall candle range (high-low).
Unlike traditional volatility or trend indicators, ChopScore does not assume trend direction. Instead, it focuses on how "clean" or "choppy" the price movement is, helping traders spot scrips and environments prone to shakeouts, fakeouts, or stop hunts.
📊 How It Works:
The current score is displayed in a table on the chart, with colors indicating the choppiness level:
🔵 < 50: Cleaner price action (lower shakeout risk)
🟢 50–54.99: Moderate
🟠 55–59.99: Messier price action
🔴 ≥ 60: Very choppy (high shakeout potential)
⚙️ Inputs:
🎯 Use Case:
Use ChopScore to:
📌 Notes:
The ChopScore indicator helps traders assess the cleanliness and quality of recent price action by analyzing the relationship between candle body size and overall candle range (high-low).
Unlike traditional volatility or trend indicators, ChopScore does not assume trend direction. Instead, it focuses on how "clean" or "choppy" the price movement is, helping traders spot scrips and environments prone to shakeouts, fakeouts, or stop hunts.
📊 How It Works:
- Calculates a custom choppiness score based on the ratio of the candle body to its full range (wicks included).
- A smoothed average is plotted over a user-defined lookback period
The current score is displayed in a table on the chart, with colors indicating the choppiness level:
🔵 < 50: Cleaner price action (lower shakeout risk)
🟢 50–54.99: Moderate
🟠 55–59.99: Messier price action
🔴 ≥ 60: Very choppy (high shakeout potential)
⚙️ Inputs:
- Lookback Period – Controls how many bars are used for averaging the choppiness.
- Table Position – Choose where the score appears on the chart.
🎯 Use Case:
Use ChopScore to:
- Identify scrips where price action is clean and decisive (e.g., safer entries).
- Avoid scrips noise and shakeout potential.
- Complement trend/momentum indicators without confusing direction with structure.
📌 Notes:
- This script is for educational purposes and does not provide buy/sell signals.
- Always confirm with additional tools or analysis before trading decisions.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。