| Divergence Type | Price Action | RSI Momentum | Market Implication | Strategic Setup |
| Regular Bullish | Lower Low | Higher Low | Downtrend Exhaustion | Potential Bullish Reversal |
| Hidden Bullish | Higher Low | Lower Low | Pullback Completion | Uptrend Continuation |
| Regular Bearish | Higher High | Lower High | Uptrend Exhaustion | Potential Bearish Reversal |
| Hidden Bearish | Lower High | Higher High | Rally Exhaustion | Downtrend Continuation |

| Input Parameter | Default Value | Description |
RsiPeriod |
14 |
The calculation period for the underlying Relative Strength Index |
RsiPrice |
PRICE_TYPICAL |
Applied price calculation model (Close, Open, High, Low, Typical, Weighted, Median) |
DivergenceBarRange |
ShortRange |
Swing sensitivity range (ShortRange, MidRange, or LongRange) |
DivergenceLookback |
5 |
Peak/trough search lookback window for signal calculation |
Wait1 |
true |
Requires bar completion before confirming signals to eliminate repainting |
Enhanced |
false |
Enables structural multi-peak filter to remove weak setup variations |
FilterLength |
5 |
Moving average smoothing period applied internally for trend validation |
ShowRegularBullish |
true |
Toggle visual display and output for Regular Bullish signals |
ShowHiddenBullish |
true |
Toggle visual display and output for Hidden Bullish signals |
ShowRegularBearish |
true |
Toggle visual display and output for Regular Bearish signals |
ShowHiddenBearish |
true |
Toggle visual display and output for Hidden Bearish signals |
EnableAlert |
true |
Master toggle for real-time sound and terminal alert triggers |
ShowAlertMessageBox |
true |
Display MT4 popup window when a confirmed signal occurs |
ShowLine |
true |
Automatically draw divergence lines on main chart and sub-window |
ShowChar |
true |
Display letter markers ("R" / "H") above/below signal candles |
OnlyShowLastSignalWithinBars |
10 |
Auto-removes old visual objects outside the user-defined bar window |

iCustom() calls:
Visit the Technical Inputs Manual: Double Divergence Pro for full parameter tuning.
Read the master guide on the Double Divergence Indicator Series.
Wait1 is enabled (default setting), the indicator evaluates setups strictly on closed bars. Once a candle closes and a signal generates, it remains fixed on the chart.RsiPrice parameter supports all MetaTrader price types, including Close, Open, High, Low, Median, Typical, and Weighted prices.
Copyright @ 2026 Patternsmart - All rights reserved
This website is for educational and informational
purposes only and should not be considered a solicitation to buy or sell a
futures contract or make any other type of investment decision. It's not recommended to use any single indicator as sole evaluation criteria. The companies
and services listed on this website are not to be considered a recommendation
and it is the reader's responsibility to evaluate any product, service, or
company. patternsmart is not responsible for the accuracy or content of any
product, service or company linked to on this website.
Futures trading
contains substantial risk and is not for every investor.Please read the following risk disclosure before considering the
trading of this product:
Futures Risk Disclosure. An investor could
potentially lose all or more than the initial investment. Risk capital is money
that can be lost without jeopardizing ones financial security or life style.
Only risk capital should be used for trading and only those with sufficient risk
capital should consider trading. Past performance is not necessarily indicative
of future results.
Trading stocks, options, futures and forex involves
speculation, and the risk of loss can be substantial.Investor must consider all
relevant risk factors, including their own personal financial situation, before
trading. Trading foreign exchange on margin carries a high level of risk, as
well as its own unique risk factors. Forex investments are subject to
counter-party risk, as there is no central clearing organization for these
transactions. Please read the following risk disclosure before considering the
trading of this product:
Forex Risk Disclosure. Spreads, Straddles, and other multiple-leg option
strategies can entail substantial transaction costs, including multiple
commissions, which may impact any potential return. Options are not suitable for
all investors as the special risks inherent to options trading may expose
investors to potentially rapid and substantial losses. Prior to trading options,
you should carefully read
Characteristics and Risks of Standardized Options.
patternsmart.com
will not be held liable for the loss of money or any damage caused from relying
on the information on this site. Any investment decision you make in your account is solely your responsibility.
TESTIMONIAL DISCLOSURE: TESTIMONIALS APPEARING ON OUR SITE MAY NOT BE REPRESENTATIVE OF THE EXPERIENCE OF OTHER CLIENTS OR CUSTOMERS AND IS NOT A GUARANTEE OF FUTURE PERFORMANCE OR SUCCESS.