DIVERGENCE TRADING INDICATOR FOR METATRADER

Reveal powerful trade setups hidden in plain sight

Spotting divergences manually is time-consuming and inconsistent—but this tool changes everything. By scanning the chart for both regular and hidden divergences across your favorite oscillators, this indicator gives you one of the most reliable market signals on autopilot. It confirms entries with breakout filters, helping you avoid premature trades while locking in higher-probability setups.

  • Automatically detects regular and hidden divergences
  • Works with 11 popular oscillators including RSI, MACD, Stochastic, and more
  • Uses breakout confirmation to filter low-quality signals
  • Suggests stop-loss and take-profit levels for every trade
  • Customize oscillator periods, divergence size, and display parameters
  • Load multiple indicator instances with different oscillators—no conflict
  • Built-in performance analytics for self-optimization
  • Alerts via email, sound, push notification, and on-screen
  • Trade any market: Forex, indices, commodities, crypto, or stocks

Screenshots

Description

Divergences are one of the most reliable trading setups, but they are hard to spot and don’t happen very often. This indicator helps by automatically finding both regular and hidden divergences, using your favorite oscillator. It works on any market and is easy to use.

  • Easy to trade and interpret
  • Detects regular and hidden divergences
  • Works with many popular oscillators
  • Uses breakouts to confirm trade signals
  • Shows suggested stop-loss and take-profit levels
  • Lets you adjust oscillator settings as needed
  • Customize colors and line sizes on the chart
  • Filter divergences by their size (in bars)
  • Displays performance statistics for all trades
  • Sends alerts by email, sound, push, or on-screen

You can load this indicator multiple times on the same chart with different oscillators. Each one works separately, without conflict. This gives you a broad and flexible market view.

Supported Oscillators

  • RSI (Relative Strength Index)
  • CCI (Commodity Channel Index)
  • MACD (Moving Average Convergence Divergence)
  • OSMA (Oscillator of Moving Average)
  • Stochastic
  • Momentum
  • Awesome Oscillator
  • Accelerator Oscillator
  • Williams Percent Range (WPR)
  • Relative Vigor Index (RVI)
  • Money Flow Index (MFI)
  • On Balance Volume (OBV)
  • Rate of Change (ROC)

To make signals more reliable, the indicator waits for a Donchian breakout to confirm the divergence before generating a trade signal. This reduces false signals and gives a much more trustworthy result, even though divergences naturally tend to repaint.

Input Parameters

  • Amplitude – The zig-zag period used to detect divergence points.
  • Oscillator – Select the oscillator to use on the chart.
  • Breakout period – Number of bars to use when confirming the signal with a breakout.
  • Divergence types – Choose to show regular divergences, hidden divergences, or both.
  • Min divergence size in bars – Minimum length in bars for a divergence to be shown.
  • Max divergence size in bars – Maximum length in bars for a divergence to be shown.
  • Max history bars – Number of past bars the indicator will evaluate when it loads
  • RSI period
  • CCI period
  • WPR period
  • Momentum period
  • Stochastic periods
  • MACD settings
  • RVI period
  • ROC period
  • Drawing Settings – Choose the colors and thickness for the divergence lines.
  • Alerts – Turn alerts on or off, and set a custom message for alert notifications.

Reviews

Verified reviews from third party sources
Roberto Rossi
From Forex Peace Army

Great product and great seller. The Divergence Indicator is top-notch. I also downloaded a free pivot tool and combined both into a solid trading system.

⭐⭐⭐⭐⭐
lauro1956
From MQL5

Excellent divergence indicator with safety arrows and take-profit and stop-loss levels.

⭐⭐⭐⭐⭐
tsuchla1
From MQL5

I would highly recommend PZ Divergence to anyone who uses divergence in their trading. It's not perfect, but this indicator does have some versatility along with some limitations. It does repaint, but you need to understand divergence is a process—generally not a single candle. I have had the best success using the Zig Zag setting on 8, then waiting for a candle to close across the 15 EMA for confirmation that the price is going in the right direction. You may also want to combine divergence with support and resistance, and overbought/oversold levels for more confluence.

⭐⭐⭐⭐⭐
Frank Paetsch
From MQL5

Great divergence indicator! Thank you.

⭐⭐⭐⭐⭐

Related Indicators & Bots

Frequently Asked Questions

Yes, the indicator repaints—but for a good reason. Divergences are not static and can expand as price evolves. To reflect this, the indicator adjusts the visual representation of divergences in real-time. However, the actual trade signals are based on confirmed breakouts, which are stable and mostly non-repainting.

The indicator triggers two types of alerts: one when a divergence is detected and another when a breakout confirms that divergence. You can choose between on-screen, email, push notifications, or sound alerts. For trading purposes, we strongly recommend using breakout confirmations as your entry point.

The indicator supports a wide range of common oscillators including RSI, CCI, MACD, OSMA, Stochastic, Momentum, Awesome Oscillator, Accelerator Oscillator, Williams %R, Relative Vigor Index (RVI), and Rate of Change (ROC).

Yes, you can load the indicator multiple times on the same chart, each instance configured with a different oscillator. They will work independently without interfering with each other.

Longer timeframes such as H1, H4, Daily, or Weekly tend to yield more reliable divergence signals with fewer false positives. Lower timeframes can be used, but they may produce more noise and require tighter filtering.

Not necessarily. Divergences can signal a potential reversal, but the actual trade should only be taken upon a breakout confirmation. This filter helps reduce false entries caused by premature or extended divergence patterns.

Yes, the indicator allows you to set minimum and maximum divergence size in bars, helping you control signal density and focus on higher-quality opportunities.

Yes, for every confirmed breakout trade, the indicator provides suggested SL and TP levels based on the price structure, helping you build consistent trade management.

Absolutely. The indicator includes built-in performance statistics like Maximum Favorable Excursion (MFE), Maximum Adverse Excursion (MAE), and Average Absolute Expectancy (AAE), which help you identify the most effective settings for each asset and timeframe.

This indicator is suitable for any market where technical analysis applies, including Forex, commodities, indices, stocks, and cryptocurrencies.

Only if configured with very loose settings. You can control the number of signals by adjusting the amplitude, breakout filter, and minimum divergence size, allowing you to tailor the output to your trading style.

Divergences are particularly powerful in trending markets when used to spot potential reversals or temporary retracements. However, they can also be effective in ranging conditions when price nears key support or resistance levels.