PROTECTED SOURCE SCRIPT

Multi-Session ORB (NY / London / Asia) — one indicator

90
Multi-Session ORB (NY / London / Asia)

What it does


This indicator plots the Opening Range Breakout (ORB) for three major sessions—New York, London, and Asia—in a single tool. For each session it:
• Captures the high/low of a fixed ORB window
◦ NY: 09:30–09:45 ET
◦ London: 03:00–03:15 ET
◦ Asia: 20:00–20:15 ET (handles midnight seamlessly)
• Draws a shaded box and high/low lines for that range.
• Extends the box to the right until a user-defined end time (default: NY→16:00, London→08:00, Asia→02:30).
• Triggers breakout alerts when price moves above the ORB high or below the ORB low during the active window.
All three sessions can be shown/hidden, recolored, and adjusted. A single Timezone input keeps the sessions aligned to your preference (default America/New_York).

How it works
1 During the session’s ORB window the script accumulates the session high/low.
2 When the window ends, the range becomes fixed (non-repainting).
3 While the extend window is active, the box’s right edge updates in real time; top/bottom remain fixed.
4 Breakout alerts fire only after the ORB window closes and within the extend window.

Inputs & customization
• Timezone (e.g., America/New_York).
• Show/Hide: NY, London, Asia.
• Session windows: ORB and Extend-Until times per session.
• Colors & transparency per session.
Works on any chart timeframe.

Alerts (ready-made)
Add alerts from the indicator’s panel and pick:
• NY ORB Breakout UP / DOWN
• London ORB Breakout UP / DOWN
• Asia ORB Breakout UP / DOWN
Tip: choose “Once per bar” for intrabar notifications or “Once per bar close” if you only want confirmed breaks.

Suggested use
• Use the ORB as a structure filter: only take longs above the ORB high / shorts below the ORB low.
• Combine with your trend/flow tool (e.g., EMA 9/20 or your “Traffic Lights”) for directional confirmation.
• Treat the ORB box as an intraday map—support/resistance, partial targets, and invalidation levels.

Note: Times are editable to match your market hours. The Asia session spans midnight by design; the box continues cleanly into the next day’s session until the chosen end time.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.