All indicators

Moving Average Multitool Crossover

Dec 11, 2021

Static chart image
SignalsMoving Averages

The Moving Average Multitool Crossover indicator provides a versatile technical analysis framework for comparing 29 different moving average types and identifying their crossover signals. This tool streamlines backtesting by allowing users to toggle between various smoothing methods—such as EMA, Hull, and Kaufman’s Adaptive MA—without manually swapping indicators on the chart.

Usage

The Usage section focuses on how to leverage the dual-line system to identify trend shifts and momentum changes. By selecting two different moving average types or lengths, traders can visualize the interaction between short-term and long-term price action.

  • Crossover Analysis: Use the "1st MA" for short-term sensitivity and the "2nd MA" for long-term trend confirmation. A "Buy" signal is generated when the fast MA crosses above the slow MA, while a "Sell" signal occurs when it crosses below.
  • Backtesting Variety: Quickly switch between advanced filters like Jurik MA (JMA) or Fractal Adaptive MA (FRAMA) to see which smoothing method reacts best to specific market volatility.
  • Signal Visualization: Enable "Show MA Crossover Signals?" to plot visual markers on the chart for every crossover event, helping to identify historical performance at a glance.

Details

The script consolidates a wide array of classic and modern moving average formulas into a single execution environment. Beyond standard calculations like SMA and EMA, the tool includes complex filters:

  • Adaptive Filters: Includes KAMA, FRAMA, and VIDYA, which adjust their smoothing factor based on market volatility or trend strength.
  • Lag-Reduction: Utilizes Zero-Lag EMA (ZLEMA), Hull MA (HMA), and DEMA/TEMA to provide smoother lines with less price delay.
  • Volume-Weighted Options: Includes VWMA and Elastic Volume Weighted MA (EVWMA) to incorporate trading activity into the trend calculation.
  • Advanced Smoothing: Features specialized algorithms like the McGinley Dynamic, Arnaud Legoux MA (ALMA), and the Sine Weighted MA (SWMA).

Settings

General MA Settings

  • MA Type: Selects the specific smoothing algorithm for the first or second line (e.g., SMA, EMA, JMA, KAMA).
  • MA Length: Sets the lookback period for the calculation.
  • MA Source: Determines the price data used for the calculation (Close, Open, High, Low, etc.).
  • Show MA Crossover Signals?: Toggles the visibility of buy/sell labels on the chart.

Specific Algorithm Settings

  • ALMA Settings: Adjusts the "Offset" (Gaussian distribution) and "Sigma" (width) for the Arnaud Legoux Moving Average.
  • KAMA Settings: Defines the "Fast" and "Slow" EMA lengths used to calculate the efficiency ratio for Kaufman’s Adaptive MA.
  • VAMA Settings: Configures the volatility length and optional smoothing for the Volatility-Adjusted Moving Average.
  • Modular Filter Settings: Controls the "Beta" and "Feedback" parameters for the Modular Filter.

FAQ

How do I change the speed of the signals? You can adjust the "MA Length" for both lines; decreasing the length of the 1st MA will result in faster, more frequent crossover signals.

Can I use two different types of moving averages at once? Yes, the script allows you to mix and match types, such as crossing a 50-period SMA with a 20-period Hull MA.

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