PROTECTED SOURCE SCRIPT
Zones + Trendlines (raphii7)

Here you go — in English, simple and clear:
Designed for a clear read of worked zones and trend paths on any timeframe.
-Zones: rectangles where price has touched multiple times = support/resistance zones.
-Trendlines: lines that connect two highs (H–H) or two lows (B–B), with a dotted extension.
Settings
Zones
-Minimum candles between highs/lows (minSepBars): minimum spacing between pivots. Larger = cleaner pivots.
-Show highs/lows (showHBZones): shows small H/B labels on the chart.
-Max highs/lows used (maxPivotsUsed): cap on stored pivots.
-Minimum contacts in the zone (minContacts): minimum touches required to draw a zone.
-Zone size unit (sizeMode):
-Pips = fixed thickness.
-ATR = thickness adapts to volatility.
-Zone size (zoneSize): zone thickness (in Pips or ATR).
-Max candles back (lookbackBars): how far back to scan.
-Max zones to draw (maxZonesDraw): prevents too many rectangles.
-Border / fill color (borderCol / fillCol): zone styling.
Trendlines
-Pivot Length (pivotLen): “size” of the pivot. Higher = more reliable lines, fewer of them.
-Pivot Type (pivotType):
Normal = cleaner, slower.
Fast = very reactive, can move more.
Designed for a clear read of worked zones and trend paths on any timeframe.
-Zones: rectangles where price has touched multiple times = support/resistance zones.
-Trendlines: lines that connect two highs (H–H) or two lows (B–B), with a dotted extension.
Settings
Zones
-Minimum candles between highs/lows (minSepBars): minimum spacing between pivots. Larger = cleaner pivots.
-Show highs/lows (showHBZones): shows small H/B labels on the chart.
-Max highs/lows used (maxPivotsUsed): cap on stored pivots.
-Minimum contacts in the zone (minContacts): minimum touches required to draw a zone.
-Zone size unit (sizeMode):
-Pips = fixed thickness.
-ATR = thickness adapts to volatility.
-Zone size (zoneSize): zone thickness (in Pips or ATR).
-Max candles back (lookbackBars): how far back to scan.
-Max zones to draw (maxZonesDraw): prevents too many rectangles.
-Border / fill color (borderCol / fillCol): zone styling.
Trendlines
-Pivot Length (pivotLen): “size” of the pivot. Higher = more reliable lines, fewer of them.
-Pivot Type (pivotType):
Normal = cleaner, slower.
Fast = very reactive, can move more.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.