Divergence Signal Alerts

Divergence Signal Alerts is a free indicator for MetaTrader 5. It finds RSI and MACD divergences on the chart, draws a line between the two price pivots and puts an arrow on the bar where the divergence became known, with alerts.

Signals come from closed bars only. A pivot is known only a few bars after it forms, so the arrow goes on that later bar and never moves or disappears.

What you see on the chart

  • A line between the two price pivots: green for bullish, red for bearish; solid for regular, dashed for hidden
  • An arrow on the closed bar that confirmed the divergence
  • Tooltip on each line: type, direction and which oscillators diverged

How a divergence is found

  • Pivots on price: a swing low has 5 higher lows before it and 3 bars after it that are not lower (both adjustable); swing highs mirror it.
  • Regular bullish: price makes a lower low while RSI or the MACD histogram makes a higher low. Regular bearish is the mirror at swing highs.
  • Hidden bullish (optional): price makes a higher low while the oscillator makes a lower low. Hidden bearish mirrors it.
  • The two pivots must be 5 to 60 bars apart, and with clean lines on, no bar between them may cross the line on price or on the oscillator.
  • Optional: only when RSI and MACD both diverge.

Who it is for

For traders who use divergence to spot a possible turn or the continuation of a trend, on any symbol and timeframe. To watch many symbols and timeframes at once, with Stochastic, CCI and OBV too, see Divergence Scanner MT5. It places no orders.

Inputs

  • RSI divergence / RSI period - on / 14
  • MACD histogram divergence / fast, slow, signal - on / 12, 26, 9
  • Regular / hidden divergence - on / off
  • Pivot: bars on the left / right - 5 / 3 (the right side is the confirmation delay)
  • Pivots at least / at most this many bars apart - 5 / 60
  • Clean lines - on
  • Only when RSI and MACD both diverge - off
  • Closed bars to scan - 2000; draw the line between the pivots - on; colours
  • Alerts: pop-up (on), sound, push notification, e-mail

Starting settings

The defaults work on every timeframe; what changes is how often they signal. Divergences per month per symbol on EURUSD, GBPUSD, USDJPY and XAUUSD, October 2023 to October 2026, closed bars (a code count, not a trading result):

Timeframe Divergences per month
M15 about 36 to 43
H1 about 8 to 11
H4 about 2 to 3
D1 about 0.2 to 0.4

Fewer signals: switch on "only when RSI and MACD both diverge", or raise the bars on the left.

How it was checked

  • Non-repainting: in the Strategy Tester on XAUUSD H1, every tick, January to October 2026 (91 million ticks, 4,406 bars), 75 arrows appeared and none changed after its bar closed or was drawn on the forming bar.
  • Code check: RSI, MACD and every arrow were compared bar by bar with an independent Python calculation on EURUSD, GBPJPY, XAUUSD and BTCUSD, M15, H1 and H4: identical on every bar.

Alerts and Expert Advisors

One alert per new divergence, on the bar that confirms it: pop-up, sound, push notification and e-mail, each switched separately. Nothing is sent while history loads, never twice for the same bar, and not in the Strategy Tester.

Buffers: 0 bullish arrow (price), 1 bearish arrow, 2 and 3 their type (1 regular, 2 hidden), 4 RSI, 5 MACD histogram.

Questions

  • Does it repaint? No. It uses closed bars only, and the arrow goes on the bar that confirmed the divergence, a few bars after the pivot.
  • Why is the arrow a few bars after the low or high? A pivot can only be confirmed once the next bars have closed. Drawing it earlier would mean redrawing later.
  • Does a divergence mean price will turn? No. It shows that momentum and price disagree; many divergences are followed by more of the same trend.
  • Does it work on gold and crypto? Yes, on any symbol with history.

Questions: use the comments on this page or send me a message on MQL5.

Trading involves risk. The indicator shows a technical pattern; it does not predict the market, and past signals do not guarantee future results.

