Skip to content
All library documents

Trading GBPJPY on Color-Change Signals from a Candle Indicator

Article MQL5 code base

Summary

This Expert Advisor uses a color transition in the ColorXCCXCandle indicator to generate a signal when a bar closes. The document describes the trigger but does not explain how candle colors are calculated, whether a color change prompts a buy or sell, or how positions are closed. It also notes that a trading library can support brokers with nonzero spreads and allow stop-loss and take-profit settings when opening positions.

The page refers to chart examples and a test on GBPJPY using four-hour bars in 2014. It states that the displayed test used default inputs and did not use stop-loss or take-profit settings, but supplies no numerical results or analysis of costs, drawdown, or robustness. The indicator and compiled files are prerequisites for use. With signal construction and trade management left unspecified, the description is insufficient to reproduce or assess the strategy independently.

Key ideas

  • A signal is generated at bar close when the indicator candle changes color.
  • The document does not define the indicator calculation or map color changes to trade direction.
  • A trading library is mentioned for spread handling and optional stop-loss and take-profit placement.
  • The cited GBPJPY four-hour test used default inputs and omitted stop-loss and take-profit settings.
  • No quantitative test results or robustness analysis are included.

Tags

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