Quadruple Exponential Moving Averages
Jan 10, 2018

The Quadruple Exponential Moving Averages tool provides a streamlined interface for plotting and managing four distinct exponential moving averages simultaneously to identify trend direction, support/resistance levels, and momentum shifts.
Usage
The Usage section describes how the script can be used to improve chart analysis. By utilizing four separate EMAs, traders can observe the interaction between short-term and long-term price action without cluttering the indicator list.
- Trend Identification: Users typically use the relationship between the four lines to determine trend strength. When the shorter-period EMAs (e.g., Length 14) are above the longer-period EMAs (e.g., Length 200), it indicates a bullish trend.
- Crossover Strategies: The indicator is pre-configured to monitor crossovers between EMA 1/2 and EMA 2/3. For example, a crossover of the 14-period EMA above the 50-period EMA is often viewed as a bullish momentum signal.
- Dynamic Support and Resistance: In trending markets, price often retraces to these moving averages. The four different lengths provide multiple "zones" where price may find support during an uptrend or resistance during a downtrend.
Details
The script is a refactored and optimized version of the original concepts by @dysxelia. It calculates four standard Exponential Moving Averages (EMA) based on the user-defined length and source.
Unlike a Simple Moving Average (SMA), the EMA places a higher weighting on the most recent data points, making it more responsive to sudden price movements. This implementation allows each of the four averages to have its own independent source input, allowing for advanced configurations such as plotting an EMA of the "High" alongside an EMA of the "Low" to create a trend channel.
Settings
The settings allow for full customization of the moving average parameters:
- Enable 2nd/3rd/4th MA: Toggles the visibility of the respective moving averages on the chart.
- Length 1-4: Defines the lookback period for each EMA calculation.
- Source 1-4: Selects the price data (Close, Open, High, Low, etc.) used for each calculation.
FAQ
What is the advantage of using four EMAs instead of one? Using four EMAs allows you to visualize multiple time horizons simultaneously, making it easier to spot trend transitions and "fan-out" patterns where all averages align in one direction.
Can I set alerts for specific price crosses? The indicator includes built-in alert conditions for crossovers and crossunders between the first three moving averages, specifically monitoring interactions between EMA 1 and 2, and EMA 2 and 3.
How do I access the Quadruple Exponential Moving Averages indicator? 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.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.