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, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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ã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
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.