OPEN-SOURCE SCRIPT
Multiple Factor Adaptive MA SuperTrend

Multiple Factor Adaptive MA SuperTrend
Multiple Factor Adaptive MA SuperTrend is an enhanced trend-following overlay that builds on the classical SuperTrend concept by introducing an adaptive moving-average base. The indicator dynamically adjusts to changing market conditions to produce smoother and faster trend signals, helping traders better track directional moves while reducing unnecessary noise.
Instead of relying on a fixed moving-average base, the indicator updates its baseline only when market conditions justify it. This creates a stabilizing effect during consolidation while allowing quicker reactions when volatility, momentum, or activity increases.
🔍 How It Works
The indicator combines:
• A user-selectable Moving Average as the core trend base
• ATR-based volatility bands to detect trend transitions
• An adaptive filter that determines when the base should update
The adaptive mechanism evaluates market conditions using one of several selectable drivers:
• ATR expansion (volatility increase)
• Rate-of-change acceleration
• Rising trading volume
• Increasing divergence between price and the moving average
If the chosen condition signals increased activity or market change, the moving-average base updates normally. Otherwise, the previous base value is retained, effectively smoothing the trend structure and filtering minor fluctuations.
Volatility bands are then calculated around this adaptive base using ATR multiplied by a configurable factor. Trend changes occur when price crosses these bands.
When price breaks above the upper band, a bullish trend is activated and the lower band becomes the trailing support. When price breaks below the lower band, a bearish trend is activated and the upper band acts as trailing resistance.
⚙️ Key Features
• Adaptive moving-average baseline
• Multiple MA types including SMA, EMA, WMA, HMA, VWMA, DEMA, TEMA, and EWMA
• ATR-based volatility bands
• Multiple adaptation modes (volatility, momentum, volume, divergence)
• Reduced noise during consolidation phases
• Smooth trend visualization and transition markers
🧩 Inputs Overview
• Moving-average type and length
• Price source selection
• ATR length and multiplier
• Adaptive filter method selection
📌 Usage Notes
• Useful for identifying prevailing market direction and trend shifts.
• Adaptive filtering can help reduce false signals during sideways markets.
• Signals may update intrabar on lower timeframes.
• Best results are achieved when combined with confirmation tools or risk management rules.
• This script is intended for analytical purposes and does not provide financial advice.
Multiple Factor Adaptive MA SuperTrend is an enhanced trend-following overlay that builds on the classical SuperTrend concept by introducing an adaptive moving-average base. The indicator dynamically adjusts to changing market conditions to produce smoother and faster trend signals, helping traders better track directional moves while reducing unnecessary noise.
Instead of relying on a fixed moving-average base, the indicator updates its baseline only when market conditions justify it. This creates a stabilizing effect during consolidation while allowing quicker reactions when volatility, momentum, or activity increases.
🔍 How It Works
The indicator combines:
• A user-selectable Moving Average as the core trend base
• ATR-based volatility bands to detect trend transitions
• An adaptive filter that determines when the base should update
The adaptive mechanism evaluates market conditions using one of several selectable drivers:
• ATR expansion (volatility increase)
• Rate-of-change acceleration
• Rising trading volume
• Increasing divergence between price and the moving average
If the chosen condition signals increased activity or market change, the moving-average base updates normally. Otherwise, the previous base value is retained, effectively smoothing the trend structure and filtering minor fluctuations.
Volatility bands are then calculated around this adaptive base using ATR multiplied by a configurable factor. Trend changes occur when price crosses these bands.
When price breaks above the upper band, a bullish trend is activated and the lower band becomes the trailing support. When price breaks below the lower band, a bearish trend is activated and the upper band acts as trailing resistance.
⚙️ Key Features
• Adaptive moving-average baseline
• Multiple MA types including SMA, EMA, WMA, HMA, VWMA, DEMA, TEMA, and EWMA
• ATR-based volatility bands
• Multiple adaptation modes (volatility, momentum, volume, divergence)
• Reduced noise during consolidation phases
• Smooth trend visualization and transition markers
🧩 Inputs Overview
• Moving-average type and length
• Price source selection
• ATR length and multiplier
• Adaptive filter method selection
📌 Usage Notes
• Useful for identifying prevailing market direction and trend shifts.
• Adaptive filtering can help reduce false signals during sideways markets.
• Signals may update intrabar on lower timeframes.
• Best results are achieved when combined with confirmation tools or risk management rules.
• This script is intended for analytical purposes and does not provide financial advice.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
"Better to take a step back, than to stand stuck forever."
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
"Better to take a step back, than to stand stuck forever."
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.