OPEN-SOURCE SCRIPT
Clean Support & Resistance Zones

This indicator automatically maps out key Support and Resistance zones on any chart and displays them as clean, easy-to-read filled boxes.
Instead of flooding the chart with dozens of levels, it ranks zones by strength (how often price has pivoted from that area), then shows only the most relevant zones near current price. It also includes a no-overlap filter, so zones don’t stack on top of each other — making it much easier to see exactly where you might want to buy from support or sell from resistance.
Key Features
Automatic Support & Resistance zones using pivot structure
Strength-based filtering (keeps the most respected zones)
Distance filter (only shows zones within a user-defined ATR range of price)
No overlapping zones + optional minimum spacing for clarity
Custom colours for support/resistance fill and borders
Works on all markets and all timeframes
Boxes can optionally extend to the right for forward planning
Inputs You Can Adjust
Pivot sensitivity (Pivot Left/Right)
Zone thickness (ATR multiplier or fixed tolerance)
How many zones to display per side
How close zones must be to current price (ATR distance)
Minimum separation between zones (ATR spacing)
Full colour controls for fills + borders
Instead of flooding the chart with dozens of levels, it ranks zones by strength (how often price has pivoted from that area), then shows only the most relevant zones near current price. It also includes a no-overlap filter, so zones don’t stack on top of each other — making it much easier to see exactly where you might want to buy from support or sell from resistance.
Key Features
Automatic Support & Resistance zones using pivot structure
Strength-based filtering (keeps the most respected zones)
Distance filter (only shows zones within a user-defined ATR range of price)
No overlapping zones + optional minimum spacing for clarity
Custom colours for support/resistance fill and borders
Works on all markets and all timeframes
Boxes can optionally extend to the right for forward planning
Inputs You Can Adjust
Pivot sensitivity (Pivot Left/Right)
Zone thickness (ATR multiplier or fixed tolerance)
How many zones to display per side
How close zones must be to current price (ATR distance)
Minimum separation between zones (ATR spacing)
Full colour controls for fills + borders
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.