OPEN-SOURCE SCRIPT
Hamaada Range

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).
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).
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.