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.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
סקריפט קוד פתוח
ברוח TradingView אמיתית, היוצר של הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יכולים לבדוק ולאמת את הפונקציונליות שלו. כל הכבוד למחבר! למרות שאתה יכול להשתמש בו בחינם, זכור שפרסום מחדש של הקוד כפוף לכללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.