Skip to content
All library documents

Separating Long and Short Parameters in a Dual Moving-Average Candle EA

Article MQL5 code base

Summary

This document describes an Expert Advisor that runs two systems based on signals from the FineTuningMACandle indicator: one for long positions and one for short positions. Each side has its own input settings, including distinct identifiers and money management parameters, allowing the strategies to be configured independently. The article emphasizes testing each side separately before enabling both, since market behavior and effective parameters may differ between rising and falling conditions.

The EA requires the compiled indicator in the platform's indicator directory. The document refers to tests on EURJPY at the four-hour interval for 2017 and says the shown tests used default inputs without stop-loss or take-profit orders. It supplies no numerical performance statistics in the text, so the referenced charts cannot establish profitability from the available description. Separate long and short settings improve experimentation, but the article does not detail signal behavior, transaction costs, or risk controls beyond its parameter examples.

Key ideas

  • The Expert Advisor runs separate long and short systems using the same indicator signals.
  • Inputs prefixed for each side allow independent configuration and money management.
  • The author recommends testing each system on its own before combining them.
  • The referenced EURJPY four-hour tests used default inputs and omitted stop-loss and take-profit orders.
  • The text provides no numerical performance evidence or detailed risk analysis.

Tags

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