PROTECTED SOURCE SCRIPT

30sOR Beta

39
30-Second NY Opening Range Box Indicator

This indicator captures and displays the high/low range of the first 30 seconds (customizable) of the New York trading session for any symbol, with automatic detection of each market's specific opening time.

KEY FEATURES:

• Live Tracking: Watch the opening range box build in real-time as it's being created
• Auto Symbol Detection: Automatically adjusts NY open times for different markets:
- Equity Indices (NQ, ES, YM, RTY): 9:30 AM ET
- Metals (GC, SI, HG): 8:20 AM ET
- Energy (CL, NG, RB, HO): 9:00 AM ET
- Bonds (ZB, ZN, ZF, ZT): 8:20 AM ET
- Currencies (6E, 6B, 6J, etc.): 8:20 AM ET

• Fully Customizable:
- Capture period (default 30 seconds, adjustable 1-300 seconds)
- Custom open time override for any symbol
- Box colors (fill and border)
- Extension length (120 bars default or extend to session end)
- Live tracking on/off

• Clean Visual Design: Box extends for a controlled distance (not cluttering your entire chart)

SETTINGS:

Time Settings:
- Capture Period: Set how many seconds to track the opening range
- Custom Open Hour/Minute: Override auto-detection for custom symbols

Appearance:
- Customizable box fill color, border color, and border width

Extension:
- Toggle between fixed bar extension or full session extension
- Adjustable extension length (1-500 bars)
- Live tracking toggle

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.