Divergence Core Pro

Divergence Core Pro MT4 - Professional Product Description for MQL5 Market

Adaptive Intraday Divergence Trading EA with Advanced Trend & Volatility Protection

Divergence Core Pro MT4 is a premium, fully automated trading system designed to detect and exploit high-probability RSI Hidden Divergence setups on intraday charts. Engineered with absolute risk discipline, the EA strictly avoids dangerous money-management practices like Grid, Martingale, or position averaging. Instead, it relies on a sophisticated single-position strategy featuring dynamic volatility-based exit parameters and strict trend-following filters.


With its robust, built-in visual dashboard directly on your MT4 chart, you can monitor your account metrics, floating profit/loss, and real-time spread instantly without cluttering your workspace.


Key Structural Advantages

1. Trend-Following Filter (EMA Protection)
Divergence setups can be highly risky when trading against a powerful, macro-economic trend. Divergence Core Pro incorporates a dedicated EMA Trend Filter:

BUY only when the current market price is strictly above the user-defined Exponential Moving Average (e.g., EMA 200 on H1 timeframe).
SELL only when the current market price is strictly below the EMA. This ensures the EA acts as a trend-continuation or deep-rebound system, drastically increasing trade quality and overall win rate.
2. Double-Timeframe Asymmetry (DPI & Broker-Safe)
The EA features a unique architectural improvement: Separate Timeframe Anchoring for Entry and Exits:

Signal Detection: Runs on lower, highly-sensitive timeframes (e.g., M5) to capture precise, early-stage swing highs and lows.
Trailing Stop Calculation: References a separate, higher timeframe (e.g., H1) to compute Average True Range (ATR) volatility.
The Benefit: Using H1 ATR allows you to use tighter trailing multipliers (like 0.5x ATR) without violating broker STOPS_LEVEL restrictions, keeping your Stop Loss dynamic yet safe from premature whipsaws.
3. Single-Trade Portfolio Integrity
No overlapping orders. Once a trade is executed, all new divergence signals are ignored until the active trade reaches its logical conclusion (either via SL, TP, or Trailing Stop). This guarantees predictable exposure and protects your margin from market noise.
4. Advanced Capital Protection Suite
Spread Widening Protection: Pauses new order execution if the current broker spread exceeds your maximum allowed limit in pips (Max_Spread_Pips).
Margin Safety Check: Automatically scales down lot sizes or cancels orders if your account's free margin is insufficient.
Time Filter & Friday Rollover Safeguard: Restricts trading to high-liquidity sessions (e.g., London and New York) and pauses new trade executions before the weekend to prevent severe gap-risk and rollover spread widening.

Backtest Performance Highlights (v8.0 Architecture)

The core logic has been rigorously stress-tested on multi-year historical data with high-precision Every Tick modeling. Thanks to the newly integrated Single-Trade Discipline (introduced in v7) and Time-Session Filter (introduced in v8), the EA has achieved a remarkable boost in safety, accuracy, and efficiency:


Initial Deposit : $1,000.00

Total Net Profit : $4,729.90 (An impressive +473% growth on a small account!)

Profit Factor : 1.54 (Up from 1.30 in older versions, showing high trade-level efficiency)

Win Rate (Accuracy) : 70.50% overall (141 profit trades out of 200 total trades)

Symmetrical Performance :

  • Long Positions Won: 73.02% (92 won out of 126 trades)

  • Short Positions Won: 66.22% (49 won out of 74 trades)

Maximum Consecutive Wins : 10 trades in a row (generating $786.04 in profit)

Maximum Consecutive Losses : Limited to only 3 consecutive losses!

Average Consecutive Wins/Losses: 3 wins / 1 loss

Maximum Drawdown : Successfully minimized to only 19.66% ($1,112.45) (Down from the volatile 41.62% of the v6 setup, thanks to the session trading time restriction and single trade restriction).


The transition from v6's high-drawdown setup to the ultra-safe v8 architecture has proved that combining time-session filters with single-trade logic can yield high-profit ratios while keeping absolute risk under a highly-professional 20% limit.


Fully Customizable Input Parameters

RSI Settings

RSI_Timeframe: Timeframe on which the RSI is calculated (Default: PERIOD_M5).

RSI_Period: The averaging period of the RSI indicator (Default: 14).

RSI_Applied: Applied price for RSI calculation (Default: PRICE_CLOSE).

Swing Settings

Swing_Strength: Number of bars on each side required to confirm a swing high or low (Default: 5).

Min_Bars_Between: Minimum number of candles required between two swings to qualify for divergence (Default: 5).

Max_Bars_Between: Maximum allowed candles between two swings (Default: 50).

Tolerance: Threshold margin for clean divergence interpolation (Default: 0.1).

Price & RSI Slope Filters

Use_Price_Slope_Filter: Enable minimum/maximum geometric slope angle for price trendlines (Default: true).

Price_Min_Slope_Degrees: Minimum slope angle of price line to filter flat consolidations (Default: 10.0).

Price_Max_Slope_Degrees: Maximum slope angle to filter vertical market spikes (Default: 80.0).

Use_RSI_Slope_Filter: Filter divergence based on the slope angle of the RSI line (Default: false).

ATR Volatility & SL/TP Settings

Use_ATR_Volatility_Filter: Ignores signals if the average range of H1 candles is below a minimum pip threshold (Default: false).

Use_ATR_Dynamic_SL_TP: Enables automatic calculation of SL and TP values using current ATR volatility (Default: true).

