INVITE-ONLY SCRIPT

Trend Filter

89
Trend Filter – Premium Trend & Range Detection Tool

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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.