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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.