Waits for price to stretch far from EMA with slope confirmation before entry. For gold traders who prefer low-frequency mean-reversion setups.
The premise of mean reversion: price doesn't stay far from its moving average forever — stretch it enough and it snaps back. This EA turns that idea into a two-step automated process.
Step 1: Trigger Monitoring
The EA continuously measures the distance between price and an EMA. When the deviation exceeds your threshold AND the EMA slope also meets its threshold (confirming the average itself has direction), monitoring mode activates. The slope check filters out sideways chop — deviation means nothing when the average is flat.
Step 2: Wait for Crossback
Once triggered, a time window opens. The EA waits for price to cross back through the EMA within that window. If price doesn't return in time, the signal expires.
Exit Logic
An open position closes when price crosses the EMA in the opposite direction. A trailing stop protects floating profit, and a timeout mechanism auto-closes positions that haven't turned profitable within a set duration.
Each signal direction has a maximum trade count — no repeated entries on the same signal. Uses fixed lot sizing with adaptive spread handling.
All FXTool products + 12% off lifetime
7-day money-back · Instant download
Extend this EA with custom functionality or strategy adjustments