Pair Divirgence Hybrid

Pair Divergence Hybrid

Pair Divergence Hybrid is a MetaTrader 5 Expert Advisor designed for statistical pair trading between two selected instruments.

The EA analyzes the relationship between two symbols and looks for moments when their statistical spread diverges from its normal range. When the divergence reaches the configured threshold, the EA opens a two-leg basket position: one symbol is bought and the second symbol is sold, or vice versa. The exit logic is based on statistical mean reversion, basket profit and emergency protection settings.

The default configuration is designed for EURUSD and XAUUSD on the M1 timeframe, but the input symbols can be changed manually depending on your broker’s available instruments and suffixes.

Main Features

  • Multi-symbol pair trading logic

  • Statistical divergence and mean-reversion approach

  • Two-leg basket entries

  • Correlation filter

  • Custom symbol inputs

  • Broker suffix support through manual symbol settings

  • Adjustable lot size for each symbol

  • Basket-based exit logic

  • Optional basket profit target

  • Optional emergency basket loss protection

  • Works with MetaTrader 5 Strategy Tester

  • No martingale

  • No grid

  • No DLL

  • No external files

  • No WebRequest

How It Works

The EA compares two selected symbols using statistical normalization and correlation analysis. When the spread between the symbols reaches an extreme level, the EA opens a pair trade expecting partial or full mean reversion.

The position is closed when one of the exit conditions is met:

  • basket profit target

  • statistical return of the spread

  • deep mean-reversion zone

  • optional emergency profit or loss level

Default Symbols

Default pair:

  • Symbol A: EURUSD

  • Symbol B: XAUUSD

Some brokers use suffixes, for example EURUSD.m, EURUSD.raw, XAUUSD.pro or similar. In this case, set the exact broker symbols manually in the EA inputs.

Recommended Timeframe

Recommended timeframe: M1

The EA can technically be attached to other charts, but the default logic and parameters are designed for M1 data.

Important Inputs

  • Symbol A — first trading symbol

  • Symbol B — second trading symbol

  • Lots A — lot size for Symbol A

  • Lots B — lot size for Symbol B

  • Lookbacks — statistical lookback period

  • DeltaY — entry threshold

  • CorrThreshold — minimum correlation filter

  • ExitZReturn — statistical return exit level

  • ExitProfitMoney — basket profit exit

  • ExitDeepAbsZ — deep mean-reversion exit

  • CloseTargetProfit — emergency basket profit level

  • CloseTargetLoss — optional emergency basket loss level

Recommended Use

Before using the EA on a live account, test it in the MetaTrader 5 Strategy Tester with your broker’s exact symbols, spread, commission and execution conditions.

Recommended first test:

  • Timeframe: M1

  • Symbols: EURUSD and XAUUSD or broker-specific suffix versions

  • Modeling: every tick based on real ticks

  • Deposit: sufficient for both basket legs

  • Account type: hedging account is recommended

Risk Notice

Trading involves risk. This Expert Advisor does not guarantee profit and past performance does not guarantee future results. Market conditions, broker execution, spread, commission, slippage and symbol specifications can significantly affect trading results.

Use appropriate risk management and test all settings before live trading.


作者的更多信息
Range Breakout EA  Hey there! Our Range Breakout EA is built to help you take advantage of those early moves in the Asian session. Here’s how it works: during a specific time window, it marks the highest and lowest points to create a range. Then, it sets up buy and sell limit orders just outside that range, so you’re ready to catch a breakout in either direction! :) For safety, the stop loss goes at the opposite end of the range, but you can customize it in the settings if you like. The take pro
FREE
Initial Balance Indicator for MQL5 The Initial Balance Indicator is a powerful trading tool for the MetaTrader 5 (MT5) platform that helps traders analyze market structure by marking the Initial Balance (IB) range of a trading session. This range is typically formed during the first X minutes of a trading session (e.g., the first hour in futures markets) and acts as a key reference for potential price movements. Key Features: Customizable Time Period: Define the exact start and end time for the
Range Breakout with new ranges every day for better results. Inputs for every day with size filter. You can optimize it for every day with your settings , or i can send profitable settings for live trading longterm. Its not grid system its only for persons who know what is algotrading and not looking for overfitting grid strategies which can blow your account.
Nasdaq Scalping EA
Serhii Honcharov
Short Description: Automated trading on NASDAQ 100 using M15 timeframe. Advanced risk management, trend and breakout detection. Full Description: Trade NASDAQ 100 efficiently with this fully automated Expert Advisor designed for the M15 timeframe. The bot uses a combination of trend-following and breakout strategies to enter and manage trades. Key Features: Works on NASDAQ 100 (US100) , timeframe M15 . Automated trade execution : no manual intervention required. Smart risk management : customi
In this video, I’m testing a Gold trading bot for MetaTrader 5 on the 3-hour timeframe. This Expert Advisor is designed for XAUUSD and uses a systematic trading approach with automated entries, exits, and risk management. The goal of this backtest is to see how the strategy performs on gold across different market conditions, including trends, pullbacks, volatility spikes, and ranging periods. Backtest overview: • Symbol: XAUUSD / Gold • Platform: MetaTrader 5 • Type: Expert Advisor • Timefra
Gold Limit EA is an automated trading system for MetaTrader 5, designed for trading XAUUSD on the H1 timeframe. The Expert Advisor uses a limit-entry based approach. Instead of entering the market immediately, the EA waits for price to reach a predefined entry area and places pending orders according to the internal strategy logic. This approach is designed to avoid emotional trading decisions and keep the execution fully systematic. The EA includes automatic entry management, stop loss place
筛选:
无评论
回复评论