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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.