Nur 1 Trade pro Tag

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9693 quote
    mabro51
    Participant
    Junior

    Guten Tag,

    ich brauche nochmals Hilfe.

    Ich möchte den Ausbruch aus der 1. Handelsstunde traden. Aber nur einmal pro Tag.

    Leider komme ich mit meinem Code nicht ganz zum Ziel.

    Vielen Dank für jede Hilfe.

    Mein Code:

    DEFPARAM CumulateOrders=False
    DEFPARAM FLATBEFORE = 160000
    DEFPARAM FLATAFTER = 214500
     
    a = INTRADAYBARINDEX
     
    IF a = 3 THEN
    hoch = highest[4](high)
    tief = lowest[4](low)
    diff = hoch - tief
    entrylong = hoch + (diff * 0.1 )
    exitkauf = hoch + (diff * 0.9)
    // entryshort = tief - (diff * 0.1)
    // deckungshort = tief - (diff * 0.9)
    ENDIF
     
    anzahl = 100
    // Long  Entry
    IF a > 3 AND NOT LONGONMARKET  THEN
    BUY anzahl Shares AT entrylong STOP
    ENDIF
     
    // Long  Exit
    IF LONGONMARKET AND HIGH >= exitkauf THEN
    SELL anzahl Shares AT exitkauf STOP
    ENDIF
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Nur 1 Trade pro Tag


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
mabro51 @mabro51 Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 06/22/2016
Status: Active
Attachments: No files
Logo Logo
Loading...