All indicators

SuperTrend AI (Clustering)

By LuxAlgoAug 14, 2023

Static chart image

SuperTrend AI (Clustering) lets performance data choose the settings. The indicator evaluates the SuperTrend trailing stop across a user-defined factor range, scores how each instance has performed, and applies k-means clustering with three groups (below-average, average, and exceptional) to that performance set. The factor driving the on-chart stop is drawn from the chosen cluster's average, with centroids initialized from performance quartiles to speed convergence.

How to Trade the SuperTrend AI (Clustering)?

  • Trailing stop flips: read them like the classic. The stop below price marks an uptrend, above price a downtrend.
  • Signal performance metric: each signal prints a value; higher readings tend to accompany stronger trends, lower ones warn of possible retracements. Informative, not foolproof.
  • Stop plus adaptive average as S/R: both can serve as support and resistance; raising Performance Memory produces a longer-term adaptive moving average.
  • Factor range choice: higher minimum and maximum factors favor signals suited to longer-term positioning.

SuperTrend AI (Clustering) Settings

  • ATR Length: period of the ATR in the SuperTrend calculation.
  • Factor Range: minimum and maximum factors evaluated.
  • Step: increment between tested factors.
  • Performance Memory: how much history weighs on performance scores; higher values emphasize the long run.
  • From Cluster: which cluster (best, average, or worst) supplies the final factor.
  • Maximum Iteration Steps / Historical Bars Calculation: caps on centroid iterations and the calculation window.

Frequently Asked Questions

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5
Original indicatorBuilt in-house by LuxAlgo

The Library is free. Quant makes it yours.

Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.