OPEN-SOURCE SCRIPT
업데이트됨 Base Pivots

OverviewThis indicator identifies major structural support and resistance levels based on pivot highs and lows, drawing clean, contained horizontal levels that step forward dynamically with price. Instead of running into infinite space, lines map directly to price action and freeze the exact moment a breakout threshold is breached.
To help filter out market noise and minor price fluctuations, it integrates a multi-layered verification system, ensuring only significant market turning points are displayed on your chart.
Key FeaturesPre-Pivot Trend Filter: Validates structural turning points by requiring price to make a meaningful percentage move over a chosen lookback window before a pivot line can form.
Contained Real-Time Extensions: Unbroken lines trail cleanly up to the current bar. The exact moment a breakout occurs, the line freezes and terminates strictly at that breach bar.
Dual-Mode Breakout Thresholds: Choose between a fixed Percentage breakout or a volatility-adjusted ADR/ATR Multiple to determine precisely when a support or resistance level is considered broken.
Clean Chart Proximity Merging: Automatically prevents cluttered charts by filtering out and merging new lines that form too close to already active levels.
Independent State Visibility: Includes fully flexible visibility toggles to selectively display active support, active resistance, broken support, or broken resistance lines.
Dynamic Information Labels: Displays the precise price level, how many chart bars the level has survived, and the maximum adverse excursion (depth percentage) reached during the line's lifespan
How It Works (Under the Hood)
Detection: The script scans historical price data using a user-defined left/right strength lookback window to isolate pivot wicks.
Pre-Trend Check: It assesses the trend run-up or run-down leading to the pivot. If the move is less than the user-configured percentage, the pivot is completely ignored.
Tracking & Breakdown Loops: Validated lines are stored in real-time array structures. On each bar, it computes volatility metrics. If a candle closes past the boundary (plus your ATR or percentage cushion), the level converts into a historical broken state instantly.
User Inputs Guide
Lookback: Distance needed to confirm a high or low peak.
Pre-Pivot Change Threshold (%): Minimum percentage run required prior to validation.
Max Active Lines: Limits the total number of unbreached lines drawn on your screen.
Style Toggles: Fully customize line styles (Solid/Dotted/Dashed), font sizing, visual offsets, and visibility blocks for broken versus active states.
To help filter out market noise and minor price fluctuations, it integrates a multi-layered verification system, ensuring only significant market turning points are displayed on your chart.
Key FeaturesPre-Pivot Trend Filter: Validates structural turning points by requiring price to make a meaningful percentage move over a chosen lookback window before a pivot line can form.
Contained Real-Time Extensions: Unbroken lines trail cleanly up to the current bar. The exact moment a breakout occurs, the line freezes and terminates strictly at that breach bar.
Dual-Mode Breakout Thresholds: Choose between a fixed Percentage breakout or a volatility-adjusted ADR/ATR Multiple to determine precisely when a support or resistance level is considered broken.
Clean Chart Proximity Merging: Automatically prevents cluttered charts by filtering out and merging new lines that form too close to already active levels.
Independent State Visibility: Includes fully flexible visibility toggles to selectively display active support, active resistance, broken support, or broken resistance lines.
Dynamic Information Labels: Displays the precise price level, how many chart bars the level has survived, and the maximum adverse excursion (depth percentage) reached during the line's lifespan
How It Works (Under the Hood)
Detection: The script scans historical price data using a user-defined left/right strength lookback window to isolate pivot wicks.
Pre-Trend Check: It assesses the trend run-up or run-down leading to the pivot. If the move is less than the user-configured percentage, the pivot is completely ignored.
Tracking & Breakdown Loops: Validated lines are stored in real-time array structures. On each bar, it computes volatility metrics. If a candle closes past the boundary (plus your ATR or percentage cushion), the level converts into a historical broken state instantly.
User Inputs Guide
Lookback: Distance needed to confirm a high or low peak.
Pre-Pivot Change Threshold (%): Minimum percentage run required prior to validation.
Max Active Lines: Limits the total number of unbreached lines drawn on your screen.
Style Toggles: Fully customize line styles (Solid/Dotted/Dashed), font sizing, visual offsets, and visibility blocks for broken versus active states.
릴리즈 노트
It will work for IPO Base Pivots.오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.