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. اقرأ المزيد في شروط الاستخدام.