Skip to content
All library documents

Moving Average Crossover Semaphore Indicator

Article MQL5 code base

Summary

This document describes a semaphore-style indicator that marks crossings between two moving averages. Its configurable inputs include separate periods, averaging methods, and applied price fields for the fast and slow averages. The example settings use a 10-period exponential moving average and a 22-period simple moving average, both calculated from closing prices.

The indicator’s stated function is limited to signaling when the averages cross. The document does not explain how to interpret each signal, define entry or exit rules, or provide backtest results. It therefore describes a basic technical signal component rather than a complete trading strategy, and offers no evidence about profitability, whipsaw risk, or performance across markets and timeframes.

Key ideas

  • The indicator signals crossings between a fast and a slow moving average.
  • Each average can use its own period, calculation method, and applied price.
  • The example configuration uses closing prices with exponential and simple averages.
  • The document does not provide trading rules or performance evidence.

Tags

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