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.
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.
ORDERFLOW ACADEMY
Professional Indicators & Strategies for Every Market.
orderflow-academy.com
Professional Indicators & Strategies for Every Market.
orderflow-academy.com
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.
ORDERFLOW ACADEMY
Professional Indicators & Strategies for Every Market.
orderflow-academy.com
Professional Indicators & Strategies for Every Market.
orderflow-academy.com
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.