OPEN-SOURCE SCRIPT
Prior Day & Week High/Low

This indicator automatically plots the most important price reference levels directly on your chart no manual drawing required.
Daily Levels (white)
PDH / PDL – Previous Day High and Low
HOD / LOD – High and Low of the current trading day
Weekly Levels (yellow)
PWH / PWL – Previous Week High and Low
HOW / LOW – High and Low of the current trading week
Each level is displayed as a horizontal line extending from the bar where the high or low was formed to the right edge of the chart, paired with a clearly labeled tag for quick identification. All eight levels can be toggled on or off individually in the settings, and the colors for daily and weekly levels are fully customizable.
Use cases: Ideal for identifying key support and resistance zones, planning entries and exits around institutional reference points, and tracking intraday price action relative to prior session extremes.
Daily Levels (white)
PDH / PDL – Previous Day High and Low
HOD / LOD – High and Low of the current trading day
Weekly Levels (yellow)
PWH / PWL – Previous Week High and Low
HOW / LOW – High and Low of the current trading week
Each level is displayed as a horizontal line extending from the bar where the high or low was formed to the right edge of the chart, paired with a clearly labeled tag for quick identification. All eight levels can be toggled on or off individually in the settings, and the colors for daily and weekly levels are fully customizable.
Use cases: Ideal for identifying key support and resistance zones, planning entries and exits around institutional reference points, and tracking intraday price action relative to prior session extremes.
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.
ORDERFLOW ACADEMY
Professional Indicators & Strategies for Every Market.
orderflow-academy.com
Professional Indicators & Strategies for Every Market.
orderflow-academy.com
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.
ORDERFLOW ACADEMY
Professional Indicators & Strategies for Every Market.
orderflow-academy.com
Professional Indicators & Strategies for Every Market.
orderflow-academy.com
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.