MACD Platinum

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #56168 quote
    Frank LemkeFrank Lemke
    Participant
    Junior

    hallo vielleicht kann mir jemand helfen .

    Ich möchte der MACD Platinum von nicolas so programieren das er mir die signale als pfeil im chart anzeit long und short richtung nur leider fehlt mir die kenntnis dazu.

     

    mfg frank

    #56195 quote
    NicolasNicolas
    Keymaster
    Legend

    Ich kann Ihnen helfen, Signale mit dem MACD Platinum-Indikator zu generieren, aber könnten Sie mir bitte besser erklären, welche Signale Sie daraus erhalten möchten?

    #56206 quote
    JohnScherJohnScher
    Participant
    Veteran

    Ich habe das so gelöst

     

    //PRC_MACD Platinum | indicator
    //29.09.2016
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    // --- settings
    short = 12
    long = 26
    signal = 9
    // --- end of settings
    EMAshort1 = exponentialaverage[short](close)
    EMAshort2 = exponentialaverage[short](EMAshort1)
    DifferenceShort = EMAshort1 - EMAshort2
    ZeroLagShort = EMAshort1 + DifferenceShort
    EMAlong1 = exponentialaverage[long](close)
    EMAlong2 = exponentialaverage[long](EMAlong1)
    DifferenceLong = EMAlong1 - EMAlong2
    ZeroLagLong = EMAlong1 + DifferenceLong
    ZeroLagMACD = ZeroLagShort - ZeroLagLong
    signal1=ExponentialAverage[signal](ZEROLAGMACD)
    signal2=ExponentialAverage[signal](signal1)
    DIFFERENCE2=signal1-signal2
    SignalMACD=signal1+DIFFERENCE2
    IF time >= 080000 and time<=210000 Then
    if signalMACD >= zerolagMACD and zerolagMACD crosses under signalMACD then
    drawarrowdown(barindex,high +4*pointsize)coloured(54,224,208)
    Endif
    If signalMACD <= zerolagMACD and zerolagMACD crosses over signalMACD then
    drawarrowup(barindex,low-4*pointsize) coloured (54,224,208)
    Endif
    Endif
    RETURN
    
    Nicolas thanked this post
    #56207 quote
    Frank LemkeFrank Lemke
    Participant
    Junior

    hallo ich möchte wenn der MACD ein signal anzeigt das es im Preischart über den Balken sichtbar wird als Pfeil.

    #56209 quote
    Frank LemkeFrank Lemke
    Participant
    Junior

    Danke JohnScher👍 das wirklich top

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

MACD Platinum


ProBuilder: Indikatoren & Custom Tools

New Reply
Author
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by Frank LemkeFrank Lemke
8 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indikatoren & Custom Tools
Language: German
Started: 12/20/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...