Stop Price vs. Target Price

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #212658 quote
    Suffi
    Participant
    Junior

    Hallo
    ich habe folgende Funktion gesetzt bei
    DEFPARAM CumulateOrders = true

    set stop price (POSITIONPRICE – sl) //Bsp. Long  sl=100

    funktioniert bestens.
    Jetzt das Gleiche für den Profit

    set target price (POSITIONPRICE + tp) //Bsp. Long  tp=100

    funktioniert nicht. Gibt es diese Funktion nicht?

    Gruß
    Suffi

    #212721 quote
    GraHal
    Participant
    Master

    Kursziel setzen (POSITIONPRICE + tp) //Bsp. Lange tp=100

    Oben wird der Wert von 100 für tp „auskommentiert“ / vom Code nicht gelesen, da er sich in derselben Codezeile wie // befindet.

    Ist tp an anderer Stelle im Code definiert, wo tp nicht auskommentiert ist?   

    #212874 quote
    Suffi
    Participant
    Junior

    Hallo GraHal,
    der TP ist an richtig definiert, genauso der sl es sollte hier ein //Beispiel genannt werden, wie es nicht fuktioniert.

    Die Frage ist eigentlich gibt es den Befehl

    “set target price ”
    wenn
    DEFPARAM CumulateOrders = true

    So wie ich nachlesen konnte funktioniert der

    set Breakeven
    nicht wenn
    DEFPARAM CumulateOrders = true

    Gruß
    Suffi

    #212893 quote
    GraHal
    Participant
    Master

    Kursziel setzen (POSITIONPRICE + tp) //Bsp. Lange tp=100
    funktioniert nicht.

    Überprüfen Sie Ergebnisse mit POSITION PRICE, die wie im Link unten definiert sind?

    https://www.prorealcode.com/documentation/positionprice/  

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

Stop Price vs. Target Price


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
Suffi @suffi Participant
Summary

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

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 04/02/2023
Status: Active
Attachments: No files
Logo Logo
Loading...