OPEN-SOURCE SCRIPT
5m/15m ORB Boxes, Colors & 4-Layer Star

Title: 5m/15m Opening Range Breakout (ORB) with Confirmation Logic
Description:
This indicator is designed to visualize and trade the classic Opening Range Breakout (ORB) strategy, specifically optimized for high-volatility morning sessions on indices and equities.
Instead of relying on a single timeframe, this script dynamically plots both the initial 5-minute reaction and the more established 15-minute range, allowing traders to monitor early momentum while filtering out immediate opening bell fakeouts.
Core Features & Visuals:
Dual-Range Boxing: The script automatically detects the 09:30 AM EST New York open and draws two distinct ranges: a 5-minute initial balance box (default yellow) and a 15-minute established range box (default orange). The candle colors are overridden during these formation periods for immediate visual clarity.
Forward-Projecting Levels: Once the 15-minute Opening Range is set, clean extension lines project the high and low of that range into the future session. This provides strict visual boundaries for breakout entries and stop-loss placements without cluttering historical price action.
1-Candle Confirmation Trigger: High-volatility assets frequently sweep the opening range highs or lows to grab liquidity before reversing. To combat this, this indicator uses a strict 1-candle confirmation rule. The breakout logic requires the initial candle to close outside the 15-minute range, and it requires the very next consecutive candle to also close outside the range. This ensures the breakout is holding before a signal is generated.
Custom Multi-Layer Signal: When the confirmation logic is met, the script plots a highly visible, 4-layer overlapping star signal at the exact breakout point.
How to Use:
Traders can use the 15-minute extension lines as a strict "Go/No-Go" filter for the morning session. A bullish bias is adopted only when price holds above the top extension line, and a bearish bias when price holds below the bottom extension line. The multi-layer star signal serves as the mechanical entry trigger once price action has proven it can sustain the breakout.
Settings:
Users can fully customize the colors of the 5-minute box, the 15-minute box, and the extension lines to fit their specific chart themes.
Description:
This indicator is designed to visualize and trade the classic Opening Range Breakout (ORB) strategy, specifically optimized for high-volatility morning sessions on indices and equities.
Instead of relying on a single timeframe, this script dynamically plots both the initial 5-minute reaction and the more established 15-minute range, allowing traders to monitor early momentum while filtering out immediate opening bell fakeouts.
Core Features & Visuals:
Dual-Range Boxing: The script automatically detects the 09:30 AM EST New York open and draws two distinct ranges: a 5-minute initial balance box (default yellow) and a 15-minute established range box (default orange). The candle colors are overridden during these formation periods for immediate visual clarity.
Forward-Projecting Levels: Once the 15-minute Opening Range is set, clean extension lines project the high and low of that range into the future session. This provides strict visual boundaries for breakout entries and stop-loss placements without cluttering historical price action.
1-Candle Confirmation Trigger: High-volatility assets frequently sweep the opening range highs or lows to grab liquidity before reversing. To combat this, this indicator uses a strict 1-candle confirmation rule. The breakout logic requires the initial candle to close outside the 15-minute range, and it requires the very next consecutive candle to also close outside the range. This ensures the breakout is holding before a signal is generated.
Custom Multi-Layer Signal: When the confirmation logic is met, the script plots a highly visible, 4-layer overlapping star signal at the exact breakout point.
How to Use:
Traders can use the 15-minute extension lines as a strict "Go/No-Go" filter for the morning session. A bullish bias is adopted only when price holds above the top extension line, and a bearish bias when price holds below the bottom extension line. The multi-layer star signal serves as the mechanical entry trigger once price action has proven it can sustain the breakout.
Settings:
Users can fully customize the colors of the 5-minute box, the 15-minute box, and the extension lines to fit their specific chart themes.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
*PM me after for access.*
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
*PM me after for access.*
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.