OPEN-SOURCE SCRIPT
RTH Previous Day OHLC

RTH Previous Day OHLC
This indicator displays an OHLC panel (Open, High, Low, Close) based on the previous day's Regular Trading Hours session of the New York Stock Exchange (RTH: 9:30 AM - 4:00 PM NY time).
What it displays:
📅 The date of the previous trading day
🟠 Open: opening price at 9:30 AM NY
🔴 High: session high
🟢 Low: session low
🔵 Close: closing price at 4:00 PM NY
Why this indicator?
Previous day levels (High, Low, Open, Close) are key references used by many traders to identify support and resistance zones, as well as potential entry points at the start of a new session. Having these levels permanently displayed in a clean panel allows you to keep them in sight at all times, regardless of the timeframe you are using. No more looking up yesterday's levels every morning on specialized platforms or manually scrolling through your chart, everything is right there, automatically updated every day.
Features:
Panel positioned in the top right corner of the chart
Fully customizable colors for each level
Adjustable text size (tiny, small, normal, large)
Works on all instruments and all timeframes
The date displayed always reflects the previous trading day
Compatible with: Stocks, indices, futures, forex and crypto.
This indicator displays an OHLC panel (Open, High, Low, Close) based on the previous day's Regular Trading Hours session of the New York Stock Exchange (RTH: 9:30 AM - 4:00 PM NY time).
What it displays:
📅 The date of the previous trading day
🟠 Open: opening price at 9:30 AM NY
🔴 High: session high
🟢 Low: session low
🔵 Close: closing price at 4:00 PM NY
Why this indicator?
Previous day levels (High, Low, Open, Close) are key references used by many traders to identify support and resistance zones, as well as potential entry points at the start of a new session. Having these levels permanently displayed in a clean panel allows you to keep them in sight at all times, regardless of the timeframe you are using. No more looking up yesterday's levels every morning on specialized platforms or manually scrolling through your chart, everything is right there, automatically updated every day.
Features:
Panel positioned in the top right corner of the chart
Fully customizable colors for each level
Adjustable text size (tiny, small, normal, large)
Works on all instruments and all timeframes
The date displayed always reflects the previous trading day
Compatible with: Stocks, indices, futures, forex and crypto.
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.