INVITE-ONLY SCRIPT

DR/IDR Sessions with Standard Deviation (v1.5)

37
This indicator plots the Defining Range (DR) and Initial Defining Range (IDR) during Regular, After, and Overnight sessions. It automatically identifies the session highs, lows, and midpoints, then extends these levels into later trading hours for market structure analysis.

Key features:

📍 Session Detection: Automatically marks Regular (RDR), After-hours (ADR), and Overnight (ODR) ranges.

📈 DR & IDR Lines: High, Low, and optional Mid lines for both DR and IDR.

🟩 Opening Line: Plots the session’s opening price with customizable extension options.

🎨 Visual Boxes: Highlights the DR/IDR area with customizable up/down coloring (based on candle open/close).

➕ Standard Deviation Lines: Plots levels at multiples of 0.5 × IDR, either dynamically (following price) or statically (fixed number of levels).

⏳ Extend Options: Extend ranges to session end, ADR end, ODR end, or dynamically follow price.

⚙️ Highly Customizable: Colors, line styles, box shading, visibility history, and extension behavior.

Usage:
Traders use this indicator to analyze liquidity, session ranges, and potential breakout or mean-reversion zones. The DR/IDR concept is often used in ICT-style trading to identify accumulation ranges and expansion phases. Standard Deviation lines help in spotting overextensions and possible reversal levels.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.