ZeroLag MACD Divergence Signals

v10.3
ZeroLag MACD Divergence Signals

This is another spin of the classic MACD divergence indicator except we use a zero lag MACD and also consider the immediate price action to filter for stronger signals.

The only adjustable parameter is the lookback period to consider for calculating the divergence between price and the MACD crossover.

Note that the indicator only loads 5000 bars per default in order to load faster but this can easily be changed in the code if required.

 

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. Violet • 5 days ago #

    Is there perhaps a problem with the code?
    It doesn’t work, at least not on my PRT version 11

  2. Stenozar • 5 days ago #

    Hi Juanj e thanks for your indicator; do you suggest any timeframe for a better use of it? thanks

  3. larouedegann • 5 days ago #

    It doesn’t work

avatar
Register or

Likes

avatar avatar
Related users ' posts
stephane2.0
3 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))
Morrissey38 Buenas tardes Nicolás . Como podría introducir una línea cero a este indicador? . Muchas gra...
Nicolas Change the last line with : RETURN Reflex, 0
Morrissey38 Muchísimas gracias Nicolás , muy amable.
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!!!!!
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.
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'...
teddy58 Ich habe es mit N= 1,5 und N=2,5 getestet mit 200000 Einheiten. Es funktioniert leider erst ...
Matriciel I use this indicator to help me make a decision when there is a divergence. The divergences ...
Jan Wind Hi, I personnaly am not a big fan of ZIGZAG indicator, as it repaints itself during time. ...
jpm380 Merci pour ce super indicateur. Comment puis-je mettre une alerte dès changement dès croisem...
berga Hi, thank you very much for this very useful screener. I would like to get another very clos...
leoulve Hello, I uploaded correctly the screener and it is not selecting any. Is it normal? cheers
Oliviertrader2020 Hello, where do you find the ZeroLagMACDWeek indicator? You only posted the mtf-macd-diverge...
Nicolas Thanks a lot for this new valuable addition to our library. I changed line 76 with "barindex...
Horance Thanks. I've noticed this leftover after submission, but it was too late for editing. BTW, I...
Etienne Thanks Horance for porting this code to PRT. I would like to bring some speedup to your cod...
franciscojbritop Hola Jose7674, Utilizas algun screener para encontrar candidatos que esten mostrando estas M...
Psg91450 Good evening José7674, First of all thank you for sharing on the macd. I would like to put ...
Bertone Great job. It really works, especially on the weekly chart.Awesome!! Can it be used as a Scr...
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...
Toto le Heros Thanks Nicolas. I read somewhere that in the calculation, we should round the value of the A...
Nicolas aADX = round(adx[10])
Glen Marquis This will work as there is plenty of room for the Target before the Stop, yet the Stop would...
magicT I did a copy and paste of this code and PRT 10.3 returns a synthax mistake: OneTradePerD...
ak5hay2 Works like crazy on bitcoin. Use different timeframes. Thanks a lot Doc!!!
MaoRai54 Hi, first of all Happy New Year. Well, I've inserted your indicator in DAX 1h but I cann...
Vinks_o_7 Hi Mao Happy New Year ! This is just an improved RSI where you plot a standard price momen...

Top