FRactal DAX 30 tick

Viewing 15 posts - 1 through 15 (of 37 total)
  • Author
    Posts
  • #64230 quote
    JR1976JR1976
    Participant
    Veteran

    In prorealtime is not possible to start in real  with 30 tick  …

    DEFPARAM CumulateOrders = false
    defparam flatafter = 210000
    defparam flatbefore = 083000
    ///BILL WILLIAM FRACTAL INDICATOR
    //CP=PERIOD
    CP=28
    if close[cp] >= highest[2*cp+1](close) then
    LH = 1
    else
    LH=0
    endif
    if close[cp] <= lowest[2*cp+1](close)  then
    LL= -1
    else
    LL=0
    endif
    if LH=1 then
    HIL = close[cp]
    endif
    if LL  = -1 then
    LOL=close[cp]
    endif
    
    
    Positionsize=1
    
    
    if (time >=090000 and time < 092000) then
    
    C1 = (close CROSSES OVER HIL)
    D1 = (close CROSSES UNDER LOL)
    IF c1  and not shortonmarket THEN
    BUY positionsize CONTRACT AT market
    tp=40
    
    ENDIF
    
    IF D1   and not longonmarket THEN
    SELLSHORT positionsize CONTRACT AT market
    tp=40
    
    ENDIF
    ENDIF
    
    set stop ploss 96
    
    set target pprofit tp
    #64232 quote
    GraHalGraHal
    Participant
    Master

    I’m confused what you are asking, but below is what I get with DAX @ 30 tick … is it any help?

    And with 30 Seconds! 🙂

    JR-1.jpg JR-1.jpg JR-2.jpg JR-2.jpg
    #64235 quote
    JR1976JR1976
    Participant
    Veteran

    Thanks an advance for your reply

    The equity with 30tick is different for me , i attach the image as soon

    #64237 quote
    EricEric
    Participant
    Master

    Tickbars works fine in backtest  but not in proorder

    you can do semi-automatic trading with tickbars by using alerts

    #64239 quote
    JR1976JR1976
    Participant
    Veteran

    Thansk ERIC ,

    Just to  alignment  my backtest  enclosed

    FRACT-ZIG-DAX.png FRACT-ZIG-DAX.png
    #64242 quote
    EricEric
    Participant
    Master

    GraHal strange?

    I get exactly the same result as JR1976 on 30 tick

    i tested also 30 second and from 23 feb  its almost the same as with 30 ticks (problem is that history is to short to test on)

    #64243 quote
    EricEric
    Participant
    Master

    just remember that tickbars has nothing to do with time

    if markets move fast a tickbar builds up fast and if markets move slow its take longer time

    #64245 quote
    GraHalGraHal
    Participant
    Master

    Well here you are … I did same check @ 30 ticks over 100,000 bars and this time on CFD / DAX 30 Cash (£1) sh should be the same as yours??

    Also on 30 Sec CFD / DAX Cash (£1). Both attached are with a spread of 2, but even with spread = 0 it makes not much difference anyway.

    Anybody offer any reasons for the difference??

    Thanks
    GraHal
    PS  JR’s equity curve looked that good I assumed he must have been running it with the tick by tick box selected ! 🙂

    PPS Now I know why I’m not making any money!!!!!!!!!!!! 🙂 🙂 🙂

    JR-3.jpg JR-3.jpg JR-4.jpg JR-4.jpg
    #64249 quote
    GraHalGraHal
    Participant
    Master

    PS above should have read … JR’s tick by tick box NOT selected 🙂

    #64250 quote
    EricEric
    Participant
    Master

    maybe its something to do with time?

    #64251 quote
    GertradeGertrade
    Participant
    Veteran

    maybe its something to do with time?

    I worked on your strategy on the DAX and I give you below the v1.01.
    I got much better results on the DJI and I give you below the v1.01.

    Eric thanked this post
    William-Fractal-28s-DAX.v1.01.itf William-Fractal-28s-DJI.v1.01.itf
    #64260 quote
    JR1976JR1976
    Participant
    Veteran

    I confirm tick by tick  has been selected

    #64261 quote
    JR1976JR1976
    Participant
    Veteran

    I set-up the spread at 1 ,  this should be the different in the equity  .

    set up the spread at 1  and let me know

    Will be interest to check with more backtest histrory

    thanks

    FRACT-ZIG-DAX-1.png FRACT-ZIG-DAX-1.png
    #64268 quote
    GraHalGraHal
    Participant
    Master

    Aha … I need to move to Sweden / Italy then I make money!!!!!!!! 🙂 🙂

     

    I get same as you now when I change times  below by – 1 Hour (you are UCT +1 and I am UCT + 0 )

    defparam flatafter = 200000
    defparam flatbefore = 073000

     

    if (time >=080000 and time < 082000) then
    JR-6.jpg JR-6.jpg
    #64290 quote
    AloysiusAloysius
    Participant
    Veteran

    Sorry to be as always the bad news messenger with my 200,000 bars backtests but it seems that there is an over-optimisation in the tested period…

    GraHal thanked this post
    Capture2.jpg Capture2.jpg
Viewing 15 posts - 1 through 15 (of 37 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

FRactal DAX 30 tick


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
JR1976 @jr1976 Participant
Summary

This topic contains 36 replies,
has 7 voices, and was last updated by JR1976JR1976
8 years, 6 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/02/2018
Status: Active
Attachments: 16 files
ProRealCode ProRealCode
Loading...