Dax Pivot

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #54326 quote
    RobertNoeh
    Participant
    New

    Hallo Traderfreunde, ich bin neu im Forum und habe gleich eine Frage. Ich habe in prt diesen code geschrieben

    // Festlegen der Code-Parameter
    DEFPARAM CumulateOrders = False // Kumulieren von Positionen deaktiviert

    // Bedingungen zum Einstieg in Long-Positionen
    indicator1 = (DHigh(1) + DLow(1) + DClose(1))/3
    c1 = (close CROSSES UNDER indicator1)

    IF c1 THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF

    // Bedingungen zum Einstieg in Short-Positionen
    indicator2 = (DHigh(1) + DLow(1) + DClose(1))/3
    c2 = (close CROSSES OVER indicator2)

    IF c2 THEN
    SELLSHORT 1 CONTRACT AT MARKET
    ENDIF

    // Stops und Targets
    SET STOP pLOSS 15
    SET TARGET pPROFIT 25.5

    Ich möchte, dass zwischen zwei ausgeführten trades, mindestens 2 Stunden zeit vergehen, ausserdem möchte ich, dass der kurs den Pivot nicht über/unterkreuzt, sondern nur berührt und die order dann ausgeführt wird. kann mir jemand einen tipp geben, was ich in dem code ändern muss? vielen dank

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Dax Pivot


ProOrder: Automatischer Handel & Backtesting

New Reply
Author
author-avatar
RobertNoeh @robertnoeh Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProOrder: Automatischer Handel & Backtesting
Language: German
Started: 11/29/2017
Status: Active
Attachments: No files
Logo Logo
Loading...