Skip to content
All library documents

Multi-Timeframe XROC2 Trend-Following Entry System

Article MQL5 code base

Summary

This Expert Advisor design combines two smoothed rate-of-change indicators across different timeframes. A slower indicator sets the broader trend direction from the relationship between its main and signal lines; a faster indicator times entries when its direction changes and agrees with the slow trend. Signals are evaluated at bar close. The described configuration uses a six-hour filter timeframe and a 30-minute entry timeframe, with adjustable ROC periods, smoothing methods, signal bars, trade permissions, and position sizing.

The EA exposes stop-loss and take-profit settings and separate options for closing positions when either trend or entry signals reverse. However, the cited 2015 AUDUSD test used default inputs and did not use stop loss or take profit. The document refers to charts but gives no numerical performance measures, costs, or robustness checks. Results therefore cannot be assessed from the text, and the indicator dependencies and broker execution behavior matter when reproducing the system.

Key ideas

  • The system requires a fast trend reversal to agree with a slower trend direction before entry.
  • The example uses a six-hour trend filter and a 30-minute entry signal.
  • ROC periods, smoothing settings, signal bars, trade permissions, and exits are configurable.
  • The referenced 2015 AUDUSD test omitted stop loss and take profit, and the text provides no numerical performance results.

Tags

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