Skip to content
All library documents

Moving Average EA with Candle Filters and Slope Conditions

Article MQL5 code base

Summary

This document describes an expert advisor built around a moving average indicator that analyzes recent bars to determine when to trade. Its configurable inputs include trade size, moving average period, minimum and maximum average slope, and timing and price allowances for assessing candle highs and lows. Additional controls can filter oversized candles or pairs of large candles, apply a smart stop loss, set protective stop loss and take profit levels, and exit when prior volume falls below a threshold.

The page identifies a EURUSD hourly test, but provides no performance figures, test dates, or detailed entry and exit rules. It therefore conveys the EA’s available controls rather than evidence that the method is profitable. The author also describes an unusual spread adjustment, but does not explain how it works. Results would depend on parameter choices, instrument, and execution conditions.

Key ideas

  • The EA uses a moving average and analyzes the latest six bars.
  • Entry controls include minimum and maximum moving average slope thresholds.
  • Candle size, candle patterns, volume, and price allowances can affect trade management.
  • The page mentions an EURUSD hourly test but gives no results or evaluation details.

Tags

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