PROTECTED SOURCE SCRIPT

Zones + Trendlines (raphii7)

196
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.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.