OPEN-SOURCE SCRIPT
Adaptive Trend Catcher

Adaptive Trend Catcher is an original indicator that combines Hull Moving Average smoothing, ATR-based volatility bands, and a CCI filter within an adaptive logic framework. It’s built to react intelligently to changing market conditions rather than applying fixed parameters.
The system uses hysteresis to confirm trend flips only after several consistent signals, minimizing noise and false reversals. During strong momentum bursts, it automatically tightens its internal deadzone and step size to stay responsive while maintaining stability in quieter periods.
The result is a dynamic trend engine that plots a color-shifting adaptive line — green for bullish, red for bearish — that adjusts smoothly with volatility. Optional upper/lower ATR bands can be displayed for added context.
How to use: Watch for confirmed trend color flips with supporting momentum. Bullish flips occur when price regains the lower band and CCI turns positive; bearish flips when price falls below the upper band and CCI turns negative.
Includes alert conditions for both reversals.
For educational purposes only. Not financial advice.
The system uses hysteresis to confirm trend flips only after several consistent signals, minimizing noise and false reversals. During strong momentum bursts, it automatically tightens its internal deadzone and step size to stay responsive while maintaining stability in quieter periods.
The result is a dynamic trend engine that plots a color-shifting adaptive line — green for bullish, red for bearish — that adjusts smoothly with volatility. Optional upper/lower ATR bands can be displayed for added context.
How to use: Watch for confirmed trend color flips with supporting momentum. Bullish flips occur when price regains the lower band and CCI turns positive; bearish flips when price falls below the upper band and CCI turns negative.
Includes alert conditions for both reversals.
For educational purposes only. Not financial advice.
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.