OPEN-SOURCE SCRIPT
Сильные уровни

Strong Levels (Clustering + Auto-Update) — Resistance/Support Detection
This indicator automatically detects, tracks, and updates strong support and resistance levels using pivot points, level clustering, touch-reaction logic, and strength scoring.
It is designed for traders who want dynamic, high-quality S/R levels that adapt to current market structure.
Key Features
1. Pivot-Based Level Detection
Identifies local highs/lows using user-defined left/right pivot parameters.
Adds new resistance (R) or support (S) levels automatically.
2. Smart Level Filtering
Minimum distance filter ensures only meaningful levels are kept.
Automatic deletion of old or invalidated levels.
Maximum level count to keep the chart clean.
3. Touch Detection & Strength Calculation
A level becomes “touched” when price approaches it within a customizable tolerance.
Each touch increases the level’s strength score.
Levels are removed after a breakout or after a confirmed bounce in the opposite direction.
4. Clustering of Nearby Levels
Nearby levels (within percentage range) are grouped into clusters.
The strongest level within each cluster becomes the cluster “winner.”
The globally strongest level across all clusters is highlighted.
5. Visual Enhancements
Strongest cluster level uses:
Solid line style
Thicker line width
Regular levels use dotted lines.
Labels show:
Type: R (resistance) / S (support)
Price
Touch count (strength)
6. Fully Customizable
Pivot sensitivity
Touch tolerance
Bounce threshold
Minimum level spacing
Cluster range sensitivity
Line colors and widths
Label display toggle
Usage Tips
Increase pivot size for higher-timeframe levels.
Decrease cluster tolerance for instruments with low volatility.
Use level strength (touch count) to identify the most reliable zones.
This indicator automatically detects, tracks, and updates strong support and resistance levels using pivot points, level clustering, touch-reaction logic, and strength scoring.
It is designed for traders who want dynamic, high-quality S/R levels that adapt to current market structure.
Key Features
1. Pivot-Based Level Detection
Identifies local highs/lows using user-defined left/right pivot parameters.
Adds new resistance (R) or support (S) levels automatically.
2. Smart Level Filtering
Minimum distance filter ensures only meaningful levels are kept.
Automatic deletion of old or invalidated levels.
Maximum level count to keep the chart clean.
3. Touch Detection & Strength Calculation
A level becomes “touched” when price approaches it within a customizable tolerance.
Each touch increases the level’s strength score.
Levels are removed after a breakout or after a confirmed bounce in the opposite direction.
4. Clustering of Nearby Levels
Nearby levels (within percentage range) are grouped into clusters.
The strongest level within each cluster becomes the cluster “winner.”
The globally strongest level across all clusters is highlighted.
5. Visual Enhancements
Strongest cluster level uses:
Solid line style
Thicker line width
Regular levels use dotted lines.
Labels show:
Type: R (resistance) / S (support)
Price
Touch count (strength)
6. Fully Customizable
Pivot sensitivity
Touch tolerance
Bounce threshold
Minimum level spacing
Cluster range sensitivity
Line colors and widths
Label display toggle
Usage Tips
Increase pivot size for higher-timeframe levels.
Decrease cluster tolerance for instruments with low volatility.
Use level strength (touch count) to identify the most reliable zones.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.