Skip to content
All library documents

Independent Long and Short Systems Using ColorMETRO Signals

Article MQL5 code base

Summary

This Expert Advisor design runs separate long and short trading systems based on signals from the ColorMETRO indicator. Inputs with one prefix control long trades, while another group controls short trades; each side has its own magic number, position-sizing settings, and permissions to open or close positions. The systems can be configured independently to reflect differing behavior in rising and falling markets.

The document recommends testing each side separately before enabling both. It reports test examples for EURJPY on a four-hour chart during 2017, using default settings and no stop loss or take profit, and refers to charts showing symmetric and asymmetric configurations. However, it supplies no numerical performance statistics or detailed signal rules, so the examples do not establish robustness. A compiled indicator dependency is also required for the EA to operate.

Key ideas

  • The EA separates long and short trades into independently configurable systems.
  • Each direction has distinct sizing inputs, identifiers, and entry and exit switches.
  • The author recommends evaluating each side independently before running both together.
  • The cited test example covers EURJPY on a four-hour chart in 2017 without stop loss or take profit.
  • No numerical results or full signal logic are provided, limiting assessment of strategy performance.

Tags

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