All indicators

Kalman Step Signals

Dec 26, 2024

Static chart image
Support and ResistanceSignalsVolatility

The Kalman Step Signals indicator combines Kalman Filtering with Supertrend logic to provide a smoothed trend-following system designed to identify market shifts and price rejections.

Usage

The indicator can be used to identify primary trend directions and specific entry/exit zones. Traders can observe the trend-colored cloud and signals to gauge market momentum.

  • Trend Identification: The color-coded Supertrend line and background fill indicate the current trend direction. A green cloud suggests a bullish environment, while a red cloud suggests a bearish one.
  • Trend Reversals: Large triangle labels (▲/▼) mark the points where the Kalman-filtered price crosses the Supertrend threshold, signifying a potential trend change.
  • Rejection Entries: Small arrows (▲/▼) appear when price tests the trendline but fails to break it, indicating a trend continuation or "rejection" entry.
  • Exit Bands: The script plots upper and lower bands that serve as potential exhaustion or take-profit targets relative to the current trend volatility.

Details

This tool leverages a Kalman Filter to smooth price data before applying Supertrend calculations. Unlike traditional moving averages, the Kalman Filter dynamically adjusts to price volatility by balancing responsiveness (Alpha/Beta) and noise reduction. This refined data is then processed through an ATR-based Supertrend formula to create dynamic support and resistance levels. By using smoothed data for the Supertrend logic, the indicator reduces "whipsaw" signals often found in standard trend-following tools.

Settings

Kalman Filter

  • Kalman Alpha: Controls the smoothing factor. Smaller values provide more smoothing, while larger values increase responsiveness.
  • Kalman Beta: Influences the rate of change sensitivity, helping the filter adjust to trend shifts.
  • Kalman Period: Defines the lookback period for the filter calculation.

Supertrend

  • Supertrend Factor: The multiplier applied to the ATR to determine the distance of the trend line from the price.
  • ATR Period: The period used to calculate the Average True Range for volatility measurement.

Colors

  • Bullish Color: Customizes the visual representation of uptrends.
  • Bearish Color: Customizes the visual representation of downtrends.

FAQ

How do I use the rejection signals?

Rejection signals are designed for trend continuation trades. When price briefly dips below (in an uptrend) or rises above (in a downtrend) the trendline but closes back on the trending side, a rejection signal is plotted.

Can I set alerts for trend changes?

Yes, the indicator includes built-in alert conditions for both trend changes and rejection entries, which can be configured via the TradingView alerts menu.

How do I access Kalman Step Signals?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.