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 de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.