OPEN-SOURCE SCRIPT
5-Minute Opening Range Breakout (ORB) - NY Session Indicator

This TradingView indicator identifies and plots the Opening Range Breakout (ORB) based on the first 5-minute candle of the New York trading session.
Key Features:
How It Works:
The indicator measures the distance between the ORB high and midpoint, then projects additional targets at equal intervals above the high (bullish targets in green) and below the low (bearish targets in red).
Why Use a 5-Minute ORB?
Best Practices:
Key Features:
- Automatic Detection: Automatically detects the NY session open (default 9:30 AM ET, fully customizable) and captures the high/low of the first 5-minute bar
- Multi-Timeframe Support: Works on any chart timeframe (1-min, 3-min, 15-min, etc.) by requesting 5-minute data
- Dynamic Price Targets: Calculates both bullish (above ORB high) and bearish (below ORB low) price targets based on the opening range size
- Configurable Targets: Set up to 10 price target levels on each side, with targets spaced proportionally to the ORB range
- Extended Lines: All lines automatically extend ahead of the current bar by a configurable number of minutes for better forward visibility
- Price Labels: Optional price labels display exact values at the end of each level
- Midpoint Line: Optional dashed midpoint line shows the center of the opening range
- Custom Styling: Fully customizable colors and transparency for all lines and labels
How It Works:
The indicator measures the distance between the ORB high and midpoint, then projects additional targets at equal intervals above the high (bullish targets in green) and below the low (bearish targets in red).
Why Use a 5-Minute ORB?
- Tighter Range: The 5-minute opening range is typically smaller than the 15-minute range, providing more precise entry and exit levels
- Earlier Signals: Breakouts are identified sooner, allowing for faster reaction times
- Scalping-Friendly: Ideal for day traders and scalpers who prefer shorter timeframes and quicker price movements
- Higher Probability Zones: The narrower range often creates more reliable support/resistance levels for intraday trading
Best Practices:
- Works best on liquid instruments with high volume during NY session open
- Combine with volume analysis to confirm breakout validity
- Consider using the first target as a take-profit level for quick scalps
- Watch for false breakouts within the first 15-30 minutes of the session
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.