All indicators

Adaptive Fourier Transform Supertrend

Jan 16, 2025

Static chart image
Dynamic OverlaysSupport and ResistanceSignalsForecastingChannelsCycleMoving AveragesTrailing-StopVolatility

The Adaptive Fourier Transform Supertrend indicator combines Fourier analysis with dynamic Supertrend methodology to transform complex market waves into clear trend signals. It leverages frequency domain mathematics and adaptive volatility control to provide a sophisticated framework for identifying trend reversals and maintaining trend direction.

Usage

The indicator can be used to identify trend changes and potential entry points through visual cues on the chart. When the price action moves above the Fourier-derived trend line and volatility bands, a bullish signal ("L") is generated, and the cloud-fill turns green. Conversely, when price moves below these levels, a bearish signal ("S") is generated, and the cloud-fill turns red.

Key usage strategies include:

  • Trend Reversals: Monitor the L/S markers for strategic entry points at the start of new trends.
  • Bar Coloring: Use the trend-based bar coloring to maintain conviction in the current market direction and filter out minor noise.
  • Volatility Adaptation: Observe the width of the bands; tighter bands indicate lower volatility and potentially more sensitive signals, while wider bands filter out fluctuations in high-volatility environments.

Details

The indicator's architecture is built on three technical pillars:

  1. Fourier Wave Analysis: This component decomposes price action into multiple harmonic components. By using varying exponential moving average lengths (base, half, and third), it captures different market frequencies to establish a baseline trend.
  2. Harmonic Integration: Multiple frequency components are merged using a weighted approach. This allows shorter trends to influence the primary trend detection based on the "Harmonic Weight" setting.
  3. Adaptive Volatility Control: Unlike standard Supertrend indicators that rely solely on ATR, this version calculates volatility by averaging ATR and Standard Deviation. This result is then smoothed to create more stable and adaptive bands that respond to both price range and distribution.

Settings

Core Settings

  • Price Source: Selects the price data to analyze (e.g., Close, Open, High, Low).

Fourier Settings

  • Base Period: Sets the primary period for Fourier transform calculations. Lower values increase sensitivity, while higher values provide a smoother, lagging trend.
  • Smoothing: The period used to smooth the final Fourier output.
  • Harmonic Weight: Controls the influence of secondary harmonic components. Higher values (up to 1.0) make the indicator more reactive to short-term waves.

Supertrend Settings

  • Volatility Length: The lookback period for calculating ATR and Standard Deviation.
  • Volatility Multiplier: Determines the distance of the bands from the Fourier trend.
  • Volatility Smoothing: The smoothing period applied to the volatility calculation for more stable bands.

Visual Settings

  • Bullish Color: Customizes the color for uptrend signals and clouds.
  • Bearish Color: Customizes the color for downtrend signals and clouds.
  • Color Price Bars: Toggles the trend-based bar coloring feature.
  • Show Signals: Toggles the display of L (Long) and S (Short) markers.

FAQ

How do I access Adaptive Fourier Transform Supertrend?

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

What is the advantage of using Fourier analysis in a Supertrend?

Fourier analysis allows the indicator to consider multiple market cycles (harmonics) simultaneously, providing a more mathematically grounded trend line compared to simple moving averages used in traditional Supertrend indicators.

Can I use this for scalping or swing trading?

Yes, by adjusting the "Base Period" and "Volatility Multiplier," you can optimize the tool for different timeframes. Shorter periods (8-12) are generally better for scalping, while longer periods (20+) are suited for swing trading.

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.