Entry bei 2%

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

    Hakllo,

     

    ich suche eine Code wie folgt

    Einstieg long wenn schlusskurs um 20 Uhr 2 % höher ist als der Schlusskurs der Kerze 15:35 Uhr

    Ausstieg um 21:45 <hr

    Ich möchte nur einen Trade am tag

     

    Vielen Dank

    #202931 quote
    robertogozzi
    Moderator
    Master

    Hier ist es:

    IF OpenTime = 153500 THEN
       MyPrice = close
    ENDIF
    IF OpenTime = 200000 AND (close > (MyPrice * 1.02)) THEN
       BUY 1 Contract AT Market
    ENDIF
    IF LongOnMarket AND Time = 214500 THEN
       SELL at Market
    ENDIF
    #202933 quote
    axmichi
    Participant
    Senior

    Danke sehr!!!

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

Entry bei 2%


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
axmichi @axmichi Participant
Summary

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

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