Skip to content
EP18 Free trading lesson · Indicators

Free Divergence Indicators for TradingView and MT4

Indicators that draw divergence lines between price and RSI automatically, both classic and hidden, with step-by-step setup on MT4 and TradingView and how to read the signals for trade entries.

By 1TRADER7 min readUpdated 16 Oct 2026
!
Note: Both indicators come from third-party developers and are free as of Oct 2026; names or menus may change with their updates. Divergence lines are an analysis aid, not trading signals. This content is for education only and is not investment advice.

Quick summary before you read

  • 2 free divergence indicators: RSI Divergence Indicator on MT4 and Divergence for Many Indicators v4 on TradingView
  • They draw classic and hidden divergence between price and RSI automatically, so you no longer miss signals
  • MT4 installs through Market (MQL5 login needed); on TradingView, search in the indicators menu and set it up as shown
  • Divergence signals are not trade orders; always check the trend, support and resistance, and set a stop loss

Previous lessons: EP1 Trends · EP2 Sideways markets · EP3 Trend reversals · EP4 Speed line · EP5 Demand & supply zones · EP6 FVG · EP7 Divergence · EP8 FIBO · EP9 Money management · EP10 Free backtesting · EP11 Stochastic · EP12 Bollinger Bands · EP13 Starting capital · EP14 Sniper (All-in) · EP15 Free TradingView · EP16 Zone indicator · EP17 RSI

01Features

How does a divergence indicator help?

After learning RSI divergence (EP7) and finding entries with RSI (EP17), the most common beginner problem is not spotting the signal, or not telling classic from hidden. So this lesson introduces free indicators that draw divergence lines for you automatically.

2 free indicators
1
RSI Divergence Indicator (MT4) – downloaded through Market in MT4; shows arrows and lines on the chart and in the RSI window
2
Divergence for Many Indicators v4 (TradingView) – a free script that draws classic and hidden divergence on the price chart, with separate colours and line styles
Divergence for Many Indicators v4 on the H1 gold chart: classic divergence as green and red dotted lines, hidden divergence as blue and orange dashed lines
Divergence for Many Indicators v4 on the H1 gold chart: dotted = classic, dashed = hidden · tap to enlarge
2MT4 and TradingView
4 typesClassic / hidden, bullish and bearish
14 RSIDefault RSI on MT4
$0 freeOn both platforms
02Divergence types

Recap the 4 types of divergence before you start

The indicator draws the lines, but you still need to know what they mean. If you haven’t studied it yet, read EP7 What is divergence first, then come back to install.

1 Classic bullish divergence
Price makes a lower low but RSI makes a higher low; selling pressure is fading and price may pause or turn up
2 Classic bearish divergence
Price makes a higher high but RSI makes a lower high; buying pressure is fading and price may pause or turn down
3 Hidden bullish divergence
Price makes a higher low but RSI makes a lower low; often seen on pullbacks in an uptrend, used to time trend continuation
4 Hidden bearish divergence
Price makes a lower high but RSI makes a higher high; often seen on bounces in a downtrend, used to time trend continuation
!

Every type of divergence says price is no longer in step with momentum: price may ‘pause or reverse’, which doesn’t mean it must reverse right away.

03Install · MT4

How to install the divergence indicator in MT4 (6 steps)

This indicator is a free download from Market inside MT4, with no files from outside websites, but you need an MQL5 Community account first.

Step 1: Log in to MQL5 Community

1
Log in to MQL5 – open MT4 and click the icon at the top right to log in to your MQL5 Community account. If you don’t have one, click register at the bottom of the window (it’s free)
Click the icon at the top right of MT4 to log in to MQL5 Community; if you have no account, click register at the bottom of the window
Click the top right of MT4 to log in to MQL5 · tap to enlarge

Step 2: Search in Market

2
Find the indicator – open the Terminal panel at the bottom (Ctrl+T), click Market, search for RSI Divergence and choose RSI Divergence Indicator FREE
Open the Terminal panel at the bottom of MT4, click Market, search for RSI Divergence and choose RSI Divergence Indicator FREE
Search for RSI Divergence in the Market tab · tap to enlarge

Step 3: Click Download

3
Download – on the indicator’s page, click Download and wait a moment for it to install
The RSI Divergence Indicator MT4 page in the Market tab: click Download and wait for it to install
Click Download and wait for it to install · tap to enlarge

Step 4: Drag the indicator onto the chart

4
Navigator > Market – open the Navigator window (Ctrl+N), go to the Market folder and drag RSI Divergence Indicator MT4 onto the chart
Open the Navigator window, go to the Market folder and drag RSI Divergence Indicator MT4 onto the chart
Drag the indicator from Navigator > Market onto the chart · tap to enlarge

