PROTECTED SOURCE SCRIPT

Avg Candle Size in Ticks (with Thresholds)

21
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

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.