OPEN-SOURCE SCRIPT
Customizable Range Box

📦 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
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
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Bullish above, bearish below. No thinking.
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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Bullish above, bearish below. No thinking.
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.