OPEN-SOURCE SCRIPT
Vector Candle 50% Real Body Levels

Vector Candle 50% Real Body Levels [v6]
Overview
This indicator identifies institutional volume anomalies (known as Vector Candles) and automatically plots a dynamic horizontal level at the exact 50% of their Real Body (the midpoint between open and close, completely ignoring the wicks).
In modern trading frameworks like Smart Money Concepts (SMC) or Order Blocks, the 50% threshold of a high-volume candle represents a premium point of control where heavy institutional orders were matched. This script visualizes these areas as high-probability support or resistance zones.
To keep your charts clean and noise-free, the script features a dynamic mitigation system: the moment any future candle touch or cross the line (even just with a wick), the level is considered "claimed" and immediately vanishes from your screen.
Key Features
Real Body Midpoint Calculation: Unlike standard tools that calculate the 50% level using the absolute High and Low, this indicator targets the core of the market commitment by averaging only the open and close prices.
Volume Threshold Filters: Dynamically benchmarks current volume against a Simple Moving Average (SMA) lookback period, filtering out normal market noise and highlighting only genuine capital injections.
Auto-Clean Mitigation Logic: Levels instantly self-destruct once price mitigates or tests the exact coordinate, ensuring every single line visible on your chart is 100% active and pending.
Engineered for v6 Performance: Built using Pine Script v6 User-Defined Types (UDTs) and efficient array memory management to prevent any charting lag, even during high-volatility sessions or lower timeframes.
Inputs & Customization
Average Volume Lookback: The period used to establish the baseline volume average (Default: 10).
Volume Multiplier 1 (VF) / Multiplier 2 (VA): Sensitivity thresholds to define what qualifies as an extraordinary volume vector (e.g., 2.0x or 1.5x above average).
Level Style Options: Easily adjust the horizontal line color and thickness to blend seamlessly with your personal chart layout.
How to Trade with It
Bullish Vector Mitigation (Support): When a high-volume bullish candle forms, look for the price to retrace downward to test the green horizontal line. This 50% body zone often acts as a strong bullish pivot.
Bearish Vector Mitigation (Resistance): When a high-volume bearish candle drops, look for short-term relief rallies to cap out exactly at the 50% body line, offering high R:R (Risk-to-Reward) short entries.
Breakout Tracking: If a level is pierced through aggressively rather than holding as pivot support/resistance, it indicates a structural shift in market direction.
Overview
This indicator identifies institutional volume anomalies (known as Vector Candles) and automatically plots a dynamic horizontal level at the exact 50% of their Real Body (the midpoint between open and close, completely ignoring the wicks).
In modern trading frameworks like Smart Money Concepts (SMC) or Order Blocks, the 50% threshold of a high-volume candle represents a premium point of control where heavy institutional orders were matched. This script visualizes these areas as high-probability support or resistance zones.
To keep your charts clean and noise-free, the script features a dynamic mitigation system: the moment any future candle touch or cross the line (even just with a wick), the level is considered "claimed" and immediately vanishes from your screen.
Key Features
Real Body Midpoint Calculation: Unlike standard tools that calculate the 50% level using the absolute High and Low, this indicator targets the core of the market commitment by averaging only the open and close prices.
Volume Threshold Filters: Dynamically benchmarks current volume against a Simple Moving Average (SMA) lookback period, filtering out normal market noise and highlighting only genuine capital injections.
Auto-Clean Mitigation Logic: Levels instantly self-destruct once price mitigates or tests the exact coordinate, ensuring every single line visible on your chart is 100% active and pending.
Engineered for v6 Performance: Built using Pine Script v6 User-Defined Types (UDTs) and efficient array memory management to prevent any charting lag, even during high-volatility sessions or lower timeframes.
Inputs & Customization
Average Volume Lookback: The period used to establish the baseline volume average (Default: 10).
Volume Multiplier 1 (VF) / Multiplier 2 (VA): Sensitivity thresholds to define what qualifies as an extraordinary volume vector (e.g., 2.0x or 1.5x above average).
Level Style Options: Easily adjust the horizontal line color and thickness to blend seamlessly with your personal chart layout.
How to Trade with It
Bullish Vector Mitigation (Support): When a high-volume bullish candle forms, look for the price to retrace downward to test the green horizontal line. This 50% body zone often acts as a strong bullish pivot.
Bearish Vector Mitigation (Resistance): When a high-volume bearish candle drops, look for short-term relief rallies to cap out exactly at the 50% body line, offering high R:R (Risk-to-Reward) short entries.
Breakout Tracking: If a level is pierced through aggressively rather than holding as pivot support/resistance, it indicates a structural shift in market direction.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.