OPEN-SOURCE SCRIPT

Adaptive Trend Flow (ATF)

141
Adaptive Trend Flow (ATF) is a custom trend-following indicator designed to work reliably across all markets and all timeframes.
It uses an adaptive moving average that automatically adjusts to market conditions, combined with trend slope analysis and a volatility filter to reduce noise during ranging periods.

Unlike traditional fixed moving averages, ATF reacts faster during strong trends and slows down during consolidation, helping traders stay aligned with meaningful price movements.

🔍 How It Works

Uses an adaptive smoothing algorithm to track price efficiently
Confirms trend direction using trend slope
Filters out low-volatility and choppy conditions using ATR-based logic
Does not repaint — signals are based only on confirmed data

📊 Visual Interpretation

🟢 Green line / background → Bullish trend
🔴 Red line / background → Bearish trend
⚪ Gray → No clear trend (range / low volatility)

⚙️ Features

Works on Crypto, Forex, Stocks, Futures
Compatible with all timeframes
Optional trend-change signals
Optional background highlighting
Fully customizable inputs
Alert-ready

🎯 Best Use Cases

Trend filter for entries and exits
Directional bias for scalping, day trading, or swing trading
Strategy backbone when combined with price action or momentum tools

⚠️ Disclaimer

This indicator is for educational and analytical purposes only and does not constitute financial advice. Always manage risk appropriately.

Clause de non-responsabilité

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