OPEN-SOURCE SCRIPT

Multi-Layer Pin Zone Analyzer

41
Analyzes LOW (bottom wicks) and HIGH (top wicks) to detect repeated touches within a defined tolerance.
Clusters nearby pin levels and, when the number of touches exceeds a threshold, draws infinite horizontal rectangles (zones) to highlight key areas.

LOW (teal): Support zones

HIGH (red): Resistance zones

COMBINED (orange): Mixed zones using both highs and lows

Each type has independent settings for tolerance (%), minimum touches, and maximum zones.
Automatically visualizes strong support, resistance, and consolidation areas across the chart.

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.