OPEN-SOURCE SCRIPT

Customizable Range Box

55
📦 Customizable Range Box (with Dynamic Chart Placement)
Description:

The Customizable Range Box is a versatile tool for visualizing candle range dynamics directly on the chart, now positioned at the top of the visible price area for better readability and reduced clutter.

🔍 Features:
📊 Real-Time Range Analysis:

Displays the current candle’s range

Compares to the average range over a set lookback period

Shows ATR, 1.5× ATR, and 2× ATR thresholds for volatility context

🎯 Dynamic Chart-Top Label Positioning:

Automatically floats the label above the chart’s visible price range

Keeps the label unobstructed regardless of zoom or bar size

🎨 Customizable Appearance:

Toggle label position: Top, Middle, or Bottom of candle (if desired)

Choose left/right label alignment

Set label text size: Small → Huge

Customize text color and background box color

🛠️ Ideal Use Cases:
Spotting volatility spikes or compressed bars

Comparing candles to historical range behavior

Identifying bars likely to trigger breakouts or traps

Enhancing discretionary entries with quantified context

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.