Skip to content
All library documents

A Multi-Window EMA Oscillator for Trend Direction

Article ProRealCode

Summary

This indicator presents a simplified trend analyzer associated with Elliott-wave analysis. Its calculations compare fast and slow exponential averages, then normalize three price-derived series—the fast-minus-slow spread, the fast average, and the slow average—against their recent highs and lows over three configurable windows. Each normalized series is averaged over its corresponding window and classified as positive or negative around a midpoint threshold. The three classifications are combined into a histogram: green for positive direction, red for negative direction, and gray for neutral.

The author says the signal is more reliable on higher timeframes, but it can be used on any timeframe. The code does not show an explicit Elliott-wave count; it describes a directional indicator built from smoothed and range-normalized averages. No parameter values for the three lookback windows, performance results, or systematic validation are provided. The colors indicate the computed regime, but the document does not define entry, exit, or risk rules, so the histogram alone is not a complete trading strategy.

Key ideas

  • The indicator derives three inputs from fast and slow exponential averages and normalizes them over separate lookback windows.
  • Each input is averaged and classified around a midpoint threshold before the three directional votes are combined.
  • The histogram uses green, red, and gray to represent positive, negative, and neutral readings.
  • The author reports greater reliability on higher timeframes, without providing quantitative evidence.
  • The code provides a trend signal rather than an explicit Elliott-wave count or a complete trade plan.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.