All indicators

Indicator Configuration Forecasting

By LuxAlgoFeb 16, 2026

Indicator Configuration Forecasting is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

Static chart image

Indicator Configuration Forecasting encodes the current state of familiar technical tools (RSI, SMA cross, Supertrend, MACD and ADX) into a regime vector, then applies KNN analog forecasting to find the historical bars that looked most alike and project what price did next. The output is a median forecast path flanked by 75th and 25th percentile bounds built from real outcomes, not extrapolation. In the spirit of adaptive parameterization, you choose which indicators define a "similar" market, and the model matches only on those.

How to Trade the Indicator Configuration Forecasting?

  • Median path (dashed gray): the 50th percentile of matched outcomes, the central expectation over the horizon.
  • Upper bound (dashed green): the 75th percentile, the bullish edge of the projection.
  • Lower bound (dashed red): the 25th percentile, the bearish edge; a wide spread between bounds signals dispersed outcomes and higher risk.
  • Match labels: markers on the historical bars chosen as analogs, letting you audit where each projection came from.

Regime design is the craft: enable only SMA Cross and Supertrend for trend continuation studies, RSI alone for mean reversion, or add ADX to isolate strong trends. Overlapping matches are filtered so only distinct events feed the forecast.

Indicator Configuration Forecasting Settings

  • Top K Neighbors: how many similar configurations feed the projection. Fewer gives sharper but noisier paths.
  • Forecast Horizon (N): how many bars forward the projection extends.
  • Historical Lookback: how far back the regime search reaches.
  • Indicator toggles: RSI, SMA Cross, Supertrend, MACD and ADX each switch in or out of the regime definition.
  • Show Individual Match Paths: overlays the matched historical price paths.
  • Dashboard: reports matches found, the forecast horizon and the 25th–75th percentile band used for the bounds.

Frequently Asked Questions

Free to use

Run it on Vela. Go further with a paid plan.

  • Up to 500 strategy alerts, with webhook automation
  • Up to 10× the chart history of Free
  • Orderflow lookback up to full history
  • More Quant usage to customize it, plus extra usage when you need it
  • Futures data alongside crypto, stocks, forex and commodities
See plans

Also works on

TradingView
Original indicatorBuilt in-house by LuxAlgo

Run it on Vela. Make it yours with Quant.

Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.