OPEN-SOURCE SCRIPT

Сильные уровни

148
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.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.