Automating EMA 50 Pullback Entries with Candle-Reaction Filters
Summary
This article outlines an intraday Expert Advisor built around pullbacks to an exponential moving average. Trend direction is inferred from price relative to the average, while an interaction is identified when a candle crosses the line and closes back on the trend side. Confirmation may use a directional close, a minor swing break, pin-bar shape, or a second retest. The author’s manual chart review suggests bounce behavior appears in varied forms and that prior reactions may provide useful context, though the repeated-defense idea is described as probabilistic rather than guaranteed.
The proposed MQL5 design separates trend, interaction, reaction, prior-bounce checks, execution, and risk management. It discusses fixed or balance-based sizing, stop and target distances, optional filters, one-position checks, new-bar evaluation, and visual review before optimization. The article gives implementation guidance and reports backtest figures, but does not provide enough independent evidence or detailed test conditions to establish robustness. Some contextual features are described as future expansions or placeholders, so readers should distinguish the conceptual design from fully validated logic.
Key ideas
- EMA pullback setups can be represented through candle interaction and rejection rather than a single named candle pattern.
- The proposed trend filter uses price above or below the moving average to determine directional bias.
- Optional confirmation filters include pin bars, swing breaks, second-leg retests, and recent prior reactions.
- The EA separates signal logic from execution and includes configurable stops, targets, and position sizing.
- Visual structural review should precede statistical optimization, while the reported test results need fuller validation context.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.