PROTECTED SOURCE SCRIPT
Avg Candle Size in Ticks (with Thresholds)

This indicator measures and displays the average size of candles in ticks over a user-defined number of recent bars. It works by calculating the difference between the high and low of each candle, converting that into ticks based on a specified tick size, and then averaging those values over the chosen period. The result is shown in a floating table on the chart, rounded to one decimal place for clarity.
To help traders assess market volatility at a glance, the background color of the table changes dynamically based on two thresholds: a caution threshold and a danger threshold. If the average tick size drops below the danger level, the background turns red. If it’s between the caution and danger thresholds, it turns orange. Otherwise, it stays a neutral color. All three states use customizable colors, making the indicator flexible for different visual preferences.
Update 16-5-2025:
Updated with rounded Tick-sizes: xx.x
Also updated with another treshold that detects
To help traders assess market volatility at a glance, the background color of the table changes dynamically based on two thresholds: a caution threshold and a danger threshold. If the average tick size drops below the danger level, the background turns red. If it’s between the caution and danger thresholds, it turns orange. Otherwise, it stays a neutral color. All three states use customizable colors, making the indicator flexible for different visual preferences.
Update 16-5-2025:
Updated with rounded Tick-sizes: xx.x
Also updated with another treshold that detects
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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 dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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.