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 автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.