OPEN-SOURCE SCRIPT

DRACO Tomas Delta (Custom/Monthly)

88
🐉 DRACO Delta SessionBox (Custom / Monthly)
Overview

The DRACO Delta SessionBox is an advanced visual and analytical tool designed to measure and display cumulative buying and selling pressure (Δ — delta) within a user-defined time window, such as a specific custom date range, a recurring monthly period, or the entire current month.

It visually represents market accumulation or distribution phases by calculating an approximate delta — the imbalance between bullish and bearish volume — and then aggregates it inside a dynamic “box” that spans only the selected time window.

Core Concept

Delta in this context is an approximation of the real order-flow delta (buy vs sell volume difference).
Since TradingView doesn’t provide raw tick-by-tick trade direction data, this indicator uses a proxy formula based on OHLC and volume data:

Δ per bar
=
Volume
×
(
Close

Open
)
max

(
High

Low
,
Tick Size
)
Δ per bar=Volume×
max(High−Low,Tick Size)
(Close−Open)



This gives a very effective approximation of intrabar directional pressure — whether volume was dominated by buyers (Δ > 0) or sellers (Δ < 0).

Modes

The indicator can operate in three distinct modes:

🕒 Custom DateTime

The user manually sets an exact date & time range (From – To).

The box only measures delta and volume accumulation within this window.

Ideal for analyzing specific events, like FOMC weeks, quarterly earnings, or macro periods.

📆 Monthly Window

The user selects start and end days of the month (e.g. 5–20).

The same window repeats automatically every month.

Useful for identifying recurring accumulation or distribution cycles within months.

🧭 Whole Month

Automatically measures and visualizes delta for the entire current calendar month.

The box resets when a new month begins.

Provides a macro-level view of monthly directional bias.

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.