MACD Divergences on price and indicator

v10.3
MACD Divergences on price and indicator

Here you are an indicator that shows divergences on price and MACD at the same time.

Indeed, you need to put 1 indicator on the price chart and another as a new indicator.

Divergences are drawn automatically and it does not repaint.

 

 

 

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?

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

  1. supertiti • 06/14/2018 #

    @ Jose
    Gracias por estos indicadores que parecen muy buenos !

    @Nicolas
    Puedes preguntar a PRT para tener los segmentos mas gruesos ?

    gracias

  2. Jose7674 • 06/14/2018 #

    De nada, un placer. Adaptarlo a cualquier otro indicador es sencillo.
    Si el indicador es rapido (estocastico, rsi), N deberia ser 20.

    En indicadores mas “lentos” como un MACD estandar se puede subir el valor de N a 40

  3. juanj • 06/14/2018 #

    Neat! You should do the same for RSI and MFI. I usually validate divergence on all three.

    • Jose7674 • 06/14/2018 #

      It’s quite simple.
      Just change mimacd=rsi[14](close)
      On both and it’s done

      You can use any other indicator this way

  4. JohnScher • 06/14/2018 #

    ty
    fine work
    I’ve been looking for this for a long time.

  5. Inertia • 06/14/2018 #

    Well done !

  6. TAC Bolsa • 06/14/2018 #

    Muy Buen trabajo Jose… no lo he podido mirar hasta ahora… y me parece muy bueno…… sobre todo en otros indicadores, con tu permiso lo adaptare para otros indicadores como HPI.. la versión mejorada..

    • Jose7674 • 06/14/2018 #

      Claro, es muy sencillo de adaptar!
      Ya pondrás algún resultado o idea que saques. La idea surgió al ver tu indicador modificado. Creía que también dibujaba las divergencias … y ya empecé a pensar como hacerlo

  7. cc • 06/14/2018 #

    Excelente indicador @jose7674 Seria ideal que pudiera detectar las divergencias reales como lo hace y ademas las escondidas (hidden). Gracias

  8. tradingthelife • 06/14/2018 #

    @jose7674 este indicador es una auténtica joya, muchas gracias por compartirlo.
    Uno de los inconvenientes es la visibilidad, como comentaba @supertiti. Lo he tuneado un poco y después del drawsegment he añadido

    DRAWARROWDOWN(barindex[1], miRSI[1]) COLOURED(200,0,0)

    para las bajistas, y

    DRAWARROWUP(barindex[1], miRSI[1]) COLOURED(0,200,0)

    para las alcistas.

    Lo de las divergencias ocultas sería un plus. No tengo nivel para esto, pero @Francesco hizo también un gran trabajo con este indicador que sí las incluye: https://www.prorealcode.com/prorealtime-indicators/rsi-classical-hidden-divergences-indicator/

    Saludos y gracias de nuevo por tu aporte.

  9. abhay • 06/14/2018 #

    divergence lines on MACD indicator are not showing. It shows only on Price chart

    • Nicolas • 06/14/2018 #

      Because you have to apply it on the price chart too.

  10. tradingthelife • 06/14/2018 #

    Hay alguna manera de hacer un proscreener para este indicador? Lo he intentado pero no lo consigo.
    Saludos y gracias.

    • franciscojbritop • 06/14/2018 #

      Hola tradingthelife, has tenido suerte encontrando un screener para este indicador? He estado un tiempo largo buscandolo y no logro conseguirlo tampoco. Saludos

    • franciscojbritop • 06/14/2018 #

      Hola Jose7674, Utilizas algun screener para encontrar candidatos que esten mostrando estas MACD divergences mostradas en tu codigo? Saludos

  11. thomas2004ch • 06/14/2018 #

    How can I just draw the latest divergency line? I try the following but no line is drawn.

    for i2=1 to N
    if mimacd[i2]=extremum11[1] then
    zz2=i2

    drawsegment(barindex[1], mimacd[1], barindex[zz2], mimacd[zz2]) coloured(0,200,0)
    endif
    break
    next

  12. thomas2004ch • 06/14/2018 #

    I use the break to get off after the first divergency line is drawn. But this seems not work.

  13. FrancoisB • 06/14/2018 #

    Nice, does anyone know how to show the hidden divergence as well?

  14. tradingthelife • 06/14/2018 #

    Hi friends, any help with a screener for this indicator? Best regards.

  15. Psg91450 • 06/14/2018 #

    Good evening José7674,
    First of all thank you for sharing on the macd. I would like to put an alert on the green and red color changes but I can’t do it. Can you help me and give me the code please.
    Thank you in advance.

  16. Bertone • 06/14/2018 #

    Great job. It really works, especially on the weekly chart.Awesome!! Can it be used as a Screener??

  17. pacorapvalle • 06/14/2018 #

    Gracias por el indicador y me uno a los que han preguntado si hay algun screener.

  18. Jose7674 • 06/14/2018 #

    Intentaré poner el screener está semana

  19. Lily Rios • 06/14/2018 #

    Excelente trabajo Jose, existe algún screener para este indicador?

  20. GUCCI ONE • 06/14/2018 #

    Bonjour, Nicolas. Pourriez-vous m’aider à transformer cet indicateur en screener, svp ? Merci

    • Nicolas • 06/14/2018 #

      disponible ici: https://www.prorealcode.com/topic/divergences-screener/

  21. julien1978 • 06/14/2018 #

    hello to all, i recently discovered this indicator. would it be possible to add the detection of hidden divergences on it? that would be awesome!

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+28 more likes

