Skip to content
All library documents

Candle Momentum Entries on Direction Changes and Zero-Line Breaks

Article MQL5 code base

Summary

This document outlines a foreign-exchange trading system that uses the Candle Momentum indicator. It offers two entry styles: entering when momentum changes direction, or when the indicator crosses its zero line. A configurable mode determines which entry algorithm the expert advisor uses.

The page mentions a historical test on EUR/USD four-hour data covering 2012–2013 and says the displayed test used the advisor's default inputs without stop-loss or take-profit settings. However, no return, drawdown, trade count, or other performance statistics are included in the provided text. It also notes a dependency on a trading library intended for brokers that support nonzero spreads and simultaneous stop-loss and take-profit placement. The description is brief and leaves exit logic, position sizing, execution assumptions, and robustness across markets or periods unspecified.

Key ideas

  • The system bases entries on the Candle Momentum indicator.
  • Entry can be triggered by a momentum direction change or a zero-line crossing.
  • The example test covers EUR/USD on four-hour bars over 2012–2013.
  • The described test uses default inputs and omits stop-loss and take-profit settings.
  • The text gives no numerical performance metrics or details on risk sizing.

Tags

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