OPEN-SOURCE SCRIPT
ที่อัปเดต: 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. :)
Release Note
{Logic Fix}สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน