Indikator im Chart

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #102160 quote
    axmichi
    Participant
    Senior

    Hallo zweiter Versuch.

     

    Ich wollte mir mal einen Indikator mit Pfeil und wort im chart anzeigen lassen und dafür den Code erfahren.

    Wie im Bild ersichtlich möchte ich das, wenn der MACD die Nulllinie überquert und der Schlusskurs gestern kleiner ist als der Schlusskurs heute, dann soll mir das im Chart mit einem Pfeil und dem Wort long angezeigt werden.

     

    So wie ich es im Bild nachgestellt habe.

     

    Wie wäre dafür der Code??

     

    Viele Grüße

    axmichi

    Indikator.jpg Indikator.jpg
    #103062 quote
    willi
    Participant
    Master

    Hallo,
     
    das sollte in dann etwa so aussehen:

    if MACDline[12,26,9](close) crosses over 0 then
    DRAWARROWUP(barindex, low * 0.98)coloured(0,255,0)
    DRAWTEXT("LONG", barindex, low * 0.92, dialog,bold, 10)coloured (0,0,255)
    endif
    return

    Gruß Willi

    #103063 quote
    willi
    Participant
    Master

    Hallo,
    hab vergessen, dass close auch noch berücksichtigt werden soll:
    Zeile 1 müsste dann so aussehen

    if MACDline[12,26,9](close) crosses over 0 and close[1] < close

    Gruß Willi

    #103084 quote
    robertogozzi
    Moderator
    Master

    Der Indikator scheint zu tun, was Sie wollen, also … was ist Ihre Frage, wenn überhaupt?

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

Indikator im Chart


ProBuilder: Indikatoren & Custom Tools

New Reply
Author
author-avatar
axmichi @axmichi Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by robertogozzi
6 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indikatoren & Custom Tools
Language: German
Started: 07/08/2019
Status: Active
Attachments: 1 files
Logo Logo
Loading...