OPEN-SOURCE SCRIPT

Hamaada Range

102
This indicator plots the Daily DR/IDR range (19:30–23:00 NY) for each weekday, Monday to Friday.
It automatically draws the Daily Range (DR) and Initial Daily Range (IDR) highs, lows, midlines, and opening price.
Each day’s DR/IDR box extends into the following session for clarity and projection.
All lines and colors are fully customizable per-day.
Tracks 3-bar swings after the DR window closes.
Automatically detects when price violates the DR high or low.
Draws a “Swing Violation Line” from the last valid swing to the end of the extension period.
Friday DR extends to next Monday and supports cross-week swing violation detection.
Background shading, labels, and opening lines are optional.
Designed for precision session modeling in NY timezone (America/New_York recommended).

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.