OPEN-SOURCE SCRIPT
Updated Previous Levels Clustered (PDH/PDL/PWH/PWL/PMH/PML)

This indicator helps traders visualize key previous price levels by automatically plotting:
PDH – Previous Day High
PDL – Previous Day Low
PWH – Previous Week High
PWL – Previous Week Low
PMH – Previous Month High
PML – Previous Month Low
Each level is:
Marked from the exact candle where it occurred
Drawn with a short horizontal line extending to the right
Labeled clearly for quick recognition (PDH, PWL, etc.)
Updated only once per new session/week/month to reduce chart clutter
⚙️ Features:
Toggle visibility of each level type (PD / PW / PM)
Customize rightward offset for label placement
No repetition — only current valid levels are shown
PDH – Previous Day High
PDL – Previous Day Low
PWH – Previous Week High
PWL – Previous Week Low
PMH – Previous Month High
PML – Previous Month Low
Each level is:
Marked from the exact candle where it occurred
Drawn with a short horizontal line extending to the right
Labeled clearly for quick recognition (PDH, PWL, etc.)
Updated only once per new session/week/month to reduce chart clutter
⚙️ Features:
Toggle visibility of each level type (PD / PW / PM)
Customize rightward offset for label placement
No repetition — only current valid levels are shown
Release Notes
Now you can mark current period high/lowOpen-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.
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.
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.