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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.