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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.