PROTECTED SOURCE SCRIPT
Levels by Touches (v2) [chingybrooks]

Levels by Touches (v2)
This script scans the last N bars to identify significant support and resistance levels by counting wick-touches.
How it works:
1. Wick detection – marks a touch whenever upper or lower wick ≥ X% of candle body (or on doji)
2. Level grouping – merges touches within a tolerance of Y ticks
3. Touch weighting – recent touches (in the latter half of lookback) count Z× more
4. Filtering – only plots levels with ≥ M total touches
Inputs:
Bars to scan (N): lookback period (max 200 bars)
Min touches (M): minimum hits to qualify as a level
Tolerance (ticks): price “slop” for grouping nearby touches
Min wick %: wick size threshold as % of body
Recent touch weight (Z): multiplier for touches in the latest half
Use this indicator to spot high-probability S/R zones based on actual price rejections.
This script scans the last N bars to identify significant support and resistance levels by counting wick-touches.
How it works:
1. Wick detection – marks a touch whenever upper or lower wick ≥ X% of candle body (or on doji)
2. Level grouping – merges touches within a tolerance of Y ticks
3. Touch weighting – recent touches (in the latter half of lookback) count Z× more
4. Filtering – only plots levels with ≥ M total touches
Inputs:
Bars to scan (N): lookback period (max 200 bars)
Min touches (M): minimum hits to qualify as a level
Tolerance (ticks): price “slop” for grouping nearby touches
Min wick %: wick size threshold as % of body
Recent touch weight (Z): multiplier for touches in the latest half
Use this indicator to spot high-probability S/R zones based on actual price rejections.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。