PROTECTED SOURCE SCRIPT
已更新 Open Range Tool

**Open Range Tool --- Session-Based Opening Range Indicator**
A lightweight utility that instantly plots the opening range for a selected session (Asia, London, or New York) on any timeframe, including an optional 0.5 σ mid-line to highlight the session's mean price.
### Key Features
1. **Multi-session support**
- Instantly draw Asia, London, or NY opening ranges on the chart.
2. **Intraday-only display**
- The range is plotted *only for the current trading day* and automatically cleared on the next session, keeping historical charts uncluttered.
3. **Flexible range anchors**
- Define the range by the first candle's **High/Low** *or* **Open/Close**.
4. **Delayed plotting**
- Start plotting after *N* candles to avoid gaps or early noise.
5. **Statistical mid-line & range projection**
- Built-in 50 % mid-line with adjustable projection length (bars).
6. **Full styling control**
- Customize colors, line style, and width for high, low, and mid-lines.
### How to Use
1. Add the indicator to your chart and open the **Inputs** tab.
2. Set **Opening-Range Timeframe** (e.g., 30 min) and choose any **Delay Bars** or **Projection Length** you need.
3. Tweak the line colors/widths to match your chart theme.
4. Combine with volume profile, VWAP, or moving averages for better context.
### Disclaimer
This script is provided **for educational and research purposes only** and does **not constitute financial advice**. Trading involves substantial risk; the author accepts no liability for any financial loss.
A lightweight utility that instantly plots the opening range for a selected session (Asia, London, or New York) on any timeframe, including an optional 0.5 σ mid-line to highlight the session's mean price.
### Key Features
1. **Multi-session support**
- Instantly draw Asia, London, or NY opening ranges on the chart.
2. **Intraday-only display**
- The range is plotted *only for the current trading day* and automatically cleared on the next session, keeping historical charts uncluttered.
3. **Flexible range anchors**
- Define the range by the first candle's **High/Low** *or* **Open/Close**.
4. **Delayed plotting**
- Start plotting after *N* candles to avoid gaps or early noise.
5. **Statistical mid-line & range projection**
- Built-in 50 % mid-line with adjustable projection length (bars).
6. **Full styling control**
- Customize colors, line style, and width for high, low, and mid-lines.
### How to Use
1. Add the indicator to your chart and open the **Inputs** tab.
2. Set **Opening-Range Timeframe** (e.g., 30 min) and choose any **Delay Bars** or **Projection Length** you need.
3. Tweak the line colors/widths to match your chart theme.
4. Combine with volume profile, VWAP, or moving averages for better context.
### Disclaimer
This script is provided **for educational and research purposes only** and does **not constitute financial advice**. Trading involves substantial risk; the author accepts no liability for any financial loss.
發行說明
- Added: English descriptions of various parameter settings- Adjusted: Layout and presentation order of various parameter groups
- Added: Drawing of daily, weekly, and monthly opening segments
- Adjusted: Support for independent style settings for each opening segment
發行說明
- New: Support for dynamically calculating the length of the K-bar to be extended based on the current time frame. The basic time frame uses 15 minutes as the calculation unit for the number of K-bar extensions (assuming: set to extend 4 K-bars, and the current time frame is a 5-minute chart, the actual number of K-bars extended will be 12 5-minute K-bars)發行說明
- New: Support for drawing the most recent 4H opening price horizontal line
- New: Added drawing of swing high and low points, and supports setting drawing style (price label/dot label)
- New: Added drawing of swing high and low point extension horizontal lines, and supports judgment of stopping drawing after touching
發行說明
- New: Supports text settings for high and low points of the opening range of Asian, London and US markets
- Adjusted: Default value of the number of K bars for opening range extension
發行說明
- New: Added daily and weekly background related
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。