Step 5: Set the Inputs tab

5
Inputs – the settings window pops up. In the Inputs tab, set Divergence Type to Regular & Hidden Divergences and Confirmation Type to No Confirmation; keep the other defaults (RSI period 14, Close price)
The Inputs tab of RSI Divergence Indicator MT4 with Divergence Type set to Regular & Hidden Divergences and Confirmation Type to No Confirmation
Inputs tab: Regular & Hidden Divergences and No Confirmation · tap to enlarge

Step 6: Set the Levels colour

6
Levels – in the Levels tab, change the level line colour to black so it stands out on a white background, then click OK
The Levels tab of RSI Divergence Indicator MT4: change the level line colour to black, then click OK
Levels tab: set the line colour to black and click OK · tap to enlarge

The result on the MT4 chart

RSI Divergence indicator on the MT4 XAUUSD H1 gold chart: green arrows are bullish divergence signals, red arrows bearish, with lines in the RSI window
Green arrow = bullish divergence · red arrow = bearish divergence, with lines in the RSI window · tap to enlarge

To avoid dragging the indicator in every time, right-click the chart, choose Template > Save Template, then load that template on other charts.

!

No Confirmation makes signals appear sooner but unconfirmed, so lines or arrows may change or disappear before the reversal actually happens. Treat them as a warning and wait for a confirmation candle before entering. Indicators from the MT4 Market work with MT4 only, not MT5.

04TradingView

How to use the divergence indicator in TradingView

It works with a free TradingView account. If you’re new to TradingView, see how to sign up and open a chart in EP15 How to use TradingView for free (the free plan limits indicators per chart; this one counts as 1).

Step 1: Find the indicator

1
Indicators menu – open the XAUUSD chart, click Indicators at the top, type Divergence and choose Divergence for Many Indicators v4 (by LonesomeTheBlue)
The Indicators menu in TradingView: search for Divergence and choose Divergence for Many Indicators v4
Search for Divergence and choose Divergence for Many Indicators v4 · tap to enlarge

Step 2: Set the Inputs tab

2
Settings (gear) – hover over the indicator name at the top left of the chart, click the gear icon and set the Inputs tab as in the table below
Divergence for Many Indicators v4 settings, Inputs tab: Pivot Period 5, Divergence Type Regular/Hidden, Show Divergence Lines and RSI ticked
Click the gear next to the indicator name and set the Inputs tab · tap to enlarge
Pivot Period
5 (pivots confirmed by 5 candles on each side)
Source for Pivot Points
Close
Divergence Type
Regular/Hidden to show both classic and hidden
Show Indicator Names
Don’t Show
Minimum Number of Divergence
1
Maximum Pivot Points to Check
10
Maximum Bars to Check
100
Ticked boxes
Only Show Divergence Lines and RSI; untick the others (MACD, Stochastic, CCI, OBV, MFI and so on)

Step 3: Set colours and line styles

3
Colours and lines – scroll down in the same tab, set the colours and lines as in the table below, check every field again, then click Ok
Colours and line styles for Divergence for Many Indicators v4: regular as dotted, hidden as dashed, then click Ok
Set the positive/negative colours and regular/hidden line styles, then click Ok · tap to enlarge
Positive Regular Divergence
Green · classic bullish
Negative Regular Divergence
Red · classic bearish
Positive Hidden Divergence
Blue · hidden bullish
Negative Hidden Divergence
Orange · hidden bearish
Regular Divergence Line
Style Dotted · Width 2
Hidden Divergence Line
Style Dashed · Width 1

Reading the lines on the TradingView chart

Green dotted Classic bullishRed dotted Classic bearishBlue dashed Hidden bullishOrange dashed Hidden bearish
!

A pivot period of 5 means the indicator waits for 5 more candles after a high or low to confirm the pivot, so lines appear slightly after the actual point but don’t disappear later. Ticking Don’t Wait for Confirmation makes signals faster but they can change.

05How to use

Use the indicator’s signals to find entries

The indicator helps you see divergence faster, but it doesn’t mean you should trade every signal. Use this checklist to pick only the interesting ones.

