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%.

Plus de l'auteur
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 est un Expert Advisor de breakout professionnel, optimisé pour XAUUSD, GBPUSD et USDJPY. Il place des ordres en attente Buy Stop et Sell Stop sur les plus hauts et les plus bas de la bougie précédente, avec un système dynamique de stop loss et take profit basé sur l’ATR. Cela garantit une taille de position adaptative et une gestion du risque contrôlée selon la volatilité du marché. Fonctionnalités principales Optimisé pour XAUUSD, USDJPY et GBPUSD (graphe H1) Logique de bre
Filtrer:
Aucun avis
Répondre à l'avis