OPEN-SOURCE SCRIPT
Ash — ORB / Premkt / PrevDay (Set Lines)

This indicator automatically plots three of the most important intraday reference levels for day traders:
✅ 15-Minute Opening Range Breakout (ORB)
Captures the high and low of the first 15 minutes after the regular session open (9:30–9:45 EST).
Levels are locked in at 9:45 and extend across the rest of the trading day until the close (16:00 EST).
✅ Premarket High & Low
Tracks the overnight/pre-market session (default: 04:00–09:30 EST).
At the opening bell, the premarket high and low are fixed and extended across the regular session until close.
✅ Previous Day High & Low
Uses the prior day’s regular trading session high and low.
Plotted automatically at today’s open and extended across the full session.
🔹 Why it’s useful:
Quickly see areas of potential support, resistance, and breakout zones.
Helps identify confluence between ORB, premarket, and previous day levels.
Designed to stay clean and locked — lines do not repaint or “walk forward” candle by candle.
Keeps only the last N days of levels (default: 20) for a clear chart without clutter.
⚙️ Customization:
Toggle on/off each group of levels (ORB, Premarket, Previous Day).
Full control over colors and line thickness.
Adjustable number of historical days to keep.
📌 Best For:
Day traders and scalpers using ORB strategies, VWAP confluence, or supply & demand analysis. Works on stocks, ETFs, futures, and crypto with extended hours enabled.
✅ 15-Minute Opening Range Breakout (ORB)
Captures the high and low of the first 15 minutes after the regular session open (9:30–9:45 EST).
Levels are locked in at 9:45 and extend across the rest of the trading day until the close (16:00 EST).
✅ Premarket High & Low
Tracks the overnight/pre-market session (default: 04:00–09:30 EST).
At the opening bell, the premarket high and low are fixed and extended across the regular session until close.
✅ Previous Day High & Low
Uses the prior day’s regular trading session high and low.
Plotted automatically at today’s open and extended across the full session.
🔹 Why it’s useful:
Quickly see areas of potential support, resistance, and breakout zones.
Helps identify confluence between ORB, premarket, and previous day levels.
Designed to stay clean and locked — lines do not repaint or “walk forward” candle by candle.
Keeps only the last N days of levels (default: 20) for a clear chart without clutter.
⚙️ Customization:
Toggle on/off each group of levels (ORB, Premarket, Previous Day).
Full control over colors and line thickness.
Adjustable number of historical days to keep.
📌 Best For:
Day traders and scalpers using ORB strategies, VWAP confluence, or supply & demand analysis. Works on stocks, ETFs, futures, and crypto with extended hours enabled.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.