All indicators

Adaptive Gaussian Moving Average

May 24, 2023

Static chart image
SignalsMoving AveragesVolatility

The Adaptive Gaussian Moving Average indicator provides a volatility-adjusted trend-following line that uses Gaussian distribution weights to deliver superior smoothing and responsiveness compared to traditional moving averages.

Usage

The Adaptive Gaussian Moving Average (AGMA) is primarily used for trend identification and market regime analysis. Traders can utilize the indicator in the following ways:

  • Trend Identification: A rising AGMA line colored green indicates a prevailing uptrend, while a falling red line indicates a downtrend.
  • Price Crossovers: When price crosses above the AGMA, it may signal a bullish reversal or entry point. Conversely, a cross below the AGMA may signal a bearish reversal.
  • Volatility Adaptation: By enabling the adaptive setting, the indicator becomes more responsive during high-volatility periods and smoother during low-volatility phases, helping to filter out market noise.
  • Trend Confirmation: The AGMA can serve as a baseline for trend strength; a price remaining consistently above a rising AGMA confirms strong bullish momentum.

Details

The AGMA builds upon the Gaussian Moving Average (GMA) framework, which applies weights based on a bell curve (normal distribution) rather than linear or exponential decay. This specific implementation introduces a dynamic "Sigma" (standard deviation) component.

When the adaptive feature is active, the Sigma value is calculated based on the standard deviation of closing prices over a specified volatility period. This allows the Gaussian curve to widen or narrow automatically. The calculation also incorporates the midpoint of the high and low prices over the lookback period, ensuring the average accounts for the total price range rather than just closing values.

Settings

  • Length: Determines the number of bars used in the Gaussian calculation. Higher values result in a smoother, more lagged line.
  • Adaptive Parameters: A toggle to enable or disable the volatility-based adjustment of the Sigma value.
  • Volatility Period: Sets the lookback period for calculating market volatility (standard deviation) when the adaptive feature is enabled.
  • Standard Deviation: The fixed Sigma value used for the Gaussian distribution if "Adaptive Parameters" is disabled.

FAQ

How does the adaptive feature benefit my trading? The adaptive feature allows the AGMA to decrease its lag during volatile market moves and increase smoothing during sideways consolidation, reducing the likelihood of false signals.

Can I use this indicator for scalping or long-term investing? Yes, by adjusting the Length and Volatility Period settings, the AGMA can be tuned for short-term timeframes (scalping) or daily/weekly charts (long-term investing).

How do I access the Adaptive Gaussian Moving Average? 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.