Expert Advisor MT5 - Triple EMA Pullback Engine
📘 One-Page EA: “Triple EMA Pullback Engine”
Concept Overview
The Triple EMA Pullback Engine is a precision trend-following system designed for clean entries during healthy uptrends. It filters momentum, aligns trend strength through three EMAs, and waits for a controlled pullback before entering. This EA aims to capture continuation waves—not tops, not bottoms, only momentum with structure.
📌 ENTRY LOGIC (Same for All Versions)
Trend Validation
Buy only when the uptrend is strong and consistent:
- EMA Trend Rise:
- Each EMA must be higher than its previous candle value:
- EMA_Fast(0) > EMA_Fast(1)
- EMA_Medium(0) > EMA_Medium(1)
- EMA_Slow(0) > EMA_Slow(1)
- Perfect EMA Alignment:
- Fast EMA > Medium EMA > Slow EMA
Pullback Entry Trigger
Enter Buy only during a controlled pullback bounce:
- Candle Low ≤ Fast EMA
- Candle Close > Fast EMA
This confirms the pullback touched the dynamic support (Fast EMA), then rejected with bullish strength.
⚙️ VERSION 1 — Structure-Based Exit
Exit Condition
- Close Buy when a candle closes below Fast EMA.
This version follows pure trend logic: stay in the trend until a structural breakdown occurs.
Ideal For:
Traders who like dynamic exits that follow market structure instead of fixed targets.
⚙️ VERSION 2 — Money-Based TP & SL
Exit Conditions
- Take Profit: Based on money value (e.g., $5, $10, etc.)
- Stop Loss: Based on money loss value (e.g., $3, $7, etc.)
The system holds position until the EA reaches the defined monetary profit/loss.
Ideal For:
Accounts that measure performance by absolute money, not pips.
⚙️ VERSION 3 — Pip-Based TP & SL
Exit Conditions
- Take Profit: Fixed number of pips (e.g., 100 pips).
- Stop Loss: Fixed number of pips (e.g., 50 pips).
This version gives traditional R:R structure, suitable for backtests and prop-firm friendly setups.
Ideal For:
Scalpers and day traders who prefer pip-level precision.
✨ Why This EA Works
- Uses trend stacking to avoid counter-trend signals.
- Waits for pullbacks, ensuring entries are never at the top.
- Uses dynamic stops in Version 1, and RR-based exits in V2 & V3.
- Stable across volatile pairs like BTC/USD and XAU/USD
🎯 Recommended Settings
- EMAs: Fast 10, Medium 20, Slow 50
- Timeframe: M15–H1
- No martingale, no grid — pure clean signals.