OPEN-SOURCE SCRIPT
Cập nhật TCL - Extreme S/R Auto Levels (Pivot-Snapped, Snapshot)

It is a fan-made indicator for TCL strategy to declare extreme s/r levels.
Phát hành các Ghi chú
This is not an official TCL indicator, but a personal fan-made tool created by Kamil to support his own TCL-based strategy.It automatically maps Support & Resistance zones using pivot highs/lows and extreme price levels, showing where price is most likely to react or rebalance.
You can let it auto-detect the extreme high and low, or set them manually for full control.
Between those extremes, the range is divided dynamically using a 2–4% spacing rule, with each midpoint snapped to the nearest real pivot — ensuring that every line is backed by actual price action, not just math.
Levels with both highs and lows nearby are marked as Key Pivots, while a special Equilibrium line highlights the fair-value center of the structure.
⚙️ Key Settings
Base Timeframe – Default 15m; defines structure and keeps lines static across TFs.
Lookback / Full History – Choose scan depth (days or full 5000 bars).
Manual Extremes – Input your own high/low for custom ranges.
Force Refresh – Rebuild levels anytime.
Spacing (2–4%) & Snap Radius – Control how tight or loose levels are drawn.
⚠️ Disclaimer
This indicator is fan-made and unofficial, designed by and for Kamil to assist with TCL-style confluence mapping.
It is for educational and analytical use only — not financial advice.
Always backtest thoroughly and use it at your own risk before applying it to live markets.
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.