Wie verstehe ich das am besten: D(0) HiLo

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #265820 quote
    dkatledkatle
    Participant
    New
    timeframe(daily, updateonclose)
    c2 = dlow(0) < dlow(1) or dhigh(0) < dhigh(1)
    

    wird die Berechnung erst beim Tagesabschluss aktualisiert?


    Für einen Trade am Montag um 09:00 Uhr bedeutet das nach dieser Logik:

    • DLow(0) = Freitag
    • DLow(1) = Donnerstag
    • Die laufende Montagskerze wird nicht neu ausgewertet.

    Entscheidend: Die (0) bezeichnet bei PRT den aktuellen Tag zum Zeitpunkt der Berechnung. Da updateonclose die Berechnung erst beim Tagesabschluss ausführt, bleibt am Montagmorgen das Freitagsergebnis bestehen.


    #265821 quote
    dkatledkatle
    Participant
    New

    Nachtrag. Sonntagskerzen werden über die PRT-Plattformeinstellungen komplett ausgeschaltet

    #265845 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Dieser Code ermöglicht es dir, die Daten vom Sonntag zu ignorieren.

    timeframe(daily, updateonclose)
    n = 0                           //0=include Sunday
    IF OpenDayOfWeek = 1 THEN
       n = 1                        //set to 1 on Monday, so that Sunday is skipped
    ENDIF
    c2 = dlow(n) < dlow(n+1) or dhigh(n) < dhigh(n+1)
    




    Iván González thanked this post
    #265846 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Die Aktualisierung erfolgt bei Kerzenschluss, wenn Sie UpdateOnClose verwenden.


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

Wie verstehe ich das am besten: D(0) HiLo


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
dkatle @dkatle Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
1 week, 3 days ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 10/26/2026
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...