Mais do autor
Gold Trend Sentinel
Allan Aparece Ninal
O Gold Trend Sentinel é um Expert Advisor para XAUUSD no MetaTrader 5. Ele opera uma regra de tendência no gráfico H4 com lote fixo de 0.01 (ou o mínimo da corretora), um stop em cada ordem e um stop móvel. Esta é a edição com o lote fixado no mínimo. A mesma regra com tamanho de lote baseado no risco e proteção da conta é vendida como Gold Trend Sentinel Pro. O que você vê no gráfico Um painel de status: os dois filtros de tendência, o que o EA pode fazer agora, a operação aberta e seu stop móv
FREE
Gold Breakout Sentinel
Allan Aparece Ninal
Gold Breakout Sentinel is an Expert Advisor for XAUUSD on the H1 chart. It places pending stop orders at yesterday's high or low when a stochastic turn and a Bollinger Band filter agree, with a fixed 0.01 lot and a fixed stop loss and take profit on every order. The EA trades gold only. It is a rules-based daily breakout system, not a profit promise: my own tests found no proven edge. What you see on the chart An info panel: what the EA is waiting for, pending orders, the open trade and closed-t
FREE
UT Bot Signal Alerts is a trend indicator for MetaTrader 5 that draws an ATR trailing stop line and puts a buy or sell arrow on the bar where the close crosses it, with pop-up, sound, push and e-mail alerts. It is a charting tool. It places no trades and does not touch your orders. It is based on the UT Bot Alerts script known from TradingView and uses the same maths. What you see on the chart A stop line that trails the close at key value x ATR, blue while the close is above it and red while th
FREE
Vitals
Allan Aparece Ninal
Vitals shows the state of your trading account on a single screen: balance and margin, current risk, open positions, market ranges, results by period, and a statistics panel, arranged on one grid so the figures can be read at a glance rather than gathered from several terminal windows. Vitals is a display panel. It does not place, modify or close orders. Floating drawdown A history report records what a position earned. It does not record how far the account moved below its balance while that po
FREE
Gold Breakout Sentinel Pro is an XAUUSD Expert Advisor for the H1 chart with risk-based position sizing, account protection, news, time and spread filters, trade management, panel buttons and push alerts around a daily breakout entry. The entry rule is that of the free edition; this page covers what Pro adds around it. Rules-based, not a profit promise: my own tests found no proven edge. What you see on the chart An info panel: Lot and Risk rows, protection status, active filters and next high-i
O Gold Trend Sentinel Pro é um Expert Advisor para XAUUSD no MetaTrader 5 que dimensiona cada operação a partir de um nível de risco, para por conta própria em caso de perda diária ou drawdown, e pode pausar em torno de notícias de alto impacto do USD. A regra de entrada é a mesma do Gold Trend Sentinel gratuito. O Pro acrescenta tamanho de lote, proteção da conta, filtros, alertas e botões no painel. O que você vê no gráfico Painel de status: linhas Lot, Risk, Protect e Filters, a operação aber
Half Trend ADX
Allan Aparece Ninal
Half Trend ADX é um indicador de tendência para MetaTrader 5. Ele desenha uma linha de tendência, setas de compra e venda e alertas, e pode ignorar tendências fracas com um filtro ADX. É um indicador, não um sistema de trading: não abre ordens nem gerencia operações. O que você vê no gráfico Linha Half Trend: azul enquanto a tendência é de alta, vermelha enquanto é de baixa. Setas de compra e venda: uma seta na barra em que a tendência virou. Canal ATR: duas linhas pontilhadas opcionais ao redor
UT Bot Scanner MT5
Allan Aparece Ninal
UT Bot Scanner MT5 is a scanner indicator for MetaTrader 5. One panel shows the UT Bot buy or sell side of many symbols and timeframes, and sends an alert when a new signal appears. The calculation is the same as in the free UT Bot Signal Alerts indicator, which covers one chart. The scanner runs it for a whole list, so you need not flip through charts. What you see on the chart A panel with symbols as rows and timeframes as columns In each cell: BUY or SELL, and how many closed bars ago the las
Candlestick Signal Alerts is a free indicator for MetaTrader 5 that marks 13 classic candlestick patterns on the chart, each with an arrow and a short label on the bar that completes it, and can alert you when one appears. It works on closed bars only: a mark appears when its bar has closed and never moves or disappears. Patterns Bullish and Bearish Engulfing Hammer and Hanging Man Inverted Hammer and Shooting Star Doji Morning Star and Evening Star Bullish and Bearish Harami Piercing Line and D
FREE
Candlestick Scanner MT5 watches many symbols and timeframes for 21 candlestick patterns and shows the latest one in each cell of a panel. A context filter can keep only patterns at a recent low (bullish) or high (bearish), and a statistics table shows what price did after each pattern in your own history, next to the same measure for any bar. It works on closed bars only, so a cell never changes after its bar has closed. Patterns From the free version : Engulfing, Hammer, Hanging Man, Inverted H
Divergence Scanner MT5 is a scanner indicator for MetaTrader 5. One panel shows the latest RSI, MACD, Stochastic, CCI and OBV divergence on many symbols and timeframes, how long ago it was confirmed and how many oscillators agree, and sends an alert when a new one appears. It runs the same divergence engine as the free Divergence Signal Alerts indicator, for a whole list of charts at once, with three more oscillators and a count of how many agree. What you see on the chart A panel with symbols a
EA Health Monitor
Allan Aparece Ninal
EA Health Monitor is a free indicator for MetaTrader 5 that shows, on one panel, how each Expert Advisor on your account is doing. It groups the account history by magic number and gives every EA its own row, with manual trades on a row of their own and a total at the bottom. It only reads the account history and open positions. It never opens, changes or closes a trade. For each EA Closed trades, net result (profit + swap + commission + fee) Win rate and profit factor Max drawdown: the largest
FREE
EA Health Monitor Pro watches every Expert Advisor on your MetaTrader 5 account and tells you when one needs attention. One row per EA (by magic number), manual trades on their own row, a result curve for each, and alarms when floating loss or drawdown passes your limit or an EA goes quiet. It only reads the account history and open positions. It never opens, changes or closes a trade. What it does Per EA: closed trades, net result, win rate, profit factor, expectancy, max drawdown of the realiz
Gann HiLo Swing
Allan Aparece Ninal
Gann HiLo Swing is a free indicator for MetaTrader 5 with two of W.D. Gann's tools: the HiLo Activator line and the 2-bar swing chart. It shows the trend side, the swings and an arrow with an alert when a new trend starts. Everything comes from closed bars, so nothing on the chart changes after its bar has closed. What you see on the chart HiLo Activator line: blue in an uptrend, red in a downtrend Swing line (dotted) through the confirmed swing highs and lows An arrow on the bar where a new tre
FREE
Gann Toolkit MT5
Allan Aparece Ninal
Gann Toolkit MT5 is an indicator for MetaTrader 5 that draws W.D. Gann's price and time tools from the swings it confirms: Square of 9 levels, Gann fan angles and the Gann box. It adds the HiLo Activator and swing line of the free Gann HiLo Swing, a multi-symbol HiLo trend table and alerts. The levels, angles and box are anchored to confirmed swing pivots on closed bars, so they change only when a new swing is confirmed. What you see on the chart Square of 9 levels (gold) above and below the lat
Harmonic Signal Alerts is a free indicator for MetaTrader 5 that finds ABCD, Gartley and Bat patterns on the chart. When price reaches a pattern's potential reversal zone, it draws the XABCD lines, the zone and an arrow, and can alert you. It works only from swings that are already confirmed and from closed bars. A pattern is drawn on the bar where it became known and is never moved or removed afterwards. How it finds a pattern Swings: a swing high is a bar higher than the 10 bars before it and
FREE
Harmonic Scanner MT5 watches many symbols and timeframes at once for eight harmonic patterns: ABCD, Gartley, Bat, Alternate Bat, Butterfly, Crab, Deep Crab and Cypher. One panel shows where a pattern has just reached its potential reversal zone, where one is forming close to its zone, and how long ago the last one completed. It works only from confirmed swings and closed bars, so a completed pattern in a cell never changes afterwards. What it does Panel of symbols (Market Watch or your list) by
Prop Rules Monitor is a free indicator for MetaTrader 5 that shows how close a prop-firm account is to its daily loss limit and its max loss, live, on equity, the way firms measure them. It warns you before a limit and when a limit is broken. It only watches: it never opens, closes or changes a trade, so it works without Algo Trading. What you see Daily loss limit: day start, floor, room left, % used with a bar, and the time to the reset. Max loss: floor and room left, static or trailing. Accoun
FREE
Prop Rules Guard MT5 is a utility (Expert Advisor) for MetaTrader 5 that keeps a prop-firm account inside its rules. It measures the daily loss limit and the max loss on equity, the way the firm does, and at a safety buffer before a limit it closes your trades and keeps the account flat until the firm's daily reset. It never opens a trade. It works with manual trading and with other Expert Advisors on the same account. What it does Daily loss limit on equity: from the balance, the equity or the
Filtro:
Sem comentários
Responder ao comentário