Indikator im Chart

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #102160 quote
    axmichiaxmichi
    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
    williwilli
    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
    williwilli
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
7 years, 1 month ago.

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