CCI Double Divergence Pro for MT5: The Ultimate Automated Divergence Indicator
Mastering market momentum is one of the most effective ways to build a sustainable edge in modern financial trading. Among technical tools, the Commodity Channel Index (CCI) stands out as a versatile standard for identifying cyclical trends, extreme overbought or oversold conditions, and subtle shifts in institutional order flow. However, manually scanning multiple charts to identify valid CCI divergence patterns is time-consuming, mentally exhausting, and prone to subjective errors.
The CCI Double Divergence Pro for MT5 solves this challenge by automating real-time divergence detection across any financial market or timeframe. Designed from the ground up for MetaTrader 5, this professional-grade indicator scans price action and cyclical momentum simultaneously. It automatically highlights market bottoms, trend reversals, and continuation pullbacks using clean chart graphics and actionable real-time alerts.

Why Choose CCI Double Divergence Pro?
Divergence occurs when price action and momentum move in opposite directions, signaling a loss of market conviction and an impending structural shift. While standard single-divergence indicators often produce false positives during strong trending phases, the CCI Double Divergence Pro evaluates multi-point structural swing relationships to confirm high-probability opportunities.
Whether you trade Forex pairs, stock indices, commodities, or cryptocurrencies, this indicator equips you with key analytical advantages:
- Automated Visual Precision: Eliminates manual trendline drawing by plotting dynamic connection lines on both the price chart and indicator subwindow.
- Comprehensive Pattern Recognition: Identifies all four major divergence categories—Regular Bullish, Hidden Bullish, Regular Bearish, and Hidden Bearish.
- Smart Noise Reduction: Filters out low-quality setups using built-in momentum smoothing and optional structural verification filters.
- Multi-Timeframe Flexibility: Adapts seamlessly across scalping (M1–M15), day trading (M30–H1), and swing trading (H4–D1) environments.
- Zero Repainting on Closed Bars: Confirmed signals are fixed on closed candles to ensure reliable backtesting and execution integrity.

Complete Four-Signal Detection System
The CCI Double Divergence Pro provides full coverage of market turns and trend-following opportunities by scanning for four precise technical setups.
REGULAR BULLISH HIDDEN BULLISH
(Potential Trend Reversal) (Trend Continuation Entry)
Price CCI Price CCI
Higher Low Lower Low Lower Low Higher Low
\ \ / /
\ \ / /
[BUY SIGNAL] [OVERSOLD] [BUY SIGNAL] [PULLBACK]
1. Regular Bullish Divergence (Reversal)
Occurs when price makes a lower low while the CCI indicator creates a higher low. This indicates that despite dropping prices, selling momentum is diminishing, signaling a potential bullish reversal at market bottoms.
2. Hidden Bullish Divergence (Continuation)
Occurs during an established uptrend when price forms a higher low while the CCI drops to a lower low. This indicates a temporary pullback in price accompanied by an aggressive momentum reset, presenting a high-probability continuation buying entry.
3. Regular Bearish Divergence (Reversal)
Occurs when price makes a higher high while the CCI forms a lower high. This reveals weakening buying momentum at market tops, signaling an impending bearish reversal or deep market correction.
4. Hidden Bearish Divergence (Continuation)
Occurs during an established downtrend when price makes a lower high while the CCI rises to a higher high. This pattern captures temporary bullish relief rallies within a broader downtrend, signaling a re-entry opportunity for short positions.
Advanced Technical Features & Configuration
Built for demanding institutional and retail traders, the CCI Double Divergence Pro offers customizable input parameters to suit any trading methodology.
+-------------------------------------------------------------------------+
| CCI DOUBLE DIVERGENCE PRO - MT5 INPUTS |
+-------------------------------------------------------------------------+
| [x] Wait1 (Closed Bar Confirmation) : True |
| [x] Enhanced Filter : False / True |
| [x] DivergenceBarRange : ShortRange / Mid / Long |
| [x] EnableAlert : True |
| [x] CciPeriod : 14 |
| [x] CciPrice : PRICE_TYPICAL |
| [x] OnlyShowLastSignalWithinBars : 10 |
+-------------------------------------------------------------------------+
Multi-Scale Swing Depth (DivergenceBarRange)
Traders can choose between three preset swing calculation modes to match their preferred holding periods:
- Short Range: Optimized for high-frequency scalping and fast-moving volatility cycles.
- Mid Range: Tailored for standard intraday trading setups on intermediate timeframes.
- Long Range: Engineered for macro swing traders focusing on high-timeframe structural pivots.
Closed-Bar Confirmation Mode (Wait1)
Execution timing is critical. When enabled, Wait1 delays signal execution until the current candlestick closes. This ensures that bullish or bearish confirmation rules are fully satisfied, preventing false triggers caused by intra-bar price spikes.
Enhanced Structural Filter (Enhanced)
Activating the Enhanced parameter applies strict validation rules across consecutive swing highs and lows. This filter rejects weak or overlapping market patterns, isolating higher-probability trade setups for conservative trading strategies.
Clean Chart Visual Management (OnlyShowLastSignalWithinBars)
To keep your workspace clean, the indicator includes a dynamic display memory feature. By setting a specific bar threshold, older overlapping signals and trendlines are automatically removed from the chart, leaving only active, actionable technical patterns visible.
Technical Specifications & Inputs Reference
| Parameter Name | Data Type | Default Setting | Parameter Description |
| Wait1 | Boolean | true | Enforces candle close confirmation before triggering signals. |
| ShowRegularBullish | Boolean | true | Toggles display of Regular Bullish reversal signals. |
| ShowHiddenBullish | Boolean | true | Toggles display of Hidden Bullish continuation signals. |
| ShowRegularBearish | Boolean | true | Toggles display of Regular Bearish reversal signals. |
| ShowHiddenBearish | Boolean | true | Toggles display of Hidden Bearish continuation signals. |
| Enhanced | Boolean | false | Enables strict consecutive swing point filtering for higher win-rates. |
| EnableAlert | Boolean | true | Master control for real-time trade notifications. |
| ShowChar | Boolean | true | Toggles text markers (‘R’ for Regular, ‘H’ for Hidden) on charts. |
| ShowLine | Boolean | true | Draws connecting trendlines on both price and indicator windows. |
| OnlyShowLastSignalWithinBars | Integer | 10 | Cleans up historical chart clutter by limiting active signal memory. |
| PriceLine1Color / PriceLine2Color | Color | Orange / Lime | Customizes the color scheme of primary and secondary trendlines. |
| PriceLineStyle / PriceLineWidth | Enum / Int | Solid / 1 | Adjusts visual styling for technical chart connections. |
| ShowAlertMessageBox | Boolean | true | Displays MT5 pop-up alert dialog boxes upon signal generation. |
| CciPeriod | Integer | 14 | Defines the calculation period for the underlying CCI indicator. |
| CciPrice | Enum | PRICE_TYPICAL | Sets price calculation input (Typical, Close, Open, High, Low, Median). |
| DivergenceBarRange | Enum | ShortRange | Selects structural swing sensitivity (ShortRange, MidRange, LongRange). |
| DivergenceLookback | Integer | 5 | Specifies local lookback bars for momentum peak and trough validation. |
| FilterLength | Integer | 5 | Sets moving average length for internal momentum smoothing. |
| ObjectPrefix | String | "CCI2DIVpro" | Custom prefix tag for seamless chart object management. |

