PROTECTED SOURCE SCRIPT
DRACO DateTime Range Box — DELTA

📘 Title
DRACO DateTime Range Box — Stable Δ (Fixed Bottom, Extend-Right)
🔹 Short Description
A single stable range box from a custom start date and time.
The box locks its bottom to the first candle’s low, expands the top to the highest high, and accumulates Bars / Volume / Net Δ (buyers vs sellers).
Anchored to time (xloc.bar_time) so it stays stable and does not drift when zooming.
🔹 Full Description
What it does
DRACO DateTime Range Box — Stable Δ draws one clean, session-like box between any two dates and times you choose.
The bottom is fixed to the first in-range candle’s low (never moves).
The top expands dynamically to the highest high within the range.
The indicator accumulates:
• Bars – total candle count
• Volume – summed traded volume
• Net Δ (delta) – buyers vs sellers dominance
All geometry is anchored by real time (xloc.bar_time), ensuring perfect stability during zooming or resizing.
Optional extend-right mode continues the high and low levels into the future as guide lines.
Typical Use Cases
Accumulation / distribution analysis within a fixed time window.
Identifying who dominated the period — buyers (+) or sellers (−).
Spotting large-scale range phases or institutional accumulation.
Using the extended high/low as future support/resistance reference.
Delta Calculation (Proxy)
Δ
𝑏
𝑎
𝑟
≈
𝑉
𝑜
𝑙
𝑢
𝑚
𝑒
×
(
𝐶
𝑙
𝑜
𝑠
𝑒
−
𝑂
𝑝
𝑒
𝑛
)
max
(
𝐻
𝑖
𝑔
ℎ
−
𝐿
𝑜
𝑤
,
𝑡
𝑖
𝑐
𝑘
)
Δ
bar
≈Volume×
max(High−Low,tick)
(Close−Open)
Each bar’s Δ is clamped between −Volume and +Volume.
This provides a lightweight approximation of order-flow delta without needing raw tick data.
🔹 How to Use
Select your preferred Time Zone (Exchange / UTC / Europe/London).
Choose a precise From Date & Time.
Optionally enable Use End Date/Time to fix the end of the range.
Turn on Extend High/Low to the Right if you want future S/R lines.
Observe the bottom label:
Bars | Volume | Net Δ (+/−) (Buyers or Sellers)
🔹 Key Inputs
Date & Time Range
Time Zone — controls timestamp alignment
From — start date and time
Use End Date/Time — optional fixed range end
Box Settings
Border Color / Fill Color while active
Extend High/Low to Right — continues levels beyond the current bar
Bottom Label
Displays live metrics (Bars / Volume / Net Δ)
Customizable text color, background, and size
🔹 Notes & Limitations
Δ here is an approximate proxy, not real order-flow.
For educational and analytical use only — not financial advice.
If the selected range has no candles, the box will not appear.
Refresh the chart after changing the time zone or From/To dates.
DRACO DateTime Range Box — Stable Δ (Fixed Bottom, Extend-Right)
🔹 Short Description
A single stable range box from a custom start date and time.
The box locks its bottom to the first candle’s low, expands the top to the highest high, and accumulates Bars / Volume / Net Δ (buyers vs sellers).
Anchored to time (xloc.bar_time) so it stays stable and does not drift when zooming.
🔹 Full Description
What it does
DRACO DateTime Range Box — Stable Δ draws one clean, session-like box between any two dates and times you choose.
The bottom is fixed to the first in-range candle’s low (never moves).
The top expands dynamically to the highest high within the range.
The indicator accumulates:
• Bars – total candle count
• Volume – summed traded volume
• Net Δ (delta) – buyers vs sellers dominance
All geometry is anchored by real time (xloc.bar_time), ensuring perfect stability during zooming or resizing.
Optional extend-right mode continues the high and low levels into the future as guide lines.
Typical Use Cases
Accumulation / distribution analysis within a fixed time window.
Identifying who dominated the period — buyers (+) or sellers (−).
Spotting large-scale range phases or institutional accumulation.
Using the extended high/low as future support/resistance reference.
Delta Calculation (Proxy)
Δ
𝑏
𝑎
𝑟
≈
𝑉
𝑜
𝑙
𝑢
𝑚
𝑒
×
(
𝐶
𝑙
𝑜
𝑠
𝑒
−
𝑂
𝑝
𝑒
𝑛
)
max
(
𝐻
𝑖
𝑔
ℎ
−
𝐿
𝑜
𝑤
,
𝑡
𝑖
𝑐
𝑘
)
Δ
bar
≈Volume×
max(High−Low,tick)
(Close−Open)
Each bar’s Δ is clamped between −Volume and +Volume.
This provides a lightweight approximation of order-flow delta without needing raw tick data.
🔹 How to Use
Select your preferred Time Zone (Exchange / UTC / Europe/London).
Choose a precise From Date & Time.
Optionally enable Use End Date/Time to fix the end of the range.
Turn on Extend High/Low to the Right if you want future S/R lines.
Observe the bottom label:
Bars | Volume | Net Δ (+/−) (Buyers or Sellers)
🔹 Key Inputs
Date & Time Range
Time Zone — controls timestamp alignment
From — start date and time
Use End Date/Time — optional fixed range end
Box Settings
Border Color / Fill Color while active
Extend High/Low to Right — continues levels beyond the current bar
Bottom Label
Displays live metrics (Bars / Volume / Net Δ)
Customizable text color, background, and size
🔹 Notes & Limitations
Δ here is an approximate proxy, not real order-flow.
For educational and analytical use only — not financial advice.
If the selected range has no candles, the box will not appear.
Refresh the chart after changing the time zone or From/To dates.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.