OPEN-SOURCE SCRIPT
Updated DARWISH Trading

DARWISH Trading is a precision-focused indicator designed to map institutional liquidity and session ranges without cluttering your chart. It anchors high-timeframe (HTF) levels directly to historical wicks, ensuring rays never extend to the left of their origin.
Core Features
Core Features
- Wick-Anchored Levels: Automatically identifies and draws rays for PDH/PDL, PWH/PWL, and P4H/P4L starting exactly at the high/low candle.
- Asian Session Boxes: Highlights the initial daily range (18:00–00:00 EST) using transparent blue boxes (#4B6EEC) to identify liquidity zones.
- Deep-Search Engine: Scans up to 5,000 bars to maintain level accuracy even when zooming into 1-minute timeframes.
- Smart Visibility: Includes toggles to hide/show elements on specific timeframes (Seconds, Minutes, Hours, Days) to prevent "huge boxes" on high timeframes.
- Surgical Layout: Lines stop at a custom margin before the label, creating a clean "segment" look.
Release Notes
V2.Release Notes
V3Open-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.