All indicators

EDMA Scalping Strategy (Exponentially Deviating Moving Average)

Mar 5, 2022

Static chart image
Dynamic OverlaysSignalsMoving Averages

The EDMA Scalping Strategy indicator provides a comprehensive trend-following framework that utilizes the crossover of an Exponentially Deviating Moving Average (EDMA) and traditional Exponential Moving Averages (EMA) to identify trade entries and exits. By leveraging a specialized deviation formula, the tool aims to predict market reversals and trend shifts more responsively than standard moving averages.

Usage

The Usage section describes how the script can be used, primarily for identifying trend transitions and momentum shifts. Traders can monitor the interaction between the EDMA and EMA lines to determine market bias.

  • Bullish Signals: A "Strong Buy" is triggered when the EMA crosses above the EDMA. This is visually represented by the dynamic coloring of the EDMA and the filled band between the lines.
  • Bearish Signals: A "Strong Sell" occurs when the EMA crosses below the EDMA.
  • Trend Filtering: Users can enable the "Chikou Filter" to confirm trades. When active, signals are only generated if the price action aligns with the underlying trend direction defined by the Chikou period, reducing the number of false signals in sideways markets.
  • Timeframe Optimization: While the default period of 20 is optimized for higher timeframes (4H and above), traders on lower timeframes can increase the EDMA and EMA lengths to filter out market noise and reduce trade frequency.

Details

The EDMA is constructed through a three-step process designed to refine price data for better reversal prediction:

  1. Exponential Expansion: A moving line is calculated using EMA logic but with a modified smoothness factor (1 instead of 2).
  2. Exponential Contraction: A second calculation is applied to the first line, again using modified smoothness to create a more reactive curve.
  3. HMA Smoothing: A Hull Moving Average (HMA), with a length equal to 2/3 of the EDMA length, is applied to the final result to eliminate lag while maintaining smoothness.

The strategy also features several proprietary source options beyond standard closing prices, such as Weighted Ulcer (WU) and Extreme Index (EXI), allowing for customized sensitivity to price volatility.

Settings

Source Parameters

  • Different Sources Options: Selects the mathematical foundation for the price source (e.g., Traditional, Heiken-Ashi based, or Extreme Index).
  • Tradingview Source Setup: The standard input source (Close, Open, HL2, etc.) used when traditional sources are selected.
  • Apply Symmetrically Weighted Moving Average at the price source: Applies a 4-period triangular weighting to the source price to smooth data (may cause minor repainting).

MA Parameters

  • MA Length: The lookback period for the EDMA calculation.
  • Apply Symmetrically Weighted Moving Average at EDMA: Applies smoothing directly to the EDMA line.
  • EMA 1 Length: The period for the primary signal EMA.
  • EMA 2 Length: The period for the secondary (optional) EMA.

Chikou Filter Parameters

  • Chikou Period: Sets the displacement period for the trend confirmation filter.
  • Color Settings: Allows customization of Bullish, Bearish, and Consolidation colors for the dynamic UI.

ETrade Parameters

  • Show Cross Alerts: Toggles visual markers for entry signals on the chart.
  • Use Chikou Filter for Confirmation: When enabled, trades will only execute if the signal matches the Chikou trend direction.

FAQ

How do I interpret the dynamic colors on the EDMA? The colors reflect the trend state determined by the Chikou filter; green represents a bullish trend, red represents a bearish trend, and blue indicates consolidation or a potential reversal.

What is the difference between a "Weak" and "Strong" signal? A "Strong" signal is the primary crossover used for strategy execution, while "Weak" signals provide early warnings or alerts for traders looking for aggressive entries before a full trend confirmation.

How can I access the EDMA Scalping Strategy? 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.