All indicators

EMA Wave Indicator

Jan 18, 2015

Static chart image
SignalsMoving AveragesVolatility

The EMA Wave Indicator indicator provides a visualization of relative momentum across three distinct timeframes by rendering price deviations from exponential moving averages as synchronized waves. This tool helps traders identify high-momentum trends and potential price exhaustion points through the confluence of short, medium, and long-term price cycles.

Usage

The Usage section describes how the script can be used to interpret market momentum and volatility. The indicator displays three histogram waves—labeled A, B, and C—which represent the smoothed difference between the price and its respective EMA.

  • Trend Strength: When Wave A (short-term), Wave B (medium-term), and Wave C (long-term) are all aligned on the same side of the zero line, it indicates strong directional momentum.
  • Spike & Exhaustion Detection: By enabling the "Identify Spikes/Exhaustions" feature, the tool highlights bars where the ratio between different waves exceeds a user-defined cutoff. These highlighted areas often signal overextended price movements or potential reversals.
  • Bar Coloring: If the "Color Bars" option is enabled, the chart candlesticks will change color to reflect detected spikes, providing a visual cue for volatility directly on the price action.

Details

The script calculates three separate waves based on the difference between the source price (HLC3) and an Exponential Moving Average (EMA) of varying lengths (Short, Medium, and Long). Each of these differences is then smoothed using a Simple Moving Average (SMA) to create the "Wave" output.

The exhaustion logic (Spikes) is determined by comparing the ratio of the waves. If the ratio of the long-term wave to the medium-term wave (or medium to short) exceeds the "Cutoff" value, the script flags the move as a spike. This mathematical approach helps in filtering out noise and focusing on significant deviations from the mean across multiple time horizons.

Settings

  • Wave A Length: Sets the period for the shortest EMA timeframe (Short-term wave).
  • Wave B Length: Sets the period for the medium EMA timeframe (Medium-term wave).
  • Wave C Length: Sets the period for the longest EMA timeframe (Long-term wave).
  • Wave SMA Length: Determines the smoothing period applied to all calculated waves.
  • Identify Spikes/Exhaustions: Toggles the visual highlighting of extreme momentum spikes on the histogram.
  • Cutoff: Sets the threshold ratio used to determine when a price movement is considered a spike or exhaustion.
  • Color Bars on Spikes/Exhaustions: When enabled, this changes the color of the price bars when exhaustion criteria are met.

FAQ

How do I interpret the three waves together? When all three waves (A, B, and C) are moving in the same direction and expanding away from the zero line, it suggests a healthy and strong trend. If the waves begin to converge or cross the zero line, it may indicate a loss of momentum.

What does a "Spike" highlight indicate? A spike highlight suggests that the price has moved significantly faster than its historical average relative to other timeframes, which can often precede a period of consolidation or a trend reversal.

How can I access the EMA Wave 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.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.