Frage nach Ausstieg

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #200040 quote
    axmichi
    Participant
    Senior

    Hallo,

     

    dieser Code steigt aus wenn es nach der Zeit 20:00 Uhr ist

    IF OnMarket AND Dayoweek = 3 and (Time >= 200000)  THEN   
       SELL AT MARKET
    ENDIF
    Wie muss der Code heißen wenn ich um 20 Uhr aussteigen will, aber nur wenn der Trade im Gewinn ist, sonst Ausstieg erst um 21:45 Uhr ?
    Vielen Dank!!
    #200041 quote
    robertogozzi
    Moderator
    Master

    fertig:

    IF OnMarket and (((Time = 200000) and (PositionPerf > 0)) or  (Time = 214500)) THEN
       SELL AT MARKET
    ENDIF
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Frage nach Ausstieg


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
axmichi @axmichi Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
3 years, 5 months ago.

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