OPEN-SOURCE SCRIPT
Prev Day High/Low - RTH Only

This indicator displays the previous day’s Regular Trading Hours (RTH) high and low levels on your chart, but only during the next day’s RTH session — keeping your charts clean while highlighting the most relevant price zones.
🔧 Features:
RTH Timing: 09:30 to 16:00 (New York time)
Auto-Detection: Automatically tracks the high and low of each RTH session
Next-Day Visibility: Lines are only shown during the following day’s RTH session
Minimal Chart Clutter: Levels disappear after the session ends, keeping focus on what's relevant
Clear Labels: Optional “Prev High” and “Prev Low” markers at market open
📊 Use Case:
Perfect for intraday and 0DTE options traders who rely on prior session key levels for:
Breakout trades
Reversal setups
Support/resistance confluence
These levels are often respected by institutions and algo flows, making them highly actionable when approached in the next RTH session.
🧠 Why This Matters:
Many traders overpopulate their charts with persistent support/resistance lines. This script keeps only what’s essential — the previous day’s RTH range — and only when it matters most: the following day’s active market hours.
🔧 Features:
RTH Timing: 09:30 to 16:00 (New York time)
Auto-Detection: Automatically tracks the high and low of each RTH session
Next-Day Visibility: Lines are only shown during the following day’s RTH session
Minimal Chart Clutter: Levels disappear after the session ends, keeping focus on what's relevant
Clear Labels: Optional “Prev High” and “Prev Low” markers at market open
📊 Use Case:
Perfect for intraday and 0DTE options traders who rely on prior session key levels for:
Breakout trades
Reversal setups
Support/resistance confluence
These levels are often respected by institutions and algo flows, making them highly actionable when approached in the next RTH session.
🧠 Why This Matters:
Many traders overpopulate their charts with persistent support/resistance lines. This script keeps only what’s essential — the previous day’s RTH range — and only when it matters most: the following day’s active market hours.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.