Skip to content
All library documents

Adding Moving Average Crossover Alerts to a Candlestick Trend Indicator

Article MQL5 articles

Summary

This installment of a candlestick trend-constraint indicator series discusses ways to identify possible trend changes, including moving averages, candlestick patterns, trendlines, and support and resistance. Its implementation adds a reversal signal based on a crossover between a 100-period EMA and a 200-period SMA. The indicator displays buy and sell reversal markers and alerts when a crossover is detected, so its existing trend-continuation signals can be reconsidered.

The article motivates the change by noting that lower-timeframe price action may reverse the daily trend outlook. It presents historical chart signals as evidence that the feature can help identify reversals, while acknowledging misleading signals and failures during persistent trends. No rigorous performance statistics or controlled comparison are provided. The moving average periods are selected as an implementation choice, and the article says later work will revisit them. The signals are therefore illustrative technical tools, not evidence of a profitable standalone trading strategy.

Key ideas

  • The article compares moving averages, candlestick patterns, trendlines, and support or resistance as reversal clues.
  • It adds buy and sell reversal markers when a 100-period EMA crosses a 200-period SMA.
  • The signals are intended to help adjust trend-continuation constraints when market direction may have changed.
  • The displayed historical examples include misleading signals and do not establish profitability.
  • The article identifies persistent trends as a limitation of crossover-based reversal alerts.

Tags

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