OPEN-SOURCE SCRIPT

First 5-Minute ORB Levels with Hour Offset

업데이트됨
### Indicator Overview: First 5-Minute ORB Levels with Hour Offset

This indicator is designed for traders who want to track the high and low of the first 5-minute candle of a trading session, specifically starting at 9:30 am EST (New York time) by default. The lines representing these levels, known as the "Opening Range Breakout" (ORB) levels, are extended across the trading session until the market close at 4:00 pm EST. The indicator provides the following features:

1. **Real-Time Updates**:
- As the first 5-minute candle of the session forms (from 9:30 am to 9:35 am EST), the indicator dynamically updates the high and low lines.
- After the candle completes, the lines are locked in place and extend horizontally across the chart until market close.

2. **Customizable Hour Offset**:
- Users can adjust the start time of the session by specifying an hour offset. This feature is particularly useful for traders operating in different time zones or those who want to analyze custom session times.
- For example, if you trade in a time zone where the session starts at 8:30 am local time instead of 9:30 am EST, you can set the hour offset to `-1` to adjust the start time accordingly.

3. **Visual Labels**:
- The indicator places labels at the end of the lines, clearly marking the "5m ORB High" and "5m ORB Low" levels. These labels are updated in real-time as the first 5-minute candle forms and are fixed in place once the candle closes.

### How to Adjust the Settings:

1. **Hour Offset**:
- **Description**: The hour offset allows you to shift the start time of the session. The default start time is 9:30 am EST, but you can change this using the hour offset.
- **How to Adjust**:
- Open the indicator settings.
- Locate the "Hour Offset" field.
- Enter a positive or negative integer value to shift the session start time.
- **Example**:
- `0` (default): Start at 9:30 am EST.
- `-1`: Start at 8:30 am EST.
- `+1`: Start at 10:30 am EST.
- The indicator will then track the first 5-minute candle starting at the adjusted time and plot the high and low accordingly.

2. **Line and Label Appearance**:
- The lines representing the ORB levels are green by default, and the labels are also green with white text for clear visibility on the chart. The labels are positioned to the right of the lines to avoid cluttering the chart.

### Use Cases:

- **Opening Range Breakout Strategy**: Traders often use the ORB strategy to identify potential breakout points during the trading day. By marking the high and low of the first 5-minute candle, this indicator helps traders quickly identify key levels where price might break out or reverse.

- **Custom Session Analysis**: If you trade in a different time zone or need to analyze a different session (e.g., pre-market or after-hours), the hour offset feature allows you to adapt the indicator to your needs.

This indicator is particularly valuable for intraday traders who rely on the initial volatility of the trading session to make informed decisions.
릴리즈 노트
This indicator is designed to display dynamic and static key market levels, including Opening Range Breakout (ORB) levels, Initial Daily Range (IDR), and other important session levels. It offers extensive customization to accommodate a variety of trading strategies and sessions, all while providing an adaptable user interface for traders to personalize their charts.

#### Key Features:

1. **Session Timings**:
- The script allows you to define regular and extended market hours. These timings can be adjusted using input fields for the market open range, session start, and session end times, with default settings for the U.S. stock market.

2. **Opening Range Breakout (ORB)**:
- You can enable or disable lines for the High/Low (H/L) and Open/Close (O/C) of the first 5-minute candle, which are key for ORB strategies.
- Optional middle lines are provided for both H/L and O/C, offering additional reference points for price action.

3. **Multiple Plot Styles and Line Types**:
- The script includes customization for line styles (Solid, Dashed, or Dotted) and colors for ORB, IDR, and session markers, giving traders flexibility in visualizing key market levels.

4. **Dynamic and Static Levels**:
- Users can choose to display either dynamic or static lines for additional price levels that extend throughout the session. Dynamic levels automatically adapt based on the session’s high and low, while static levels are manually configured.
- These lines can also display labels with the option to turn on or off their visibility.

5. **Custom Time Zone and Session Adjustments**:
- The script offers full flexibility in adjusting session timings based on different time zones, which is crucial for global traders working in different markets.

6. **Background Shading**:
- You can add shading between high and low levels for a more visual representation of ranges during specific sessions (e.g., ORB or IDR), and customize the color and transparency of this background.

7. **Comex Open Indicator**:
- An additional feature highlights the Comex Open, with optional labels, making it useful for traders who follow commodities markets.

#### Known Issues:
- The indicator requires a chart with intraday time frames (e.g., 1-minute, 5-minute) for accurate display.
- Extensive customization may lead to performance issues on lower-end machines or in high-frequency chart environments due to the number of drawn elements (lines, boxes, labels).

This indicator is suitable for advanced traders who need detailed control over their session timing and price level analysis, with multiple layers of customization for visualizing key market behaviors.
Candlestick AnalysisPivot points and levels

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항