All indicators

超級趨勢2 (SuperTrend2)

Feb 14, 2020

Static chart image
SignalsTrailing-StopVolatility

The 超級趨勢2 (SuperTrend2) indicator tool provides a trend-following strategy designed to capture directional moves while minimizing market noise through advanced volatility filtering.

Usage

The Usage section describes how the script can be used for automated or manual trend identification. The strategy generates buy (Long) signals when the price closes above the calculated trailing stop line and sell (Short) signals when it closes below.

  • Trend Identification: Use the color-coded trailing stop line (Green for bullish, Red for bearish) to identify the current market bias.
  • Altcoin Strategy: This tool is specifically optimized for high-volatility environments like the Altcoin market, where reducing noise is essential for maintaining a stable trend following approach.
  • Backtesting: The script includes built-in backtesting functionality with a date filter, allowing users to evaluate performance over specific historical periods.

Details

This implementation differs from standard SuperTrend indicators by applying a Running Moving Average (RMA) to the Average True Range (ATR) values. By smoothing the volatility component, the script creates a more stable trailing stop that is less susceptible to "whipsaws" or random market noise. This approach utilizes alpha filtering techniques commonly used to handle "Random Walk" price movements, focusing on consistency and parameter stability rather than raw performance in choppy sideways markets.

Settings

  • 數據來源 (Source): Determines the price source used for the strategy calculations (default is Close).
  • ATR 周期 (ATR Period): The lookback window used for calculating the initial volatility range.
  • ATR 乘數 (ATR Multiplier): The factor applied to the ATR to determine the distance of the trailing stop from the median price (HL2).
  • 過濾日期範圍 (Date Filter): A toggle to enable or disable the backtesting window.
  • Start/End Dates: Specific inputs for the Year, Month, and Day to define the backtesting period.

FAQ

How do I use the 超級趨勢2 (SuperTrend2)?

You can apply the script to your chart and monitor the trailing stop line. When the price crosses the line and the bar closes, a change in color and direction indicates a potential trend reversal.

Is this strategy suitable for all timeframes?

While it can be used on any timeframe, it was specifically tested on the 4-hour (4H) timeframe for markets like ETH/USD to balance responsiveness with noise reduction.

How can I access this script?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.