Division durch Null

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #189185 quote
    SuffiSuffi
    Participant
    Junior

    Bei meinen Handelssysten bekomme ich einmal am Tag (ca 7:00 Uhr) den Hinweis es gestppt wurde, wegen einer Divison durch Null.
    Wenn ich das HS wieder Starte läuft es durch bis zum nächsten Tag um dann wieder um die gleiche Uhrzeit wieder gestoppt zu werden.
    Die Backtest verlaufen ohne jeden Hinweis sauber durch.
    Aus dem Hinweis geht auch hervor, dass man schutzmaßnahmen hinzufügen kann.
    Wie sehen diese aus?

    Kann mir hier jemand helfen?

    Gruß
    Suffi

    Div-durch-Null.jpg Div-durch-Null.jpg
    #189190 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Sie können überprüfen, ob zu diesem Zeitpunkt leere Kerzen vorhanden sind oder ob kein Volumen vorhanden ist (wenn Sie Volumen verwenden).

    #189808 quote
    SuffiSuffi
    Participant
    Junior

    Hallo Roberto,

    sorry, das ich mich erst jetz melde, hatt aber keine Zeit.
    Ich habe eine Abfrage eingefügt

    
    IF ABS(high-low)   = 0 THEN
    hiLow   = 1
    ELSE
    hiLow = ABS(high-low)
    ENDIF

    Jetz funktioniert es, danke für deine Unterstützung.

    Gruß
    Suffi

Viewing 3 posts - 1 through 3 (of 3 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

Division durch Null


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
Suffi @suffi Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by SuffiSuffi
4 years, 6 months ago.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 03/02/2022
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...