ATR_Multiplier_SL: Stop Loss multiplier based on ATR (Default: 1.6x ATR).

ATR_Multiplier_TP: Take Profit multiplier based on ATR (Default: 2.0x ATR).

Trailing Stop Settings

Enable_Trailing_Stop: Turn trailing stop functionality ON/OFF (Default: true).

Use_ATR_Trailing: Enables dynamic trailing stop based on ATR (Default: true).

Trail_ATR_Timeframe: Timeframe referenced for trailing-ATR calculations (Default: PERIOD_H1).

ATR_Multiplier_Trail: Jarak trailing stop multiplier (Default: 0.5x ATR).

ATR_Multiplier_Min_Profit: Threshold profit multiplier before trailing activates (Default: 1.0x ATR).

EMA Filter Settings

Use_EMA_Filter: Enable macro trend direction filter (Default: true).

EMA_Period: Period of the Exponential Moving Average (Default: 200).

EMA_Timeframe: Timeframe on which the 200 EMA is tracked (Default: PERIOD_H1).

Time Filter Settings

Use_Time_Filter: Restrict trading to specified hours (Default: true).

Start_Hour / End_Hour: Hour parameters defining the active trading window (Default: 8 to 21 broker time).

Trade_On_Friday_Night: Allows trading on Friday night (Default: true / Set to false for weekend protection).


Recommended Trading Setup

Symbol: XAUUSD (Gold).

Operational Chart Timeframe: M5.

Account Type: ECN or Raw Spread accounts with low latency.

Risk Management Setting: Risk_Percent = 1.0% - 2.0%. Default : 5.0%


Frequently Asked Questions (FAQ)

1. Does this EA use dangerous strategies like Grid, Martingale, or Hedging?

Absolutely not. Divergence Core Pro is built strictly as a single-position trading system. Each trade is initiated with a predefined or dynamic Stop Loss (SL) and Take Profit (TP). New signals are completely ignored while a position is currently open to safeguard your account equity against uncontrolled drawdowns.

2. Why does the journal show "RSI subwindow not found on the chart" warning?

This is a standard informational warning. Because of MetaTrader 4 limits, an Expert Advisor (EA) cannot programmatically open a separate indicator subwindow. If you want to visualize the divergence lines on the RSI indicator:


  1. Manually attach a standard Relative Strength Index (RSI) with period 14 to your chart.

  2. Ensure Mark_Swings_On_RSI is set to true in the EA inputs. If you prefer a 100% clean chart, simply set Mark_Swings_On_RSI = false and Mark_Swings_On_Price = false. This will stop the warning logs and clear all drawing lines while the EA continues trading perfectly in the background.

3. Why are separate timeframes used for entry and exits?

This is one of our unique safety features (Double-Timeframe Asymmetry). By scanning signals on a lower timeframe (like M5), the EA catches precise, early swing pivots. However, trailing stops are computed using a higher timeframe's ATR (like H1). This gives your trade a wider, volatility-adjusted "breathing room" which prevents tight broker Stop Levels from rejecting your trailing stop updates.

4. What does the "trade paused" message in the experts tab mean?

This indicates that the EA's built-in protection filters are actively shielding your capital:


  • "Outside allowed trading hours": The current time is outside your specified trading window.

  • "Current Spread exceeds Max Spread": The broker's spread is currently too wide (e.g., during news or rollover). The EA pauses entry to prevent high transaction costs.

  • "Ask/Bid Price is below/above EMA": The market trend is moving against the trade direction. The EA filters out these risky counter-trend trades.

5. What are the best pairs and settings to use?

We highly recommend trading XAUUSD (Gold) on the M5 chart. Always use an ECN / Raw Spread account with low spreads and a reliable VPS to minimize execution latency. For risk management, we suggest setting Risk_Percent between 1.0% and 2.0% per trade for a conservative, long-term growth curve. Default Setting : 5.0% with drawdown 19%.

作者的更多信息
Smart ATR Breakout MT5 – Fully Automated Trend & Breakout EA Smart ATR Breakout MT5 is a fully automated trading system developed for traders utilizing systematic breakout logic and structured risk management parameters. The system is designed to run on XAUUSD, GBPUSD, and USDJPY, adapting dynamically to market volatility shifts measured by the Average True Range (ATR) indicator. This Expert Advisor is engineered to detect price momentum impulses, placing pending orders at calculated breakout l
Sunrise Gold EA 是一款为 XAUUSD、GBPUSD 和 USDJPY 优化的专业突破型专家顾问。 它在前一根蜡烛的最高价和最低价处放置 Buy Stop 和 Sell Stop 挂单,配合基于 ATR 的动态止损与止盈系统。 这确保策略根据市场波动进行自适应仓位配置与风险控制。 主要功能 针对 XAUUSD、USDJPY 和 GBPUSD 优化 (H1 图表) 前一天突破逻辑 基于 ATR 的 SL/TP 机制,可配置比率 根据资金风险百分比自动调整手数 布局保本 (Break-even) 和 ATR 跟踪止损 本地时段控制 清爽图表界面,实时状态信息显示 完全兼容 4 和 5 位小数的经纪商 无马丁格尔、网格、均线策略 无 DLL 或外部依赖 推荐设置 交易品种:XAUUSD、GBPUSD、USDJPY 时间周期:H1 信号周期:D1 ATR 周期:H1 风险百分比:2% 开始时间:07(本地时间 GMT+7) 结束时间:22(本地时间 GMT+7) 重要须知 请将 EA 放置在 XAUUSD H1 或 GBPUSD H
筛选:
无评论
回复评论