Skip to content
All library documents

Elliott Wave Oscillator: Moving Average Difference and Histogram Colors

Article MQL5 code base

Summary

The Elliott Wave Oscillator described here is the difference between a fast and a slow moving average applied to a chosen price series. Users can configure the two averaging periods, the moving-average calculation method, and the input price. The oscillator is displayed as a histogram, with zero separating readings where the fast average is above or below the slow average.

Bar colors encode both the sign of the oscillator and whether its values are rising or falling: positive readings use two green shades, while negative readings use orange or dark red. This provides a visual distinction between the oscillator's position relative to zero and its recent direction. The document explains the indicator's construction and display conventions, but does not specify preferred settings, entry or exit rules, or evidence that the color changes forecast price movements. It should therefore be understood as an indicator description rather than a tested trading strategy.

Key ideas

  • The oscillator is calculated as a fast moving average minus a slow moving average.
  • Its inputs include the averaging periods, calculation method, and applied price.
  • The zero line distinguishes positive and negative oscillator readings.
  • Histogram colors distinguish rising from falling values on either side of zero.
  • The description provides no settings guidance or evidence of predictive performance.

Tags

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