OPEN-SOURCE SCRIPT
Updated

Weekly & Daily Reference Levels

802
Weekly & Daily Reference Levels (ICT)

Plots and labels six key price reference levels drawn directly from ICT methodology — Current Week High/Low (CWH/CWL), Previous Week High/Low (PWH/PWL), and Previous Day High/Low (PDH/PDL) — giving you a clean, always-updated map of where liquidity is resting and where price has been engineered from.
CWH and CWL update live as the week develops, acting as your active buy-side and sell-side liquidity references. PWH and PWL lock at the weekly close and serve as the higher-timeframe draw targets framing the current week's range. PDH and PDL reset each day, giving you the prior session's engineered liquidity for the current trading day — the levels most likely to be swept before any meaningful directional move.
When two or more levels coincide within a configurable price threshold, their labels automatically merge into a single combined label — so instead of stacked text you get one clean read like CWH + PDH directly on the line. The moment those levels separate, the labels split back out independently. No overlaps, no clutter, no manual cleanup required.
Built to stay readable on a white background at any scalping timeframe from 1m to 15m. Solid lines for active levels, dotted for reference levels, and a strict one-label-per-line rule enforced throughout.
Displays: CWH · CWL · PWH · PWL · PDH · PDL — nothing else.

Enjoy. :)
Release Notes
{Logic Fix}

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.