PROTECTED SOURCE SCRIPT
30sOR Beta

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
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
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.