Skip to content
All library documents

Separately Configuring Long and Short CMO Zero-Line Systems

Article MQL5 code base

Summary

This Expert Advisor contains two similarly structured systems based on the Chande Momentum Oscillator crossing its zero line: one for long trades and one for short trades. Separate input groups control each side, including distinct magic numbers and position sizing settings. Entry and exit switches allow either system to be enabled or disabled independently, and the document recommends evaluating one side at a time before configuring the other.

The note emphasizes that rising and falling markets may need different parameters, so long and short behavior should not be assumed to be symmetric. It mentions tests on USDJPY at the four-hour timeframe in 2016 and says the displayed tests used default inputs without stop loss or take profit. However, it provides no numerical performance results in the text, so the evidence cannot establish profitability or robustness. The EA also depends on the compiled CMO indicator being installed.

Key ideas

  • The EA uses CMO zero-line crossovers for separate long and short systems.
  • Each side has its own settings, sizing controls, and trade identifier.
  • Entry and exit switches support testing each directional system independently.
  • The document argues that parameters may need to differ between rising and falling markets.
  • The cited test setup used USDJPY four-hour data in 2016 without stop loss or take profit, but no performance figures are supplied.

Tags

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