OPEN-SOURCE SCRIPT
SuperTrend Fusion — Trend + Momentum + Volatility Filter

SuperTrend Fusion — Trend + Momentum + Volatility Filter
SuperTrend Fusion — ATP is an original, multi-factor trend-filtering tool that enhances the classic SuperTrend by combining three market dimensions in one unified model:
1. Trend direction (SuperTrend)
Provides the base trend structure using ATR-based volatility bands.
2. Momentum confirmation (Average Force – adapted)
An adapted version of an open-source “Average Force” concept published on TradingView by racer8.
This component measures where closing price sits relative to recent highs/lows, smoothed to capture directional pressure.
3. Market condition filtering (Choppiness Index)
Filters out sideways, non-trending zones where SuperTrend alone typically produces false flips.
Together, these components create a cleaner, more selective system that focuses on higher-quality SuperTrend reversals, avoiding the most common whipsaws that occur during low-momentum or high-choppiness periods.
🔍 How it Works
A long signal occurs when:
- SuperTrend flips from downtrend to uptrend
- Momentum (AF) is positive (optional filter)
- The market is trending and not excessively choppy (optional filter)
A short signal triggers under the symmetrical conditions.
Filtered signals are visually marked with subtle “X” markers so traders can understand when a raw SuperTrend flip was rejected by the filters.
The indicator also includes:
Enhanced styling for better visibility
Colored bars during valid signals
Optional background highlight during choppy periods
🎯 What This Indicator Is Designed For
This tool aims to:
- Improve the quality of SuperTrend entries
- Remove many low-probability signals
- Help traders visually identify when the market has the momentum and structure required for cleaner trend continuation
It is not intended to predict markets or guarantee accuracy; rather, it provides structure and clarity for decision-making based on technical rules.
⚙️ Inputs
- ATR Length & Factor (SuperTrend)
- Average Force Period & Smoothing
- Choppiness Length & Threshold
- Option to enable/disable each filter individually
📘 Credits
This script includes an adapted version of an open-source “Average Force” function originally published on TradingView by its author, racer8.
SuperTrend and Choppiness Index components are derived from classical, public-domain formulas.
📌 Important Notes
This indicator is not a strategy and does not guarantee performance.
Signals are based on historical calculations only and do not use lookahead.
Past performance does not guarantee future results.
Always test different assets and timeframes before using in live conditions.
👍 Recommended Usage
For a clean experience:
- Use on standard candlestick charts
- Avoid non-standard chart types (Renko, Heikin Ashi, Kagi, Range)
- Combine with your own risk management and trade planning
SuperTrend Fusion — ATP is an original, multi-factor trend-filtering tool that enhances the classic SuperTrend by combining three market dimensions in one unified model:
1. Trend direction (SuperTrend)
Provides the base trend structure using ATR-based volatility bands.
2. Momentum confirmation (Average Force – adapted)
An adapted version of an open-source “Average Force” concept published on TradingView by racer8.
This component measures where closing price sits relative to recent highs/lows, smoothed to capture directional pressure.
3. Market condition filtering (Choppiness Index)
Filters out sideways, non-trending zones where SuperTrend alone typically produces false flips.
Together, these components create a cleaner, more selective system that focuses on higher-quality SuperTrend reversals, avoiding the most common whipsaws that occur during low-momentum or high-choppiness periods.
🔍 How it Works
A long signal occurs when:
- SuperTrend flips from downtrend to uptrend
- Momentum (AF) is positive (optional filter)
- The market is trending and not excessively choppy (optional filter)
A short signal triggers under the symmetrical conditions.
Filtered signals are visually marked with subtle “X” markers so traders can understand when a raw SuperTrend flip was rejected by the filters.
The indicator also includes:
Enhanced styling for better visibility
Colored bars during valid signals
Optional background highlight during choppy periods
🎯 What This Indicator Is Designed For
This tool aims to:
- Improve the quality of SuperTrend entries
- Remove many low-probability signals
- Help traders visually identify when the market has the momentum and structure required for cleaner trend continuation
It is not intended to predict markets or guarantee accuracy; rather, it provides structure and clarity for decision-making based on technical rules.
⚙️ Inputs
- ATR Length & Factor (SuperTrend)
- Average Force Period & Smoothing
- Choppiness Length & Threshold
- Option to enable/disable each filter individually
📘 Credits
This script includes an adapted version of an open-source “Average Force” function originally published on TradingView by its author, racer8.
SuperTrend and Choppiness Index components are derived from classical, public-domain formulas.
📌 Important Notes
This indicator is not a strategy and does not guarantee performance.
Signals are based on historical calculations only and do not use lookahead.
Past performance does not guarantee future results.
Always test different assets and timeframes before using in live conditions.
👍 Recommended Usage
For a clean experience:
- Use on standard candlestick charts
- Avoid non-standard chart types (Renko, Heikin Ashi, Kagi, Range)
- Combine with your own risk management and trade planning
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.
AlgoTrade Pro
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.
AlgoTrade Pro
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.