Skip to content
All library documents

XMACD Histogram Signals and Trend-Shaded Candlesticks

Article MQL5 code base

Summary

This indicator derives trading signals from the XMACD histogram and offers three configurable signal triggers: a change in histogram direction, a change in signal-line direction, or a crossing between the histogram and signal line. It displays the result as colored candlesticks. Candles aligned with the trend receive a stronger color, while candles moving against it appear paler.

The description explains the available signal rules and visual encoding, but provides no performance results, parameter recommendations, or full entry and exit system. It also depends on a separate smoothing library, which must be available to the terminal for the indicator to work. The material does not establish that any of the three signal variants predicts returns or accounts for trading costs, so the indicator is best understood as a way to visualize selected XMACD conditions rather than evidence of a profitable strategy.

Key ideas

  • The indicator can signal when the XMACD histogram changes direction.
  • Alternative triggers use a change in signal-line direction or a histogram and signal-line crossing.
  • Candles are brightly colored when aligned with the trend and paler when against it.
  • The indicator requires a separate smoothing library and the description gives no performance evidence.

Tags

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