OPEN-SOURCE SCRIPT
Telah dikemas kini 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
Nota Keluaran
Here’s a clean **description you can use when publishing** this script on TradingView:---
### 📦 **Customizable Range Box**
This script displays a dynamic label showing key intraday range statistics:
* **Current bar range**
* **Average range over a custom lookback**
* **Range as a percentage of average**
* **1.5x and 2x ATR levels**
---
### 🔧 **Features:**
* **ATR + Range-Based Stats**: Easily monitor volatility and bar expansion.
* **Color & Text Customization**: Choose your own label colors and sizes.
* **Position Toggle**: Snap label to the **top**, **middle**, or **bottom** of the chart view.
* **Side Control**: Position label on the **left** or **right** of the bar.
---
### 🧠 How It Helps:
Perfect for futures, crypto, and active traders who want quick reference to:
* Spot volatility spikes
* Compare today's range to average
* Frame stops or targets using ATR multiples
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Bullish above, bearish below. No thinking.
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 sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Bullish above, bearish below. No thinking.
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.