Skip to content
All library documents

Trading Candle Color Changes with an XMACandles Expert Advisor

Article MQL5 code base

Summary

This document describes an Expert Advisor that uses the XMACandles indicator to generate trades. A signal occurs when a bar closes and the indicator’s candle color changes. Running the advisor requires the compiled indicator, and an auxiliary library is mentioned for broker compatibility and for setting protective orders when opening positions.

The document says its displayed tests used the default inputs and omitted stop-loss and take-profit settings. It identifies a EURUSD four-hour test for 2015 and refers to chart examples, but provides no performance figures or detailed evaluation. The brief description does not specify entry direction, exits, position sizing, or how the color-change signal is validated, so the test reference alone is insufficient to assess profitability or risk.

Key ideas

  • The Expert Advisor takes signals from the XMACandles indicator.
  • A signal is generated when a bar closes with a change in the indicator’s candle color.
  • The compiled indicator must be installed for the advisor to run.
  • The described EURUSD test used default inputs and no stop-loss or take-profit settings.
  • The document gives no numerical performance results or detailed risk analysis.

Tags

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