How to Integrate CCI Double Divergence Pro into Your Strategy
Integrating automated divergence analysis into your daily trading plan enhances consistency and reduces emotional decision-making.
+-------------------------------------------------------------------------+
| WORKFLOW IMPLEMENTATION GUIDE |
+-------------------------------------------------------------------------+
| STEP 1: Identify Higher-Timeframe Trend Direction |
| (e.g., 200 EMA on H1 Chart) |
| |
| STEP 2: Wait for CCI Double Divergence Pro Alert |
| (e.g., Hidden Bullish Signal on M15 Chart) |
| |
| STEP 3: Confirm Confluence with Key Levels |
| (Support/Resistance, Order Blocks, Pivot Points) |
| |
| STEP 4: Execute Trade with Defined Risk Management |
| (Stop-Loss below Swing Low, Take-Profit at 1:2+ Risk/Reward) |
+-------------------------------------------------------------------------+
Strategy 1: Trend-Following Continuation (High Win-Rate)
Filter out reversal signals and focus exclusively on Hidden Bullish and Hidden Bearish signals in the direction of the dominant higher-timeframe trend. When the overall market is trending upward, use Hidden Bullish signals to buy pullbacks with precision timing.
Strategy 2: Key Support & Resistance Reversals
Combine Regular Bullish and Regular Bearish divergence signals with major structural support levels, key resistance zones, supply/demand blocks, or daily pivot points. A regular divergence occurring at a major historical level provides strong confluence for entering high-reward reversal trades.
Step-by-Step MetaTrader 5 Installation
Installing the indicator on your MT5 platform takes less than two minutes:
- Download Indicator Files: Save the provided compiled file (
.ex5) to your local computer. - Open Data Folder: Launch MetaTrader 5, navigate to the top menu, and select File > Open Data Folder.
- Locate Indicator Directory: Navigate to
MQL5$\rightarrow$Indicators. - Paste the File: Copy the indicator file directly into the
Indicatorsdirectory. - Refresh Navigator: Return to MT5, right-click inside the Navigator panel, and select Refresh (or restart MT5).
- Attach to Chart: Find CCI Double Divergence Pro in your Navigator list, drag it onto any active chart, adjust your preferred input settings, and click OK.
Upgrade Your Trading Analysis Today
Stop missing high-probability divergence setups or wasting time drawing manual trendlines across dozens of charts. The CCI Double Divergence Pro for MT5 delivers a clean, automated, and reliable divergence detection platform tailored for serious traders.
Equip your MetaTrader 5 platform with CCI Double Divergence Pro today and elevate your market precision.
[Get Started With Double Divergence Pro for MT5]
Looking for the complete mathematical breakdown, step-by-step optimization guides, and advanced trading strategies? Explore our comprehensive documentation:
Visit the Technical Inputs Manual: Double Divergence Pro for full parameter tuning.
Read the master guide on the Double Divergence Indicator Series.