OPEN-SOURCE SCRIPT
Cập nhật HTF Support/Resistance Multi-Tap

The HTF Multi-Tap S/R Zones is an advanced structural indicator designed for lower timeframe traders who need higher timeframe confluence without cluttering their charts.
Instead of drawing infinite lines everywhere, this indicator tracks historical pivot points from a Higher Timeframe (HTF) of your choice and dynamically builds highly-validated "Zones of Interest" directly onto your current chart. It is specifically engineered to find areas where price has repeatedly struggled to break through.
Core Features:
Dynamic Wick Absorption (Zones): When price wicks into the same general area, the script doesn't just plot a single static line. It dynamically expands the top and bottom borders of a "Zone" to encompass the full range of the historical wicks, giving you a literal block of rejection to trade against.
Zone Merging: If two adjacent zones expand enough to touch each other, the indicator will seamlessly merge them into one massive, highly significant structural block.
Volume & Tap Tracking: Every time price taps a zone, the script records the touch and pulls the exact volume that occurred on that HTF candle. The zone's label clearly displays the total accumulated volume and the number of taps it took to build it.
Automated Volume Grading: The indicator continuously scans the active zones on your chart and automatically tags the zone with the absolute highest historical volume with a (⭐ Max Vol) label, instantly showing you the strongest defensive wall on the board.
Clean & Focused: By default, it only displays the 3 closest Support zones and the 3 closest Resistance zones to the current price, keeping your chart clean and focused strictly on the levels that matter right now.
How to Use (Confluence):
This is not a standalone entry signal; it is a confluence tool.
If you are trading on a 1-minute or 5-minute chart, set the indicator's HTF to 15m or 1H. Use these projected zones as high-probability areas to look for your lower timeframe entry models (like break of structure, fair value gaps, or engulfing candles). The (⭐ Max Vol) zones are prime locations for strong reversals or major breakout continuations.
Settings:
Higher Timeframe: Choose which timeframe to pull structural pivots from.
Proximity Threshold %: Adjust how close price needs to come to an existing zone to be considered a "Tap" and expand the box. Increase this slightly for highly volatile assets to absorb larger wicks.
Minimum Taps: Determine how many times a level must be tested before it is considered valid and plotted on your screen.
Instead of drawing infinite lines everywhere, this indicator tracks historical pivot points from a Higher Timeframe (HTF) of your choice and dynamically builds highly-validated "Zones of Interest" directly onto your current chart. It is specifically engineered to find areas where price has repeatedly struggled to break through.
Core Features:
Dynamic Wick Absorption (Zones): When price wicks into the same general area, the script doesn't just plot a single static line. It dynamically expands the top and bottom borders of a "Zone" to encompass the full range of the historical wicks, giving you a literal block of rejection to trade against.
Zone Merging: If two adjacent zones expand enough to touch each other, the indicator will seamlessly merge them into one massive, highly significant structural block.
Volume & Tap Tracking: Every time price taps a zone, the script records the touch and pulls the exact volume that occurred on that HTF candle. The zone's label clearly displays the total accumulated volume and the number of taps it took to build it.
Automated Volume Grading: The indicator continuously scans the active zones on your chart and automatically tags the zone with the absolute highest historical volume with a (⭐ Max Vol) label, instantly showing you the strongest defensive wall on the board.
Clean & Focused: By default, it only displays the 3 closest Support zones and the 3 closest Resistance zones to the current price, keeping your chart clean and focused strictly on the levels that matter right now.
How to Use (Confluence):
This is not a standalone entry signal; it is a confluence tool.
If you are trading on a 1-minute or 5-minute chart, set the indicator's HTF to 15m or 1H. Use these projected zones as high-probability areas to look for your lower timeframe entry models (like break of structure, fair value gaps, or engulfing candles). The (⭐ Max Vol) zones are prime locations for strong reversals or major breakout continuations.
Settings:
Higher Timeframe: Choose which timeframe to pull structural pivots from.
Proximity Threshold %: Adjust how close price needs to come to an existing zone to be considered a "Tap" and expand the box. Increase this slightly for highly volatile assets to absorb larger wicks.
Minimum Taps: Determine how many times a level must be tested before it is considered valid and plotted on your screen.
Phát hành các Ghi chú
changed htf to 1 hour by default Phát hành các Ghi chú
added entry signals for rejections and breakout and retests of levels Phát hành các Ghi chú
added vwaps to this for context Phát hành các Ghi chú
added trading windows for alerts Phát hành các Ghi chú
added SL and TP lines. SL at the structure that caused the entry signalPhát hành các Ghi chú
added sl/tp lines. SL is at structure high/low that caused the entry signal. TP at a fixed 1:2Phát hành các Ghi chú
updated alert logic to match entry signal logic. that way you don't get fake alerts Phát hành các Ghi chú
Changed colors of SL/TP to orange/blue and changed RR to 1:1 by default. Phát hành các Ghi chú
added color option for S/R text Phát hành các Ghi chú
changed alerts so all alerts fall under the fx() any alertPhát hành các Ghi chú
added new slightly larger SL logic. original SL placement is a togglePhát hành các Ghi chú
bug fixesPhát hành các Ghi chú
added a secondary timeframe via a toggle Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.