Trend Filter

Trend Filter is a premium trend-classification indicator designed to identify whether a ticker is trending Up, trending Down, or Ranging, along with a real-time Trend Confidence %.
This tool analyzes price behavior using well-known market structure and volatility concepts such as EMA expansion, relative trend slope, higher-high / higher-low analysis, and ATR-based volatility conditions.
Trend Filter presents all results in a clean table so traders can quickly understand the current market environment without monitoring multiple indicators.
Features
Detects Up, Down, or Ranging conditions
🟩 Uptrend
🟥 Downtrend
🟨 Ranging
- Calculates a unified Trend Confidence %
- Alerts for trend changes (Up, Down, or Ranging)
- “Auto Mode” that automatically adjusts logic to match the chart timeframe
- Built for intraday, swing, and multi-market use
How It Works
Trend Filter blends a combination of well-known market assessment concepts, including:
- EMA spacing and expansion
- Trend slope behavior
- Higher-high / higher-low and lower-high / lower-low structure
- Volatility and range evaluation (ATR concepts)
- Momentum confirmation techniques
Alerts
Trend Filter includes the following alert conditions:
- Trend turns Up
- Trend turns Down
- Market becomes Ranging
These alerts trigger automatically when the trend classification changes
Ideal for traders looking to:
- Differentiate between trending and ranging environments
- Avoid choppy or low-directional markets
- Filter entries based on market structure
- Gain quick clarity without complex chart setups
Disclaimer
This indicator is provided for educational purposes only and is not financial advice.
All trading involves risk. Past performance does not guarantee future results.
Users are solely responsible for their own investment decisions and for complying with all applicable laws and regulations.
Skrip jemputan sahaja
Hanya pengguna disahkan oleh penulis boleh mengakses skrip ini. Anda perlu memohon dan mendapatkan kebenaran untuk menggunakannya. Keizinan selalunya diberikan selepas pembayaran. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi T_I_M_E secara terus.
TradingView TIDAK menyarankan pembayaran atau penggunaan skrip kecuali anda mempercayai sepenuhnya penulis dan memahami bagaimana ia berfungsi. Anda juga boleh menjumpai alternatif sumber terbuka dan percuma yang lain di dalam skrip komuniti kami.
Arahan penulis
Penafian
Skrip jemputan sahaja
Hanya pengguna disahkan oleh penulis boleh mengakses skrip ini. Anda perlu memohon dan mendapatkan kebenaran untuk menggunakannya. Keizinan selalunya diberikan selepas pembayaran. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi T_I_M_E secara terus.
TradingView TIDAK menyarankan pembayaran atau penggunaan skrip kecuali anda mempercayai sepenuhnya penulis dan memahami bagaimana ia berfungsi. Anda juga boleh menjumpai alternatif sumber terbuka dan percuma yang lain di dalam skrip komuniti kami.