ORB-X v6 (Dashed OR Lines)

WHAT THE SCRIPT DOES
• Draws the opening range: tracks the highest high and lowest low from 09:30 to 09:45 ET (or any custom window you set) and projects two yellow dashed lines across the rest of the session.
• Alerts:
– “ORB Breakout Up” fires when price closes above the OR-High.
– “ORB Breakout Down” fires when price closes below the OR-Low.
• Screener-ready output: a hidden series called ORB_Long_OK equals “1” on bars where the long breakout is valid. Add this column in TradingView’s Stock Screener and filter “≠ NA” to see a live list of breakouts.
• Fully editable: change session start, opening-range length, colours and line styles in the settings.
QUICK-START GUIDE
Add the script to any chart (Indicators → My Scripts → ORB-X v6).
Wait for the first 15-minute window to close; two dashed yellow lines will appear.
(Optional) Set an alert:
• Alerts → Create Alert → Condition = “ORB Breakout Up” (or Down) → choose “Once per bar close”.
Build a Stock Screener watch-list:
• Open Stock Screener.
• Filters: Exchange = NASDAQ + NYSE, set any price band you like (for example 3 to 6 USD).
• Columns (gear icon) → Indicators → tick ORB_Long_OK.
• Hover the ORB_Long_OK header → funnel icon → choose “≠ NA”.
Now the table lists only tickers whose latest closed bar has broken above their 15-minute OR-High.
USER INPUTS
• Session Start Hour / Minute (default 09:30 ET) – first bar of the range
• Range Length (minutes) (default 15) – how long to measure highs/lows
• Line colours and styles – purely cosmetic
TYPICAL WORKFLOW
Premarket: scan for liquid gappers and momentum names.
09:30–09:45 ET: let ORB-X mark the range; no trades yet.
After 09:45: trade only symbols that close above their OR-High (ORB_Long_OK = 1) using your own risk rules (e.g. stop just below the high).
End of day: journal the results and refine.
DISCLAIMER
This indicator is for educational purposes only and is not financial advice. Test on a demo account first and always use proper risk management.
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.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
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.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.