Horizontale Linie letztes Tief minus 3ATR

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

    Kann mir jemand helfen?

    Ich möchte eine horizontale Linie zeichne, die sich dem letzten Tagestief minus 3ATR  anpasst.

    Ist so etwas möglich?

    Danke.

    #8721 quote
    NicolasNicolas
    Keymaster
    Legend

    Ja, es ist möglich, diese Linie mit diesem Code zu ziehen:

    line = DLOW(1)-3*averagetruerange[14]
    
    RETURN line

    Aber dieser Indikator wird die ATR aus dem aktuellen Zeitrahmen verwenden. Haben Sie ATR wollen stattdessen von der täglichen Zeitrahmen zu benutzen?

    #8758 quote
    mabro51mabro51
    Participant
    Junior

    Danke Nicolas.

    Aber ich dachte an eine horizontale Linie über den ganzen Chart vom letzten Wert.

    #8763 quote
    NicolasNicolas
    Keymaster
    Legend

    Ich habe den Code ein wenig geändert, und es gibt mir diese Zeile auf Diagramm:
    (Ohne ATR) tun Sie ATR aus der täglichen Zeitrahmen zu subtrahieren wollen?

    line = DLOW(1)
    
    RETURN line
    yesterday-low-minus-3-atr.png yesterday-low-minus-3-atr.png
    #8767 quote
    mabro51mabro51
    Participant
    Junior

    Danke für die Hilfe. Es hat mich zu folgendem Code angeregt:

    // a = Tagestief minus 3 ATR
    a = Low – (AverageTrueRange[14](close) * 3 )
    b = highest[50](a)
    Return a, b  as “Tagestief-3ATR”
    Grüsse und ein schönes Wochenende.
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

Horizontale Linie letztes Tief minus 3ATR


ProBuilder: Indikatoren & Custom Tools

New Reply
Author
author-avatar
mabro51 @mabro51 Participant
Summary

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

Topic Details
Forum: ProBuilder: Indikatoren & Custom Tools
Language: German
Started: 06/03/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...