Einstieg jede Stunde neu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #188626 quote
    axmichi
    Participant
    Senior
    DEFPARAM Preloadbars = 200
    DEFPARAM CumulateOrders = False
    Positionsize = 1
    
    
    c2 = time= 090000
    c4 = time =100000
    c5 = time =110000
    c6 = time =120000
    c7 = time =130000
    c8 = time =140000      
    c8 = time =150000
    
    
    IF c2  or c4 or c5 or c6 or c7 or c8 THEN
    BUY Positionsize SHARES AT MARKET
    ENDIF
    
    
    exit2 = time=100000
    exit3 = time=110000
    exit4 = time=120000
    exit5 = time=130000
    exit6 = time=140000
    exit7 = time=150000
    exit8 = time=160000
    
    If  exit2   or exit3 or  exit4 or exit5 or  exit6 or exit7 or exit8 THEN
    sell at market
    ENDIF
    

    Hallo,

     

    ich wollte mit diesen Code testen in welcher Stunde am meisten Bewegung drin ist.

    leider werden nur Trades von 09 – 10 Uhr gemacht. Ich hatte schon if not long onmarket rausgenommen.

    Warum werden die zeiten nach 10 Uhr nicht gehandelt?

    Das selbe wollte ich noch auf dem 5 Minuten Chart machen für 5 Minuten Kerzen

    Danke und gruß

    #188641 quote
    Nicolas
    Keymaster
    Master

    Da Sie in beiden Fällen die Schlusszeit der Kerze vergleichen, sollten Sie die Eröffnungszeit mit offenen Aufträgen und die Zeit zu deren Schließung vergleichen.

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

Einstieg jede Stunde neu


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 Nicolas
3 years, 11 months ago.

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