OPEN-SOURCE SCRIPT
Pre-Market + Daily + Weekly REGULAR HOURS

📦 Pre-Market + Daily + Weekly RTH Range Boxes
This indicator automatically plots Pre-Market, Daily, and Weekly range boxes based strictly on US Regular Trading Hours (RTH).
What it does:
Pre-Market Box (04:00–09:30)
Captures the full pre-market high and low, then projects the range forward from the RTH open.
Daily RTH Box (09:30–16:00)
Tracks the previous day’s regular session high and low and plots the range starting at 04:00 AM the next day.
Weekly RTH Box (Mon–Fri, 09:30–16:00)
Accumulates the full weekly RTH range and plots it at 04:00 AM on Monday.
This indicator automatically plots Pre-Market, Daily, and Weekly range boxes based strictly on US Regular Trading Hours (RTH).
What it does:
Pre-Market Box (04:00–09:30)
Captures the full pre-market high and low, then projects the range forward from the RTH open.
Daily RTH Box (09:30–16:00)
Tracks the previous day’s regular session high and low and plots the range starting at 04:00 AM the next day.
Weekly RTH Box (Mon–Fri, 09:30–16:00)
Accumulates the full weekly RTH range and plots it at 04:00 AM on Monday.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.