Skip to content
All library documents

Trading 2XMA and Ichimoku Oscillator Direction Changes

Article MQL5 code base

Summary

This document describes an automated trading system that uses the 2XMA Ichimoku Oscillator. It generates a signal when a bar closes and the indicator changes direction, then uses that change to determine trading actions. The text also notes dependencies for running the generated expert advisor: the compiled indicator files must be available in the platform’s indicator folder. It mentions a trading library intended for brokers that support nonzero spreads and simultaneous stop-loss and take-profit settings when opening a position.

The document refers to example chart trades and a test of GBPUSD on the hourly timeframe over 2016, but the actual results are not included in the supplied text. The described test used default expert-advisor inputs and did not use stop loss or take profit. As a result, the text establishes the signal rule and some operating assumptions, but it does not provide enough performance data to judge profitability, robustness, or sensitivity to transaction costs and risk controls.

Key ideas

  • The system trades changes in the direction of the 2XMA Ichimoku Oscillator.
  • A signal is formed at bar close when the indicator direction changes.
  • The expert advisor depends on compiled indicator files being present in the platform folder.
  • The referenced GBPUSD hourly test covered 2016 and did not use stop loss or take profit.
  • Performance results are not stated in the supplied text.

Tags

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