Skip to content
All library documents

Displaying the Ehlers Center of Gravity Indicator as Candles

Article MQL5 code base

Summary

The document introduces a candle-style display of John Ehlers’ Center of Gravity indicator. It identifies two rendering variants: one that colors candles and one that draws standard candles. It also notes that the implementation uses a moving-average class from a smoothing library for intermediate calculations.

This is a brief description of an indicator implementation, not a complete explanation of the underlying calculation or a trading strategy. It provides no parameter settings, entry or exit rules, chart examples beyond a figure reference, backtest, or performance evidence. Readers can learn that the indicator is presented in candle form and that its implementation depends on a smoothing component, but they would need the referenced technical material or source implementation to understand the formula and assess how the display might support a trading decision.

Key ideas

  • The indicator presents the Ehlers Center of Gravity in candle form.
  • Two drawing styles are identified: colored candles and standard candles.
  • The implementation uses a moving-average class from a smoothing library.
  • The document does not explain the calculation or define a trading rule.
  • No backtest or performance evidence is supplied.

Tags

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