Hidden divergence is the continuation version of the pattern. Price makes a higher low while the oscillator makes a lower one. That reads as a pullback inside a trend, not a reversal. The hidden smt divergence ict 01 indicator finds those pairs for you. It compares confirmed pivots against RSI readings at the same bars.
This build ships as a compiled .ex4 for MT4 and .ex5 for MT5; the screenshots below come from EURUSD H1.
| Platforms | MT4 (.ex4) + MT5 (.ex5) |
|---|---|
| Chart window | Main price chart |
| Plots | 2: Hidden Bull SMT, Hidden Bear SMT |
| Alerts | popup |
| Inputs | 6 |
What the Hidden SMT Divergence ICT 01 Indicator draws on the chart
Hidden Bull SMT places a lime arrow under a pivot low that sits above the previous low while RSI came in lower.
Hidden Bear SMT places a red arrow above the mirror case at pivot highs.
Nothing else is drawn. The RSI stays in its own window if you want to see the readings behind a signal.
- Hidden Bull SMT: arrow, lime, width 2, arrow code 233
- Hidden Bear SMT: arrow, red, width 2, arrow code 234

How the Hidden SMT Divergence ICT 01 Indicator calculates its values
Confirming the pivot first
piv_i takes i + `InpPivotRight`, stepping back from the current bar. That gives the candidate bars on its newer side to be judged against. `InpPivotLeft` supplies the older side. Both default to `3`. Working from a confirmed pivot, rather than any bar, is what stops the tool firing on noise.
Reading the oscillator at both pivots
rsi_now comes from iRSI at the pivot bar and rsi_prev from the same call at bar j, the earlier pivot. Reading the oscillator at the pivots themselves, rather than at the current bar, keeps the comparison honest: both numbers describe the moment their own swing formed.
Requiring the two to disagree
The bullish test is explicit: low[piv_i] > low[j] while rsi_now < rsi_prev. Price made a higher low, momentum made a lower one. The bearish test inverts both comparisons at highs. The arrow lands at arrowGap, which is `InpArrowOffset` multiplied by ten points, so the marker clears the wick.
How to read the signals
A hidden bull arrow suggests a pullback finishing inside an uptrend, not a bottom.
The signal needs two pivots, so look left of the arrow to find the earlier low it was compared against.
Arrows print at the pivot bar, which sits a few bars behind the current candle by the time it confirms.
Widening the lookback lets the tool pair pivots that are further apart, which changes which comparisons are even possible.
Alert channels in this build: popup, one message per closed bar.
Notification runs through a terminal popup alone, set by `InpEnableAlert` at its `true` default. Since a pivot only confirms once its right-hand bars exist, the message follows a settled bar, and the guard permits one per closed bar.
Every Hidden SMT Divergence ICT 01 Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
InpRSIPeriod |
RSI period. Bars in the oscillator, default `14`, Wilder’s original figure. | 14 |
InpPivotLeft |
Pivot left bars. Bars required on the older side of a pivot, default `3`. | 3 |
InpPivotRight |
Pivot right bars. Bars required on the newer side, default `3`. Raising both gives fewer, more meaningful pivots and later confirmation. | 3 |
InpLookback |
Bars to look back for prior pivot. How far back the code searches for the earlier pivot to compare against, default `60` bars. | 60 |
Display settings
| Setting | What it does | Default |
|---|---|---|
InpArrowOffset |
Arrow offset (multiples of 10*Point). Arrow distance in multiples of ten points, default `1.5`. | 1.5 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
InpEnableAlert |
Alert on new signal. | on |

Settings that fit your chart
Divergence work needs an instrument that swings rather than grinds. The majors on H1 and H4 suit it. EURUSD H1 is the reference chart, where a 60-bar lookback reaches back about two and a half days. On M5 pivots form constantly and many pairings mean nothing. On the daily chart signals turn rare, and each one covers months of structure.
When the Hidden SMT Divergence ICT 01 Indicator fails
Hidden divergence assumes a trend is already in place. In a range the same pivot pairs appear and mean nothing.
Pivot confirmation needs bars on both sides. So an arrow arrives after the low it marks has been left behind.
The tool compares two pivots and no more. A run of three or four lows telling a different story stays invisible to it.
Copy the compiled Hidden SMT Divergence ICT 01 Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.
Download the Hidden SMT Divergence ICT 01 Indicator for MT4 and MT5
The zip holds the compiled Hidden SMT Divergence ICT 01 Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.
Download this indicator free
Enter your email and the file is yours. You also get the full MT4 and MT5 library.
FAQ
What separates hidden divergence from the regular kind?
Which way the two series disagree. Regular bullish divergence pairs a lower price low with a higher RSI low and hints at a reversal. Hidden bullish divergence pairs a HIGHER price low with a LOWER RSI low, which reads as a pullback inside an uptrend. This build tests the hidden form only.
How far back does InpLookback search?
Up to 60 bars by default, looking for the earlier pivot to compare the current one against. Widen it and the tool can pair swings that are further apart, which suits slower charts. Narrow it and only closely spaced pivots qualify, which keeps signals tied to recent structure.
Why does the Hidden Bull SMT arrow appear a few bars late?
Because a pivot cannot be confirmed until the bars after it exist. `InpPivotRight` defaults to `3`, so the code waits three bars before it can say the low held. The arrow then prints at the pivot bar itself, which by that point sits behind the current candle.
Should I change InpRSIPeriod from 14?
Only with a reason. Fourteen is the standard, and most published divergence work assumes it. A shorter period makes RSI swing further at each pivot, producing more disagreements and more arrows. A longer one smooths the oscillator until genuine divergences stop registering.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Hidden SMT Divergence ICT 01 Indicator as one input. Always backtest before trading live.
Category: this is part of our Smart Money collection. Also, plainly, browse more Smart Money for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.
External references
- The core method is documented in Money flow index on Wikipedia.
- Additional market context is at ibearspower (BEARSPOWER) at the MQL5 Documentation.
