Forex Mean Reversion EA

  • Experts
  • Abdullah Al-murad
    Abdullah Al-murad
    I build Expert Advisors and utilities for MetaTrader 5, mainly for gold (XAUUSD), forex and crypto.
    How I build my products:
    - Every robot sends each order with a stop loss. No martingale, no grid averaging, no hidden rules.
    - Signals are calculated on closed bars, so they are not redrawn.
  • 버전: 1.0
  • 활성화: 5

Forex Mean Reversion EA trades the statistical tendency of currency pairs to return to their recent average after extreme deviations. The strategy is based on a Z-score filter: when the closing price moves more than 2.5 standard deviations away from its 50-bar rolling mean on the H4 chart, the EA enters against the extreme move and targets a return toward the mean.

HOW THE SIGNAL WORKS

The EA computes, at the close of each H4 bar:

  • Rolling mean of the last 50 close prices
  • Rolling standard deviation over the same 50 bars
  • Z-score = (Close − Mean) / StdDev

A BUY signal fires when Z-score drops below −2.5 (price too low).
A SELL signal fires when Z-score rises above +2.5 (price too high).

EXIT RULES

  • Initial stop-loss: 3 × ATR(14) from the entry price
  • Take-profit: 1.5 × ATR(14) toward the mean
  • Opposite signal also closes the position early

WALK-FORWARD TESTING (8 major pairs, H4, 2021–2026)

The strategy parameters were chosen on the first two-thirds of historical data only. Results on the unseen final one-third:

  • Profit factor (unseen): 1.17
  • % of pairs with positive result: 100%
  • Profit factor including realistic swap costs: 1.05

Past performance does not guarantee future results. These figures are from a historical simulation, not live trading.

RISK MANAGEMENT

  • Fixed lot (default 0.01) or risk % of account balance per trade
  • Maximum loss cap: limits the lot size so no single trade exceeds a set % of equity
  • Margin check: never opens if the required margin exceeds 50% of free margin
  • Spread filter: skips entry when the current spread is too wide (configurable)

INPUT PARAMETERS

Signal

  • Timeframe: H4 (default)
  • Rolling window: 50 bars
  • Z-score threshold: 2.5 σ
  • ATR period: 14

Exit

  • Stop loss: 3.0 × ATR
  • Take-profit: 1.5 × ATR
  • Max spread: 0.5 × ATR

Risk

  • Fixed lot: 0.01
  • Risk % of balance: 0.0 (disabled; set > 0 to use)
  • Max loss per trade: 10% of equity
  • Magic number: 7731000

USAGE

Attach one EA instance to each H4 chart of a major forex pair (EURUSD, GBPUSD, AUDUSD, USDCAD, EURGBP, USDJPY, NZDUSD, USDCHF, etc.). The EA manages its own positions independently on each symbol using the magic number. No other settings are required beyond adjusting the lot size or risk percent to match your account.

IMPORTANT DISCLAIMER

This EA does not guarantee profits. All trading involves risk. Test the EA on a demo account before using it on a live account. The developer is not responsible for trading losses.

제작자의 제품 더 보기
PendingStops
Abdullah Al-murad
PendingStops places a set of Buy Stop orders above the price and Sell Stop orders below it, then manages the trade that triggers. It is built for breakout moves: when the price breaks out in one direction, the stop orders on that side fill and the orders on the other side are removed. HOW IT WORKS When nothing is open, the robot places your chosen number of Buy Stop orders above the Ask and Sell Stop orders below the Bid. The first order sits at the distance you set; the next ones are spaced by
You decide when to enter. GA Trade Manager takes care of everything after that. Attach it to any chart and it starts protecting the trades you open by hand, on that symbol or on all symbols. It works with gold, forex, indices and crypto, on any broker and any timeframe. It never opens a trade by itself. WHAT IT DOES FOR EVERY TRADE - Missing stop loss? It adds one at the distance you choose (in points). - Missing target? It adds a take profit at the distance you choose. - Break-even: after th
This robot puts nine well-known chart strategies into one robot, so you can choose which ones trade and how they work together. THE NINE STRATEGIES Scalp Pro - MACD-style line crosses on closed bars. Scalper Pro Gold - a breakout of the last swing after a quiet range, stop at the opposite swing, target at twice the risk. Liquidity Hunter - a sweep of the last swing high or low and a close back inside. Mxwll SMC - market structure: a change of character, stop at the opposite swing. Measured Move
Crypto Trend Breakout follows one clear rule on 4-hour candles: trade a breakout in the direction of the long trend, and let a trailing stop close the trade. HOW IT ENTERS Buy: a candle closes above the highest high of the previous 55 candles and above the EMA 200. Sell: a candle closes below the lowest low of the previous 55 candles and below the EMA 200. The order is sent in the first 30 minutes of the next H4 candle. Signals use closed candles only, so they are not redrawn. HOW IT EXITS The f
Trend Dip Buyer EA
Abdullah Al-murad
Trend Dip Buyer EA is a pullback robot for US stock indices: Nasdaq 100 (US100, NAS100, USTEC) and Dow Jones 30 (US30, DJ30). It buys short, sharp dips while the long-term trend is up, and sells the bounce a few days later. HOW IT WORKS Trend filter: the daily close must be above its 200-day simple moving average. Below it the EA stands aside. Dip: a 2-period RSI below 20 at the close of the day. Entry: buy at the open of the next day. Exit: when a daily close is above the 10-day moving average
London Breakout EA is a session breakout robot for major forex pairs (EURUSD, GBPUSD, USDCAD, EURJPY, AUDUSD and others). It takes at most one trade a day per pair and closes it the same day. HOW IT WORKS Asian range: the high and low between 01:00 and 09:00 broker server time. Entry window 09:00 to 13:00: the first M15 candle that closes above the range high is bought, below the range low is sold. Stop loss: the other side of the range. Take profit: 1.5 x the stop distance. Days when the range
Forex Trend Pullback EA trades major forex pairs in the direction of the H4 trend, entering on pullbacks instead of chasing breakouts. HOW IT WORKS Trend: EMA 50 above EMA 200 and price above EMA 200 is an uptrend; the mirror is a downtrend. Pullback: in an uptrend the 3-period RSI falls below 15 (buy); in a downtrend it rises above 85 (sell). The signal is taken only on the candle where RSI crosses the level. Stop loss: 1.5 x ATR(14). Take profit: 1.5 x the stop distance. Time exit after 30 bar
NY Open Breakout EA
Abdullah Al-murad
NY Open Breakout EA is an opening-range breakout robot for US stock indices: Nasdaq 100 (US100, NAS100, USTEC) and Dow Jones 30 (US30, DJ30). It takes at most one trade a day and never holds a position overnight. HOW IT WORKS At the New York cash open (16:30 broker server time on most brokers) the EA records the high and low of the first 30 minutes: the opening range. After the range is complete it waits for an M15 candle to close above the range high (buy) or below the range low (sell). Stop lo
필터:
리뷰 없음
리뷰 답변