DAX DAYLY: system that works.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #233954 quote
    discomusic
    Participant
    Junior

    I am monitoring followin system, which seems tu make gains.

    There is but something in the code which impedes to active the automatic orders in Prorealtime. Could someone help me kindly to understand which is the problem?

    Many thanks in advance!!

    lorenzo

    DEFPARAM CumulateOrders = false

    Timeframe(Daily,UpdateOnClose)
    DDhigh = high
    DDlow = low
    Timeframe(default)
    IF OnMarket AND DDhigh <> DDhigh[1] THEN
    SELL AT Market
    EXITSHORT AT Market
    ENDIF
    IF close < DDhigh AND Not LongOnMarket THEN
    BUY 1 CONTRACT AT DDhigh STOP
    ENDIF
    IF close > DDlow AND Not ShortOnMarket THEN
    SELLSHORT 1 CONTRACT AT DDlow STOP
    ENDIF
    set stop ploss 80
    set target pprofit 40

    #234033 quote
    robertogozzi
    Moderator
    Master

    I tested it on DAX, 1-hour TF and it works like a charm, both in Backtesting (it regularly opens and closes trades) and Autotrading (started without any issue).

    No errors reported.

    #234035 quote
    GraHal
    Participant
    Master

    Works fine for me also … no errors, nothing weird happens as I can see.

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

DAX DAYLY: system that works.


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
discomusic @discomusic Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by GraHal
1 year, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/17/2024
Status: Active
Attachments: No files
Logo Logo
Loading...