ZigZag_MACDCandle – indicateur mql5

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #182912 quote
    Ybr35
    Participant
    Junior

    Bonjour,

    Je suis tombé sur cet indicateur très intéressant pour la confirmation de tendance mais sur Meta trader 5 apparemment. Le langage est-il différent de MT4?

    https://www.mql5.com/en/code/16605

    Merci par avance pour vos retours.

    picture__17.png picture__17.png
    #182918 quote
    Nicolas
    Keymaster
    Master

    Oui le langage est un peu différent.

    Cet indicateur c’est un simple zigzag appliqué à un MACD (qui est tracé en forme de bougie avec des EMA appliquées sur les OHLC).

    Le zigzag repeint évidemment, très jolie sur l’historique, mais en temps réel les points hauts et bas peuvent changer très souvent.

    #182919 quote
    Ybr35
    Participant
    Junior

    Merci pour ta réponse Nicolas. Effectivement, les indicateurs zigzag repeignent. Serait-il possible de ne conserver que le MACD en bougies?

    #182924 quote
    Nicolas
    Keymaster
    Master

    Voilà le MACD version bougies comme dans l’indicateur de base :

    oo = MACD[12,26,9](open)
    oh = MACD[12,26,9](high)
    ol = MACD[12,26,9](low)
    oc = MACD[12,26,9](close)
    
    drawcandle(oo,oh,ol,oc)
    
    return 0 coloured(168,168,168) style(dottedline)
    macd-candlesticks.png macd-candlesticks.png
    #182959 quote
    Ybr35
    Participant
    Junior

    Super merci!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

ZigZag_MACDCandle – indicateur mql5


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Ybr35 @ybr35 Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by Ybr35
4 years, 3 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 12/06/2021
Status: Active
Attachments: 2 files
Logo Logo
Loading...