PROTECTED SOURCE SCRIPT

Full Candle Size Analyzer

19
Full Candle Size Analyzer – Volatility-Based Candle Detector
This script helps traders visually and programmatically detect large candles based on price range volatility. It calculates the candle size as High - Low, then compares it against the average size over a user-defined period. The result is a powerful, visual volatility filter that:

✅ Colors candles red when their size exceeds a set multiple of the average

✅ Highlights the background when candle size surpasses a more aggressive alert threshold

✅ Plots both the current candle size and the average size in a sub-pane (optional toggle)

✅ Offers a built-in alert condition to catch large moves programmatically

📌 How to Use:
Choose your averaging period (e.g., 20 candles)

Adjust thresholds:

For visual coloring (e.g., 1.5× average)

For alerts and background highlight (e.g., 2.0× average)

Optionally toggle line plots to view candle size trends over time

📈 Trading Use Cases:
Detect volatility breakouts

Avoid entry during extreme candle ranges

Spot exhaustion candles or fakeouts

Filter false signals in ranging markets

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.