PROTECTED SOURCE SCRIPT

Full Candle Size Analyzer

22
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

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.