Macd Zéro Retard Code

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #104412 quote
    Sofitech
    Participant
    Master

    Bonjour.
    L’indicateur par défaut Macd Zéro Retard de Prorealtime n’est visiblement pas utilisable pour la création d’une stratégie.
    Est-il possible d’avoir ce code ?

    Merci d’avance de votre aide.

    #104460 quote
    Sofitech
    Participant
    Master

    Je crois avoir trouvé ma propre réponse. Je poste le code ici .

     

    // MACD ZERO LAG
    // p= variable macd zerolag : 12 par défaut
    // q= variable signal : 26 par défaut
    // r= variable macd - signal : 9 par défaut // mettre histogramme
    p = 12
    q = 26
    r = 9
     
    z1=DEMA[p](close)
    z2 =dema[q](close)
    e= z1 - z2
    z3=DEMA[r](e)
    f=z3
    g=e-f
     
    return e AS "MACD ZEROLAG",f AS "signal",g as "macd-signal",0 as "zero"
    Guibourse thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Macd Zéro Retard Code


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Sofitech @sofitech Participant
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by Sofitech
6 years, 7 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 08/08/2019
Status: Active
Attachments: No files
Logo Logo
Loading...