Skip to content
All library documents

ForexLine: A Trend Indicator Based on Fast and Slow Smoothed Averages

Article MQL5 code base

Summary

ForexLine is a trend indicator that displays a moving-average line in different colors according to the detected trend direction. It determines direction by comparing the relative positions of a fast smoothed average and a slower smoothed average, using classes from an external smoothing-algorithms library.

The description identifies the indicator’s original MQL4 implementation and notes that it was later published in an MQL5 code collection. It offers a high-level account of the signal logic, but gives no parameter values, entry or exit rules, backtest, performance evidence, or guidance on risk controls. The indicator’s color changes may help visualize trend state, but the document does not establish that those states predict profitable trades.

Key ideas

  • ForexLine signals trend direction by comparing fast and slow smoothed averages.
  • The indicator changes its line color to represent the detected direction.
  • Its implementation relies on an external library for smoothing calculations.
  • The description provides no trading rules or evidence of performance.

Tags

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