Multi Time Frame MACD Divergences

Multi Time Frame MACD Divergences

Here is a screener that allows you to identify positive and negative divergences of the MACD on a weekly or daily basis ;

The “signal” gives you the Time Frame and the nature of the divergence:

  • 2 is a weekly positive divergence
  • -2¬†is a weekly negative divergence
  • 1 is a daily positive divergence
  • -1¬†is a daily negative divergence

You can also tweek the code in order to combine both divergences at will;


Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Yannick • 10/08/2018 #

    Thanks for sharing your code, I will put in a more complex code.
    You can reduce CPU usage and time for screening by not executing the code with intrusction if
    MinPrix = close >2.5
    MinVolume = summation [10](average[23](volume)> 100000) =10

    If MinPrix and MinVolume then

  2. bala • 10/08/2018 #

    Hi Kris,

    I have imported the screen. I don’t see any instrument loaded under this screen. also, how to get the chart like your screenshot?


  3. Kris75 • 10/08/2018 #

    Hi Bala,
    you need first to install ZeroLagMACDWeek indicator and then add on it the divergence indicator

  4. berga • 10/08/2018 #

    Hi, thank you very much for this very useful screener. I would like to get another very close screener based on HIDDEN DIVERGENCES usable with intraday timeframes (5,15 min, H1…). Is it possible to simultaneously have more than 2 timeframe columns on a shorter list of assets ?As I do not know (yet) how to program PRT and to avoid mistakes, could you help me. Thank you in advance.

  5. leoulve • 221 days ago #

    Hello, I uploaded correctly the screener and it is not selecting any. Is it normal? cheers

  6. Oliviertrader2020 • 177 days ago #

    Hello, where do you find the ZeroLagMACDWeek indicator? You only posted the mtf-macd-divergence indicator. Thanks

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
juanj Possible interpretation: Indicator tags 80 = Start of bullish trend, tags 20 = Start of bear...
Yann LB Bonjour, Ajout de as "level 95" en toute fin de code. ;-)
larouedegann It doesn't work
ggolfet it seems it's not working on prorealtime 11. I changed MACDSignal to MACDSign in order to av...
juanj Please note that the indicator is meant for PRT 10.3
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
segie Can something similar be done with Supertrends?
Vonasi Not sure I fully understand what you are asking for. Are you asking for MTF Supertrend level...
Kris75 very interesting; thanks !
swedshare You got some potential here. A couple of things I think about: 1, The opening hours in this...
phoentzs Ich habe hier mit Spread 2 gerechnet, also etwa dem Mittelwert zwischen Tag und Nacht. Das G...
phoentzs Hab festgestellt, das US500 fast noch besser funktioniert als der Dax. Was aber auch daran l...
8 months ago
cfta Thanks for sharing, this may be a useful filter but I'm not sure if it's coded correctly sin...
stephane2.0 Yes, line 5 is truncated. I can't edit, please replace by:
stephane2.0 c=exponentialaverage[9](MACDLine[12,26,9](close))
Alai-n @Vonasi Thanks
jiddan78 how to convert to afl amibroker ?
Nicolas We do not supply free coding assistance for AFL Amibroker on the website. You can ask for pa...
robertogozzi Sorry for replaying so late, I really missed your post. There is a discussion thread here h...
robertogozzi Cela fonctionne bien, peut-être que vous avez fait un mauvais copier-coller, je ne sais pas....
RemiNhAPQM Bonjour, merci pour le super partage, la stratégie offre des très beaux résultats. Je ne s...
riz001 thnk u
geroniman bonjour Nicolas, j ai un indicateur le Tiger . J aiemrai placer des fleches buy et sell dire...
Nicolas Merci de formuler les demandes sur le forum. ça n'est pas le bon endroit et hors sujet ici ! ;)
GraHal Discussion Topic started here ...
samsampop Hi robertogozzi - thank you very much for sharing this strategy. I have performed various ...
robertogozzi Thank you samsampop.
Juanjo Hola, Buscando un sistema valido para operar el squeeze, he reprogramado el indicador para ...
mauro1966 BRAVO....
JackD I am getting a Syntex error when entering the code
Gianluca THANK YOU!!!!!
JOSEBA que relaccion tiene la numeraci√≥n de las barras del 1 al 10 que tiene cada n√ļmero Tengo dos...
TAC Bolsa Thank you, Jan Any modification is good reference if it helps us win in the market.
marcov66 Hi, it seems a very useful indicator. Unfortunately the link here for the full explanation d...
TACBOLSA Discontinued indicator. we are sorry.
Nicolas Merci de poster la demande dans le forum des indicateurs prorealtime. Avec un titre explicit...
RV1974 Bonjour, j'ai une erreur Erreur sur ligne 48,49 62,63 et Fin de code non reconnu
Nicolas Afin d'éviter les mauvais copier/coller, il est toujours plus simple de télécharger le fichi...
FREDNC adx[14]>adxmin and adx[14] > adxr[14] and adx[14]>adxmin and adx[14] DIminus[3](clo...
Janfi Hello, I'm new to ProRealCode and I do not understand the following summation[n](indicator...
Kaci It seems he's just checking that the previous MACD is < 0 for maximum one period ? I'...
jpm380 Merci pour ce super indicateur. Comment puis-je mettre une alerte dès changement dès croisem...
Bertone Great job. It really works, especially on the weekly chart.Awesome!! Can it be used as a Scr...
pacorapvalle Gracias por el indicador y me uno a los que han preguntado si hay algun screener.
Jose7674 Intentaré poner el screener está semana
Xusto Hello, Fully Agree, I will update it with your advice. Btw Can would you like share you co...
Niklas johansson hägglund do you now if it's possible to use this strategy with this code in tradingview also?
Alexander9 This code for metastock ?, can for amibroker . Thanks
AGTrader Interesante, muy visual Doc. Felicidades!!!
Andraxx simplemente impresionante Dom...te sigo en youtube. Me ha gustado tu canal. Gracias por comp...