Skip to content
All library documents

ForexLine Strategy Using Moving Average Color Changes

Article MQL5 code base

Summary

This brief strategy description explains an expert advisor that trades signals from the ForexLine indicator. A signal is generated when a moving average changes color, and the trade is considered at the close of the bar. The system depends on a compiled indicator file installed in the platform’s indicator directory. A helper library is mentioned for compatibility with brokers that have nonzero spreads and support stop-loss or take-profit settings when opening positions.

The document states that the shown tests used default expert advisor inputs and omitted stop-loss and take-profit orders. It identifies EUR/USD on a four-hour chart and a 2015 test period, but supplies no numerical performance, drawdown, trade count, or comparison in the text. The cited chart figures are not included here, so the evidence cannot be independently assessed. The description does not specify position sizing, exit rules beyond the signal behavior, or robustness across instruments and periods.

Key ideas

  • The expert advisor uses ForexLine signals based on a moving average changing color.
  • Signals are formed when a bar closes, according to the strategy description.
  • The system requires a compiled indicator file and can use a library for broker order constraints.
  • The stated test used EUR/USD on a four-hour chart during 2015 with default inputs.
  • Stop-loss and take-profit settings were not used in the reported test, and no numerical results are supplied.

Tags

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