SuperTrend AI Strategy [Adaptive]
Feb 19, 2026

The SuperTrend AI Strategy [Adaptive] indicator is a comprehensive trading tool that combines market regime detection with an AI-driven scoring engine to optimize entries and manage risk. It aims to reduce the noise and whipsaws commonly found in standard trend-following strategies by adapting the SuperTrend multiplier to current market conditions.
Usage
The strategy is designed for both backtesting and live analysis. It identifies three distinct market regimes—trending, volatile, and ranging—and modifies the band sensitivity accordingly. Users can identify high-quality trade opportunities through the AI scoring system, which evaluates factors like volume conviction and trend alignment.
Key usage scenarios include:
- Trend Following: Automating long and short entries based on SuperTrend flips that meet a minimum AI score threshold.
- Regime Adaptation: Monitoring the band color and width to understand if the market is currently too volatile or ranging for reliable entries.
- Risk Management: Utilizing the built-in Stop Loss (SL) and Take Profit (TP) modes to protect capital based on ATR volatility or fixed percentages.
Details
The script executes a multi-factor analysis to score every potential trend flip:
- Volume Surge: Measures conviction behind price movements relative to a moving average.
- Displacement: Calculates how significantly the price has broken through the SuperTrend band.
- Trend Alignment: Checks if the price is on the correct side of a long-term EMA.
- Regime Quality: Penalizes entries during ranging markets and prioritizes trending environments.
- Band Distance: Evaluates the distance traveled by price before the flip occurred to assess momentum.
Settings
SuperTrend
- ATR Length: The period used to calculate the Average True Range for the bands.
- Base Multiplier: The standard multiplier used for the SuperTrend distance.
- Source: The price data source (default is HL2).
Regime Detection
- Regime Lookback: The period for assessing market volatility shifts.
- ADX Length: Period for the Average Directional Index calculation.
- Adaptive Multiplier: Enables the engine to automatically widen or tighten bands based on regime.
AI Engine
- Trend EMA Length: The period for the trend filter EMA.
- Min Signal Score: The minimum AI score (0-100) required to trigger a trade entry.
Risk Management
- Stop Loss Mode: Choose between ATR-based, fixed Percent, or SuperTrend flip exits.
- Take Profit Mode: Choose between Risk:Reward ratios, fixed Percent, or no automated TP.
- Trailing Stop: Enables a dynamic stop loss that follows the price in profit.
FAQ
How do I access the SuperTrend AI Strategy [Adaptive]?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Can this be used on timeframes other than 4H?
Yes, while defaults are optimized for BTC on the 4H timeframe, you can adjust the AI Score threshold and ATR multipliers to suit lower timeframes like 1H or assets like Forex and Indices.
Does the strategy repaint its signals?
No, the strategy is designed to enter only on the confirmation of a closed bar, ensuring that backtest results are realistic and signals do not change after they appear.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.