거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

Multi_Divergence_EA - MetaTrader 5용 expert

조회수:
346
평가:
(1)
게시됨:
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Multi-Divergence EA with Confluence and Filters

This Expert Advisor is designed to automate a sophisticated trading strategy based on  market divergence. The core idea is to identify high-probability reversal points by finding a  confluence of signals from three of the most widely used oscillators: the Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), and the Stochastic Oscillator.

How The Strategy Works

The EA's logic is built upon a multi-layered confirmation process to ensure high-quality trade signals and filter out market noise.

  1. Divergence Detection: The EA constantly scans the price action and the three indicators to find divergences.

    • Bullish Divergence (Potential Buy Signal): Occurs when the price makes a new lower low, but an indicator fails to do so, instead making a higher low. This suggests that the bearish momentum is weakening and a bullish reversal may be imminent.

    • Bearish Divergence (Potential Sell Signal): Occurs when the price makes a new higher high, but an indicator makes a lower high. This indicates that the bullish momentum is fading, signaling a potential bearish reversal.

  2. The Power of Confluence: The EA's unique strength is that it does not rely on a single indicator. Instead, it waits for a user-defined number of indicators (MinConfirmations) to show divergence simultaneously. For example, a trade will only be triggered if at least 2 out of the 3 indicators confirm the same divergence, significantly increasing the signal's reliability.

  3. Advanced Signal Filtering (Optional): To further improve accuracy, two additional filters can be enabled:

    • Trend Filter: Uses a 50-period EMA to determine the overall market trend. If enabled, the EA will only enter buy trades when the price is above the EMA and sell trades when the price is below it. This helps to avoid trading against the dominant market momentum.

    • Volume Filter: A trade signal is only considered valid if the volume of the signal bar is significantly higher than the average volume of the preceding bars. This confirms that there is strong market interest and conviction behind the potential reversal.

Input Parameters Explained

All external variables are fully customizable to allow you to tailor the strategy to your preferences.

=== Risk Management ===

  • LotSize: Sets the fixed trading volume if UseMoneyManagement is false.

  • StopLoss: The stop loss in points.

  • TakeProfit: The take profit in points.

  • MaxSpread: The maximum allowed spread in points for opening a new position.

  • UseMoneyManagement: If true, the EA automatically calculates the lot size based on RiskPercent.

  • RiskPercent: The percentage of your account equity to risk per trade.

=== Divergence Settings ===

  • RSI_Period, MACD_Fast, MACD_Slow, MACD_Signal, Stoch_K, Stoch_D, Stoch_Slowing: These are the standard input parameters for the RSI, MACD, and Stochastic indicators.

=== Divergence Detection ===

  • BarsToCheck: The number of recent bars the EA will scan for divergence patterns.

  • MinBarsDistance: The minimum number of bars on each side of a peak/trough to validate it. This helps ignore minor price fluctuations.

  • MinDivergenceStrength: A filter for the minimum required strength of the divergence signal (0-1).

  • MinConfirmations: A crucial parameter. Sets the minimum number of indicators (from 1 to 3) that must show divergence for a trade to be opened.

  • UseVolumeFilter: Set to true to enable the volume confirmation filter.

  • UseTrendFilter: Set to true to enable the EMA-based trend filter.

=== Trading Settings ===

  • AllowBuy / AllowSell: Enable or disable long or short trades.

  • MaxTrades: The maximum number of concurrent trades allowed.

  • MagicNumber: A unique identifier for the EA's trades, preventing interference with other robots.

Recommended Usage

  • Symbols: The strategy is universal and can be applied to any major currency pairs (e.g., EURUSD, GBPUSD) and other liquid instruments.

  • Timeframe: Divergence signals are generally more reliable on higher timeframes. It is recommended to use this EA on  H1, H4, or D1 charts to filter out market noise and capture more significant market moves.


Average Range Average Range

It is an indicator that determines target levels according to the average of price movements.

Tarantella Tarantella

Tarantella EA: Advanced grid trading system with hedging capabilities and Market Profile integration. Uses ADX trend filtering, Fibonacci-based grid spacing, and multi-layered entry conditions (RSI/ATR/volume) to execute trades only within Market Profile value areas. Features intelligent risk management including trailing stops, breakeven triggers, and partial hedge closing.

A powerful and feature-rich JSON library for MQL5, designed to bring a modern development experience similar to Python/JS A powerful and feature-rich JSON library for MQL5, designed to bring a modern development experience similar to Python/JS

A powerful and feature-rich JSON library for MQL5, designed to bring a modern development experience similar to Python/JS

MACD Signals MACD Signals

Indicator edition for new platform.