Skip to content
All library documents

A Schaff–DeMarker Trend-Cycle Expert Advisor Using Zero-Level Breaks

Article MQL5 code base

Summary

The Expert Advisor described here uses a Color Schaff–DeMarker Trend Cycle indicator to generate signals around overbought and oversold conditions. It acts when a bar closes with a breakthrough of the zero level, making the close the stated signal timing. Running the advisor requires the compiled indicator file, and the page mentions a trading library that supports brokers with nonzero spreads and combined stop-loss and take-profit placement.

The cited test uses the advisor’s default inputs on USDJPY at a four-hour interval during 2014, with neither stop losses nor take profits enabled. The document refers to chart examples and a results chart but provides no numerical performance, benchmark, drawdown, trade count, or risk analysis in the supplied text. The result therefore cannot establish profitability or robustness. The signal’s exact entry and exit handling, position sizing, and sensitivity to settings are also not explained here.

Key ideas

  • The advisor bases trades on the Color Schaff–DeMarker Trend Cycle indicator.
  • A signal is formed at bar close when the indicator breaks the zero level.
  • The described historical test used USDJPY on a four-hour chart with default inputs and no stop loss or take profit.
  • The compiled indicator dependency must be available for the advisor to run.
  • The supplied description gives no numerical performance or risk measures for evaluating the test.

Tags

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