OPEN-SOURCE SCRIPT
Previous Day OHLC Levels

This indicator displays the Previous Day High (PDH), Previous Day Low (PDL), Previous Day Open (PDO), and Previous Day Close (PDC) on the current trading day.
The levels automatically update when a new day begins, with previous levels removed to keep the chart clean and focused.
Useful for identifying key daily support and resistance levels, liquidity areas, breakouts, and potential trade setups.
Features:
Previous Day High (PDH)
Previous Day Low (PDL)
Previous Day Open (PDO)
Previous Day Close (PDC)
Automatically updates each new day
Only the current previous-day levels are displayed
Customisable colours, line styles, and labels
Designed for traders who want a clean and simple view of the previous day's key price levels.
The levels automatically update when a new day begins, with previous levels removed to keep the chart clean and focused.
Useful for identifying key daily support and resistance levels, liquidity areas, breakouts, and potential trade setups.
Features:
Previous Day High (PDH)
Previous Day Low (PDL)
Previous Day Open (PDO)
Previous Day Close (PDC)
Automatically updates each new day
Only the current previous-day levels are displayed
Customisable colours, line styles, and labels
Designed for traders who want a clean and simple view of the previous day's key price levels.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.