Pre-trade checklist
1
Check the higher-timeframe trend – on H4 or H1 with trends and trendlines, to know whether to focus on buys or sells
2
Match the signal type to the situation – with the trend, use hidden divergence to time continuation; use classic divergence as a warning that the trend is weakening
3
The signal must appear at a key zone – such as support/resistance, a demand/supply zone or FIBO; the more conditions line up, the better
4
Wait for a confirmation candle – such as a reversal candle, or price breaking the speed line in the signal’s direction
5
Set the SL, then size your lot – buys: SL below the latest low; sells: SL above the latest high. Size your lot as in EP9 Money management
Buy-side example
A
Uptrend – price pulls back to support or a demand zone
B
Hidden bullish divergence appears – blue dashed line: price makes a higher low but RSI a lower low
C
Buy – after a confirmation candle, with the SL below the latest low and TP at the next resistance
Sell-side example
A
Uptrend losing steam – price makes a new high near resistance or a supply zone
B
Classic bearish divergence appears – red dotted line: price makes a higher high but RSI a lower high
C
Sell – when price breaks minor support or a confirmation candle forms, with the SL above the latest high
06Cautions

Cautions with divergence indicators

Common beginner mistakes
1
Trading every line that appears – divergence is common, especially on small timeframes; trading every signal means often trading against the trend
2
Fighting a strong trend with classic divergence – in a strong trend, classic divergence can repeat many times before price really turns
3
Trusting unconfirmed signals – No Confirmation signals may vanish when a new candle forms
4
No stop loss – signals can always be wrong, especially during big news
Use it well
1
Read signals on H1/H4 – then drop to a smaller timeframe to time the entry
2
Combine with support and resistance – a signal in the middle of nowhere carries less weight than one at a key zone
3
Backtest before going live – practise on past charts with the free backtesting sites (EP10) or a demo account
4
Avoid big news – check the economic calendar before trading
!

The indicator draws lines from pivots that have already formed, so every signal comes after price has started to turn. Use it as a tool to help you see divergence alongside your own analysis, not as an automated trading system.

07Summary

Divergence signal summary

SignalPrice / RSILine on TradingViewMeaning
Classic bullishLower low / higher lowGreen dottedSelling is fading; price may pause or turn up
Classic bearishHigher high / lower highRed dottedBuying is fading; price may pause or turn down
Hidden bullishHigher low / lower lowBlue dashedPullback in an uptrend; price may continue up
Hidden bearishLower high / higher highOrange dashedBounce in a downtrend; price may continue down

A divergence indicator helps beginners spot signals quickly and tell the types apart clearly, but choosing the signal, waiting for confirmation and setting the stop loss are still the trader’s job. Always use it with the trend, support and resistance, and money management.

08FAQ

FAQ about divergence indicators

Do the divergence indicators in this article cost money?

No, both are free. The MT4 one is a free indicator in the MT4 Market; you need to log in to MQL5 Community before downloading. Divergence for Many Indicators v4 on TradingView is an open-source script that works on the free plan, though the free plan limits indicators per chart.

Does the MT4 indicator work with MT5?

No. Indicators downloaded through the MT4 Market work with MT4 only. On MT5, search for an MT5 divergence indicator in the MT5 Market separately; its menus and settings may differ.

Why do divergence signals appear and then disappear, or show up later than the turning point?

In MT4, with Confirmation Type set to No Confirmation, signals appear immediately but unconfirmed, so they can change or vanish. In TradingView, a pivot period of 5 waits for 5 more candles after the pivot to confirm it, so signals appear later than the actual high or low.

How is classic divergence different from hidden divergence?

Classic bullish divergence is price making a lower low while RSI makes a higher low; classic bearish is price making a higher high while RSI makes a lower high. It often warns that price may pause or reverse. Hidden bullish divergence is price making a higher low while RSI makes a lower low; hidden bearish is price making a lower high while RSI makes a higher high. It is often used to time continuation of the trend.

What do the coloured lines on TradingView mean?

With the settings in this article, a green dotted line is classic bullish divergence, a red dotted line is classic bearish divergence, a blue dashed line is hidden bullish divergence and an orange dashed line is hidden bearish divergence.

Can I enter as soon as I see a divergence signal?

You shouldn’t. Divergence says momentum is fading, not that price must reverse right away. Check the higher-timeframe trend, make sure the signal is at support, resistance or a key zone, wait for a confirmation candle, and always set a stop loss.

I can’t find the indicator in the MT4 Market. What should I do?

Check that you’re logged in to MQL5 Community and search for RSI Divergence in the Market tab. Once installed, it sits in Navigator > Market as RSI Divergence Indicator MT4. If you still can’t find it, the developer may have renamed or removed it; pick another well-reviewed free one, or use the TradingView indicator in this article.

See all lessons in the free Forex and gold trading course

Risk warning: Trading Forex, gold and CFDs carries a high level of risk and you may lose money. 1TRADER provides information and education to support your own decisions only. The indicators in this article belong to third-party developers and are shown for education; past signals do not guarantee future results. MetaTrader 4 is a trademark of MetaQuotes · TradingView is a trademark of TradingView, Inc. Read the full risk disclosure.