OPEN-SOURCE SCRIPT

STOC - Adaptive Opening Range Breakout

708
STOC Adaptive ORB is an Opening Range Breakout indicator designed to automatically build the opening range based on the active chart, market timing, and selected timeframe.

The indicator identifies the market’s opening range, plots the ORB high, ORB low, midpoint, breakout levels, and projected bullish/bearish targets. It is built for traders who want a clean, rule-based view of intraday breakout structure without manually adjusting the ORB session every time they switch symbols or timeframes.

Key Features

Adaptive Opening Range

The indicator automatically detects the market/session logic and builds the ORB from the opening period. It can be used across crypto, Indian markets, US stocks, and custom sessions.

Timeframe-Based ORB Length

The ORB duration adapts based on the chart timeframe. Lower timeframes use shorter ORB periods, while higher intraday timeframes use wider ORB windows.

Bullish and Bearish Breakout Detection

The indicator highlights when price breaks above the ORB high or below the ORB low.

Target Projection

The dashboard displays projected target values:

Bull T1, T2, T3
Bear T1, T2, T3

Targets are calculated using the opening range size as the base.

Clean Dashboard

The dashboard shows:

Market mode
Timezone
Open time
ORB length
ORB range
Bullish target values
Bearish target values
Bull breakout rate
Bear breakout rate

Visual ORB Zone

The opening range is clearly marked on the chart with a filled range box, making it easier to identify the breakout zone.

Multi-Market Use

Suitable for:
Crypto
NSE / BSE
US stocks
London market
Custom open sessions

How to Use

Use the ORB high and ORB low as the main breakout levels.

A bullish breakout happens when price moves above the ORB high.

A bearish breakout happens when price moves below the ORB low.

Bullish targets are plotted above the ORB high. Bearish targets are plotted below the ORB low.

The indicator is best used with additional confirmation such as trend, volume, VWAP, CPR, or higher-timeframe market structure.

Suggested Use Cases
Intraday breakout trading
Crypto session breakout tracking
Stock market opening range analysis
Backtesting ORB behavior across symbols
Identifying high-probability breakout zones
Tracking target levels after an ORB breakout
Best Timeframes

Recommended timeframes:

5m
15m
30m
1H

For crypto, it can also be used on 2H or 4H charts with wider ORB logic.

Disclaimer

This indicator is the intellectual property of Systematic Traders Official Club.Distribution, modification, or commercial use without permission is prohibited.

This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or trade signals.

The creator and Systematic Traders Official Club are not responsible for any financial losses resulting from the use of this indicator. Trading involves risk, and users should do their own research before making any trading decisions.

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.