Related users ' posts
Bateson
5 months ago
MACD Reloaded
MACD Reloaded
2
Indicators
NEOMKEY Nada nuevo
Carlose I love your version of the MACD, if you use it you can get a lot of use out of it, for me ma...
Matriciel Very nice job ! Is it possible to do the opposite because what interests me is to have the ...
YvesRobert Hi Matriciel, how can we do this, because stochastic is limited between 0 and 100 but price ...
Traderfox06 Dear zeiiermantrading, I really like your approach combining adaptive averages with MACD in...
jacquesgermain Hello IASD it's normal , when this occurs, uncheck RSI and MFI line and click then the MAC...
emiliobercial Thank you very much for sharing!
Carlose estoy de acuerdo con IASD Esta muy bien el MAD y el indicador en el precio no se ven bien...
Gianluca Amazing, thank You for your contribution!
Alex Spioglou Thank you for featuring my work, and I hope you found it useful. Mind the paper was publ...
Nicolas
2 years ago
DELBERT Bonsoir , Nicolas , j'ai transféré votre indicateur sur ma PRT 10,3 et j'ai un méssage d'ére...
Nicolas Vous pouvez essayer en remplacant la ligne avec: vwapsd = sqrt(average[lengthz](square(clo...
DELBERT Bonsoir , merci Nicolas , a bientôt .
robertogozzi An updated version can be found here https://www.prorealcode.com/topic/conversion-of-pine-sc...
jissey Bonjour Robertogozzi, cet indicateur est interessant mais serait-il possible de marquer la ...
robertogozzi Sure, but you should start a new topic on the Probuilder support forum. Thank you :)
poldoposta si potrebbe trovare una soluzione per sovrapporlo al prezzo?
robertogozzi Basta che tu clicchi sull'etichetta (tag) PREZZO del grafico (appena sotto l'angolo in alto ...
Nicolas Merci d'ouvrir un sujet dans le forum des screeners en respectant les règles de publication ...
Pensera Bravo Nicolas ! Tu es en quelque sorte l’inventeur de Metascore…(oups je viens de lire jusqu...
Nicolas Dans un but d'investissement pure, et non spéculatif.
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
stephane2.0
4 years ago
stephane2.0 c=exponentialaverage[9](MACDLine[12,26,9](close))
Forexcheckup Hi I down loaded the ITF file, it paints red for a down trend but for all up trends the can...
stephane2.0 line 22: r = 195 by r = 0 line 23: g = 195 by g = 0 line 24: b = 195 by b = 255 ;)
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 ! ;)
phanz Hi ... what are the conditions for buy signal using this indicator? Tks
JJ Tec Hola Las condiciones de entrada / salida vienen en el libro de J. Carter Mastering the trad...
Pixeldd Ich bekomme beim einfügen des Indikators einen Fehler angezeigt. Was bitte muss ich genau än...
Gianluca THANK YOU!!!!!
JOSEBA que relaccion tiene la numeración de las barras del 1 al 10 que tiene cada número Tengo dos...
marcov66 Hi, it seems a very useful indicator. Unfortunately the link here for the full explanation d...
TACBOLSA Discontinued indicator. we are sorry.
Azzuerus Bonjour, je teste et j'utilise vos indicateurs depuis plusieurs années, et ils me sont dev...
Nicolas Il s'agit d'un indicateur compatible avec PRT v11 uniquement. Pour éviter les erreurs de cop...
Sébi Intéressant. Merci pour ce partage Nicolas. L'indicateur ne considère pas les divergences ...
Nicolas ok, pour les divergences chacun voit midi à sa porte je dirai :) Vu qu'il n'y a pas de formu...
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'...
Daniel Martin Hi do you know how have and entry after the second cross? There is crosses below 0 and cross...
jpm380 Merci pour ce super indicateur. Comment puis-je mettre une alerte dès changement dès croisem...

Top