Skip to content
All library documents

Candlestick Trend-Change Signals for Expert Advisor Entries

Article MQL5 code base

Summary

This MetaTrader expert advisor trades signals from a candlestick indicator. It acts when a bar closes with a trend candle and the preceding candle was either not a trend candle or pointed in the opposite direction. The rule therefore focuses on the appearance of a new directional candle rather than every candle in an existing run.

The document identifies EURUSD on a four-hour chart and 2015 as the test setting, and says the reported test used default inputs without stop-loss or take-profit orders. It provides no numerical performance results or detailed risk analysis, so the test reference alone does not establish profitability or robustness. The advisor also depends on a separately compiled indicator file, and its behavior may vary with broker execution conditions and parameter choices.

Key ideas

  • The entry signal occurs at candle close when a trend candle appears after no trend candle or one in the opposite direction.
  • The expert advisor relies on a separate candlestick indicator.
  • The stated test used EURUSD four-hour data from 2015 and default inputs.
  • The reported test omitted stop-loss and take-profit settings, limiting what can be inferred about risk control.

Tags

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