OPEN-SOURCE SCRIPT
Cập nhật Weekly & Daily Reference Levels

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. :)
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. :)
Phát hành các Ghi chú
{Logic Fix}Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.