OPEN-SOURCE SCRIPT

Clustered Support/Resistance (±% Tolerance, Last N Bars) – NO OF

844
In the last 1500 candles (user-adjustable), pivot highs and lows are clustered. If more than 20 touches occur within a ±1% tolerance zone, that level is marked as a support or resistance line.

The following parameters are configurable:

Tolerance (%)

Minimum touch count

Pivot left/right length

Maximum number of lines

This allows flexible identification of significant support and resistance zones based on repeated pivot clustering within the chosen lookback period.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.