Skip to content
All library documents

Moving-Average Direction Changes as EURJPY Trading Signals

Article MQL5 code base

Summary

The document describes an Expert Advisor that generates a signal when the i-CAi indicator changes direction, interpreted as a change in moving-average direction. The EA checks for the signal when a bar closes, then trades based on that change. It requires the compiled custom indicator to be installed in the platform’s indicator directory, as well as a supporting trade library for broker spread handling and optional stop-loss and take-profit settings.

The reported test used default EA parameters on EURJPY four-hour bars during 2015, with stop loss and take profit disabled. The document refers to a deal-history chart and a test-results chart, but gives no numerical performance measures or detail about costs, robustness, or out-of-sample behavior. The described setup therefore offers a basic indicator-following rule and a narrow historical test reference, rather than enough evidence to assess its reliability across instruments or market regimes.

Key ideas

  • The EA trades when the i-CAi indicator signals a change in moving-average direction.
  • Signals are evaluated at bar close rather than during the formation of a bar.
  • The custom compiled indicator and a supporting trade library are required for the described setup.
  • The cited test uses EURJPY four-hour data from 2015 and disables stop loss and take profit.
  • The document provides no numerical results or evidence of performance across other periods or markets.

Tags

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