Frage nach Ausstieg

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #200040 quote
    axmichiaxmichi
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
4 years ago.

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