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 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.