PROTECTED SOURCE SCRIPT
已更新 12H Midpoint Lines [Dire]

**Overview:**
This indicator is designed to precisely identify and plot key intra-candle levels from 12-hour candles, projecting them onto your current chart. By visualizing the midpoints of the body, top wick, and bottom wick of these 12-hour candles, traders can gain insights into potential areas of support, resistance, or significant price activity from this higher timeframe.
**How It Works & Key Levels:**
For each 12-hour candle, this script calculates and draws up to three distinct horizontal lines:
1. **Body Midpoint:** The exact center of the candle's body `(Open + Close) / 2`.
* *Color Scheme:* Typically green (configurable).
2. **Top Wick Midpoint:** The midpoint of the upper wick, calculated as `(High + Top of Body) / 2`. This line only appears if a top wick exists.
* *Color Scheme:* Typically blue (configurable, shared with Bottom Wick Midpoint).
3. **Bottom Wick Midpoint:** The midpoint of the lower wick, calculated as `(Low + Bottom of Body) / 2`. This line only appears if a bottom wick exists.
* *Color Scheme:* Typically blue (configurable, shared with Top Wick Midpoint).
**Features:**
* **Comprehensive Midpoint Analysis:** Get a detailed view with three distinct levels per 12H candle.
* **Customizable Appearance:**
* **Colors:** Individually set colors for "Naked" (untouched) and "Touched" lines for Body midpoints and Wick (Top/Bottom) midpoints.
* **Line Thickness:** Adjust the visual weight of all lines.
* **Line Style:** Choose between "Solid," "Dashed," or "Dotted" line styles.
* **Dynamic Line Behavior:**
* **Naked Line Extension (Optional):** Untouched lines can be configured to extend indefinitely to the right, helping you anticipate future interactions.
* **Touched Line Termination:** Once a price level is touched by a subsequent candle, the line automatically stops at the point of intersection, clearly marking this event. If not extended, naked lines will draw to the current bar.
* **Optional Price Labels:**
* Display the precise price level of each line as a text label at its current endpoint.
* Customize label text color and size. (Note: Enabling labels for many lines may impact chart performance).
* **Higher Timeframe Insights:** Seamlessly overlay these significant 12-hour levels onto any active chart timeframe.
* **Historical Data & Performance:** The indicator plots lines for historical 12-hour candles and includes a mechanism to limit the maximum number of displayed lines to maintain optimal chart performance.
**How to Use:**
1. Add the "12H Midpoint Lines V4" indicator to your TradingView chart.
2. Access the indicator's settings (⚙️ icon) to customize colors, line appearance, label visibility, and the naked line extension feature.
3. Observe how price interacts with these dynamically drawn 12-hour midpoint levels, which can act as valuable reference points.
**Development Status:**
Please note that this indicator is a **work in progress.** I am continuously looking to refine its features and functionality. Your feedback and suggestions are highly welcome and can help improve future versions!
This indicator is designed to precisely identify and plot key intra-candle levels from 12-hour candles, projecting them onto your current chart. By visualizing the midpoints of the body, top wick, and bottom wick of these 12-hour candles, traders can gain insights into potential areas of support, resistance, or significant price activity from this higher timeframe.
**How It Works & Key Levels:**
For each 12-hour candle, this script calculates and draws up to three distinct horizontal lines:
1. **Body Midpoint:** The exact center of the candle's body `(Open + Close) / 2`.
* *Color Scheme:* Typically green (configurable).
2. **Top Wick Midpoint:** The midpoint of the upper wick, calculated as `(High + Top of Body) / 2`. This line only appears if a top wick exists.
* *Color Scheme:* Typically blue (configurable, shared with Bottom Wick Midpoint).
3. **Bottom Wick Midpoint:** The midpoint of the lower wick, calculated as `(Low + Bottom of Body) / 2`. This line only appears if a bottom wick exists.
* *Color Scheme:* Typically blue (configurable, shared with Top Wick Midpoint).
**Features:**
* **Comprehensive Midpoint Analysis:** Get a detailed view with three distinct levels per 12H candle.
* **Customizable Appearance:**
* **Colors:** Individually set colors for "Naked" (untouched) and "Touched" lines for Body midpoints and Wick (Top/Bottom) midpoints.
* **Line Thickness:** Adjust the visual weight of all lines.
* **Line Style:** Choose between "Solid," "Dashed," or "Dotted" line styles.
* **Dynamic Line Behavior:**
* **Naked Line Extension (Optional):** Untouched lines can be configured to extend indefinitely to the right, helping you anticipate future interactions.
* **Touched Line Termination:** Once a price level is touched by a subsequent candle, the line automatically stops at the point of intersection, clearly marking this event. If not extended, naked lines will draw to the current bar.
* **Optional Price Labels:**
* Display the precise price level of each line as a text label at its current endpoint.
* Customize label text color and size. (Note: Enabling labels for many lines may impact chart performance).
* **Higher Timeframe Insights:** Seamlessly overlay these significant 12-hour levels onto any active chart timeframe.
* **Historical Data & Performance:** The indicator plots lines for historical 12-hour candles and includes a mechanism to limit the maximum number of displayed lines to maintain optimal chart performance.
**How to Use:**
1. Add the "12H Midpoint Lines V4" indicator to your TradingView chart.
2. Access the indicator's settings (⚙️ icon) to customize colors, line appearance, label visibility, and the naked line extension feature.
3. Observe how price interacts with these dynamically drawn 12-hour midpoint levels, which can act as valuable reference points.
**Development Status:**
Please note that this indicator is a **work in progress.** I am continuously looking to refine its features and functionality. Your feedback and suggestions are highly welcome and can help improve future versions!
發行說明
### 12H Midpoint Lines**Overview:**
This indicator is designed to precisely identify and plot key intra-candle levels from 12-hour candles, projecting them onto your current chart. By visualizing the midpoints of the body, top wick, and bottom wick of these 12-hour candles, traders can gain insights into potential areas of support, resistance, or significant price activity from this higher timeframe.
**How It Works & Key Levels:**
For each 12-hour candle, this script calculates and draws up to three distinct horizontal lines:
1. **Body Midpoint:** The exact center of the candle's body `(Open + Close) / 2`.
* *Color Scheme:* Typically green (configurable).
2. **Top Wick Midpoint:** The midpoint of the upper wick, calculated as `(High + Top of Body) / 2`. This line only appears if a top wick exists.
* *Color Scheme:* Typically blue (configurable, shared with Bottom Wick Midpoint).
3. **Bottom Wick Midpoint:** The midpoint of the lower wick, calculated as `(Low + Bottom of Body) / 2`. This line only appears if a bottom wick exists.
* *Color Scheme:* Typically blue (configurable, shared with Top Wick Midpoint).
**Features:**
* **Comprehensive Midpoint Analysis:** Get a detailed view with three distinct levels per 12H candle.
* **Customizable Appearance:**
* **Colors:** Individually set colors for "Naked" (untouched) and "Touched" lines for Body midpoints and Wick (Top/Bottom) midpoints.
* **Line Thickness:** Adjust the visual weight of all lines.
* **Line Style:** Choose between "Solid," "Dashed," or "Dotted" line styles.
* **Dynamic Line Behavior:**
* **Naked Line Extension (Optional):** Untouched lines can be configured to extend indefinitely to the right, helping you anticipate future interactions.
* **Touched Line Termination:** Once a price level is touched by a subsequent candle, the line automatically stops at the point of intersection, clearly marking this event. If not extended, naked lines will draw to the current bar.
* **Optional Price Labels:**
* Display the precise price level of each line as a text label at its current endpoint.
* Customize label text color and size. (Note: Enabling labels for many lines may impact chart performance).
* **Higher Timeframe Insights:** Seamlessly overlay these significant 12-hour levels onto any active chart timeframe.
* **Historical Data & Performance:** The indicator plots lines for historical 12-hour candles and includes a mechanism to limit the maximum number of displayed lines to maintain optimal chart performance.
**How to Use:**
1. Add the "12H Midpoint Lines V4" indicator to your TradingView chart.
2. Access the indicator's settings (⚙️ icon) to customize colors, line appearance, label visibility, and the naked line extension feature.
3. Observe how price interacts with these dynamically drawn 12-hour midpoint levels, which can act as valuable reference points.
**Development Status:**
Please note that this indicator is a **work in progress.** I am continuously looking to refine its features and functionality. Your feedback and suggestions are highly welcome and can help improve future versions!
發行說明
Candlestick Body and Wick Midpoints [Dire]Overview:
This indicator reveals key intra-candle price levels by plotting the precise midpoints of each candle's body, top wick, and bottom wick. It operates on any timeframe, providing a dynamic and highly customizable map of potential support and resistance zones based on the structure of every bar.
Key Features:
- Triple Midpoint Analysis: Automatically draws three distinct lines for the Body, Top Wick, and Bottom Wick midpoints of every candle on your chart.
- Dynamic Line Behavior: Naked (untouched) lines extend to the current price, while Touched lines stop exactly where price first interacts, providing a clean historical record of interactions.
- Complete Style Control: Independently customize the visibility, color, thickness, and style (Solid, Dashed, Dotted) for both the Naked and Touched states of each of the three line types.
- "Naked Only" Mode: A powerful filter to instantly hide all touched lines, allowing you to focus exclusively on fresh, untested price levels.
- Performance Management: Includes a "Lookback Period" setting to control the number of historical lines drawn, ensuring smooth chart performance.
How to Use:
Add the indicator to your chart and open the settings (⚙️) to explore the extensive customization options. Tailor the visuals to your trading style and observe how price interacts with these detailed intra-candle levels. The price of each line is displayed on the chart's main price scale (Y-axis).
Personally used to assist in marking significant midpoints with horizontal rays.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。