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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.