OPEN-SOURCE SCRIPT
Aggiornato

Open Range Breakout

50
Open Range Breakout (ORB)

The Open Range Breakout (ORB) is a classic intraday strategy used across stocks, indices, FX and futures. It focuses on how price behaves during the first minutes of a major session, when liquidity and volatility are highest.
This indicator fully automates the ORB process with session detection, box drawing, breakout & retest logic, and final Buy/Sell signals.

Multi-Session Support

Choose between the three most important global opens:

Asia (Tokyo) – JPY pairs, Asian indices, gold, crypto

London – FX majors, European indices, strong volatility

New York – US indices, USD pairs, gold, oil, highest volume

The Opening Range is calculated only during the selected session.

ORB Range (5 / 15 / 30 min)

The indicator builds the ORB High/Low from the first X minutes of the session, draws the box, and waits for price action once the range is complete.

How It Works

ORB Window → High/Low of the opening minutes are recorded.

Breakout → Price closes above/below the ORB → “BREAKOUT” label.

Retest → Price returns to the ORB box → “RETEST” label.

Confirmation Levels Freeze → Upper/lower structure set.

Final Signal

Close above frozen upper level → BUY

Close below frozen lower level → SELL

This filters out false breakouts and provides structured continuation signals.

Alerts

Includes built-in alert conditions for:

ORB BUY Signal

ORB SELL Signal

Alerts trigger exactly when the Buy or Sell label appears.

Works On

Stocks & indices

Forex

Futures
Note di rilascio
bugs

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.