Zone Cluster Confluence Pro

Zone Cluster Confluence Pro automatically finds price “zones” via equal-frequency clustering of HLC3 values and wraps each cluster center with an ATR-based band. Zones are color-coded by a 0–100 Strength % and can optionally highlight confluence with a higher timeframe (HTF) right on your chart.
Key features
• Adaptive Depth by Volatility (ATR regime): zone width scales down in calm markets and widens in volatile regimes.
• Strength % scoring with color mapping (Strong / Work / Mid / Weak). The score blends:
• number of touches (with tolerance),
• dwell time inside the zone (penalized),
• confirmed breakouts (penalized),
• average overshoot beyond the band (penalized),
• recency bonus,
• optional volume-boosted touches (volume > SMA × multiplier).
• HTF Confluence Overlay: computes zones on a higher TF (multiplier of the source TF or a specific TF) and highlights the intersection of LTF zones with the nearest HTF zone (white fill).
• Presets per TF: Aggressive / Stable / Anti-pierce profiles with hand-tuned params for 15/30/60/120/240m; or run fully Manual.
• Clean visuals: centers, borders, filled bands; strength labels with auto-contrast text.
How it works (high level)
• Clustering method: choose K-median or K-means (median/mean of equal-frequency buckets) to place zone centers.
• Zone width = ATR × Depth; Depth becomes Adaptive when the ATR regime deviates from its long SMA.
• Strength % is computed over a lookback window using the components listed above; touches can earn an extra bonus on elevated volume.
Inputs (most useful)
• Source TF: inherit from chart or pick a specific TF.
• Zones (k): 2–5 clusters.
• Presets: Aggressive / Stable / Anti-pierce, or Manual control of Candles Back, ATR length, Depth.
• Adaptive Depth: on/off, regime thresholds & multipliers.
• Strength %: profile (Conservative/Neutral/Optimistic), lookback, breakout/overshoot/touch tolerance.
• Volume boost: SMA length, spike multiplier, weight.
• HTF Confluence: on/off, TF multiplier, HTF preset/method/params, and whether HTF k mirrors LTF k.
Reading the chart
• Zone fills are colored by Strength %:
• 80–100 Strong, 60–80 Work, 40–60 Mid, <40 Weak.
• White fills mark LTF×HTF intersections (confluence areas).
• Strength labels (Z1…Z5) show the current score; label background matches the strength color.
Tips
• Use Stable for most markets, Aggressive for fast intraday, Anti-pierce to reduce whipsaw.
• Turn on HTF confluence to filter LTF zones down to areas aligned with the larger trend structure.
• If you scalp, keep volume boost on; for thin markets consider lowering the spike multiplier.
Notes
• No lookahead is used for HTF data (request.security with lookahead_off).
• Zones update as new bars arrive and as the lookback window rolls; this is not a fixed S/R drawing tool.
• Works on any symbol/timeframe; parameter tuning is encouraged.
Access
This script is Invite-Only.
Disclaimer
For educational purposes only. Not financial advice. Trading involves risk.
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với ea1984.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Cảnh báo: vui lòng đọc hướng dẫn của chúng tôi về các tập lệnh chỉ dành cho người được mời trước khi yêu cầu quyền truy cập.
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với ea1984.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Cảnh báo: vui lòng đọc hướng dẫn của chúng tôi về các tập lệnh chỉ dành cho người được mời trước khi yêu cầu quyền truy cập.