OPEN-SOURCE SCRIPT

Strong SR Zones | ProjectSyndicate

31 578
Strong SR Zones automatically identifies and power-ranks high-probability support and resistance levels by clustering historical pivots. It filters for quality, calculates a 0-10 strength score for every zone based on age, touches, and historical performance win rate, and presents all data on the chart and in a comprehensive dashboard to eliminate clutter and focus on levels that matter.

• 🎯 Power-Ranking System (0-10) — every S/R zone is given a strength score based on total touches, age, and its historical bounce-vs-break "win rate" for instant quality assessment.
• 🎨 Strength-Based Color Scheme — zones are colored by their power rank stronger zones get darker, more prominent colors for immediate visual hierarchy.
• 🧠 Smart Pivot Clustering — automatically merges nearby pivot highs and lows into single, consolidated S/R zones to reduce chart noise and reveal true institutional levels.
• 📊 In-Zone Statistics — each zone displays its price, total touches, age in bars, strength score, average bounce size in pips, and historical win rate directly on the chart.

• 🧭 Full Dashboard Display — provides a complete market overview, including the current trading session, volatility state, and a list of all active support and resistance zones with their strength and distance from the current price.
• 🔔 Comprehensive Alerts — get notified when price approaches any S/R zone, with special alerts for high-strength zones rated 7/10 or higher, ensuring you never miss a key level interaction.
• ✅ Quality Control Filters — user-configurable inputs for pivot lookback, minimum touches, and a lookback period of up to 5000 bars allow for deep customization to match any trading style.
• 🔧 Fully Customizable — control everything from the max number of levels shown and zone width to the text size of all labels and dashboard elements.

• 🎯 Why this algo is unique: Standard pivot indicators flood the chart with dozens of meaningless lines. This algorithm intelligently filters, merges, and ranks them. It doesn't just show you where support and resistance was, it quantifies how strong it is based on historical performance, giving you a clear edge. You instantly see which levels have a proven history of holding and which are likely to break.
• 🚀 Apply to Gold (XAUUSD), Forex, Crypto, and Indices on any timeframe. The lookbackBars and minTouches settings allow it to adapt to anything from scalping to swing trading.

• 🎯 How to use this? Focus on trading opportunities around high-strength zones rated 7/10 or higher as these have the highest probability of producing a significant reaction. Use the dashboard to quickly identify the most immediate S/R levels and the alerts to prepare for potential entries or exits.

• ⚠️ IMPORTANT NOTICE: This indicator is designed to identify high-probability support and resistance zones. It should NOT be used as a standalone signal for entering trades. Always use it in conjunction with your own trading strategy, price action analysis, and other technical indicators to confirm trade setups and manage risk.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.