OPEN-SOURCE SCRIPT

Customizable Range Box

37
📦 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

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.