Strategy DayOpen Straddle for DAX

Viewing 15 posts - 196 through 210 (of 242 total)
  • Author
    Posts
  • #104994 quote
    Paul
    Participant
    Master

    @Jaykay   its performance was already questionable in a downtrend. See page 9 and it appeared to be so!

    Green bars and a nice equity curve, even with 100+ trades, don’t bear much meaning if the market changes direction.

    @Stefanb  always nice to see it tested on other markets. You can have surprises!

    Jaykay thanked this post
    #105013 quote
    Magifina
    Participant
    Master

    I think the strategy doesn’t perform well in downtrends because of the value of “entertime” and “lasttime” variables. If you chose a different time like 21 o’ clock it will be the opposite. It will perform in downtrends but not in uptrends.

    Paul thanked this post
    #105027 quote
    winnie37
    Participant
    Veteran

    Modified the code a bit and tested it on USA 500 with timeframe 30 sec and spread 1.6.

    You have very little data in 30 sec, but the graph looks interesting.

     

    someone could test with a larger period?

    MODERATORS EDIT: Excessive amount of unnecessary quoted code removed. Please avoid quoting large amounts of code in your replies.

    #110704 quote
    Gubben
    Participant
    Senior

    Since running variants of this in both demo and live I’ve had the feeling that the dax daily open has a strong tendency to fool this strategy the first minute about which direction things will go.

    I have tested to run ‘once entertime = 090200’ instead of ‘090000’ and since 30 september G/L of this version has been 3.82, (same profitability both long and short) compared to backtest of ‘090000’ version which gives 1.73 G/L and losing on short positions.

    I haven’t studied this strategy deeply so maybe I am missing something and how it could impact the strategy performance over time.

    Any thoughts?

    dax-open-090200.png dax-open-090200.png dax-open-090200-1.png dax-open-090200-1.png
    #110755 quote
    Silvia Brugnolaro
    Participant
    Veteran

    You try with ‘once entertime=090000’ and timeframe=2 minute

    #110758 quote
    Gubben
    Participant
    Senior

    Actually I tried with 1 minute. No change there. Or is that a suggestion?

    #110759 quote
    Gubben
    Participant
    Senior

    You try with ‘once entertime=090000’ and timeframe=2 minute

    OK I see what you mean now. It doesn’t quite give the same results since 30 september.

    #110809 quote
    Silvia Brugnolaro
    Participant
    Veteran

    You have to test a system over a longer period: set up 100,000 units (x units)

    MODERATORS EDIT: I have deleted your accidental identical post in the other forum.

    Gubben thanked this post
    dayopen_1m-1.png dayopen_1m-1.png dayopen_2m-1.png dayopen_2m-1.png
    #115725 quote
    Paul
    Participant
    Master
    #116235 quote
    midel
    Participant
    Senior

    Good evening,
    I have backtested your strategy for the last 6 months of 2019: it looks promising!

    What were the real results for the first 6 months of 2019 and previous years?

    #116644 quote
    funkystuff
    Participant
    Average

    Hi guys !

    impressive results with this strategy !
    Can I have a consideration that may improve the results ?
    With my poor 100k of backtest, I have the impression by watching on higher timeframe H1 that we manage to decrease the losses?
    Explanation : with each losing trade, i saw (in H1) the 9 o’clock candle closes in the wrong direction of the position. But the reverse works almost all the time.

    I’m sorry to ask but I’m bad in programming !
    Is it possible to add a position closure if the 9 o’clock candle H1 closes in the wrong direction?

    thank you so much and thanks to your jobs 😉

    #116713 quote
    Paul
    Participant
    Master

    @funkystuff

    Thanks for the suggestion!

    on top:

    defparam cumulateorders = false
    defparam preloadbars = 10000
    
    TIMEFRAME (default)

    next above entry

    // added suggestion funkystuff
    TIMEFRAME (1 hour, updateonclose)
    
    once toggle1=1
    
    if toggle1 then
    if intradaybarindex=9 then
    if longonmarket then
    if close<open then
    sell at market
    endif
    endif
    if shortonmarket then
    if close>open then
    exitshort at market
    endif
    endif
    endif
    endif
    TIMEFRAME (default)
    #116726 quote
    funkystuff
    Participant
    Average

    Arrfff I was wrong… 🙁
    However I was convinced !! Damn it !

    Really thanks Paul and sorry to lose your time

    #116795 quote
    Francesco
    Participant
    Veteran

    I tried to add a breakeven function at the code on 3 min timeframe, and these are the results of the last month.

    test.jpg test.jpg
    #116805 quote
    Paul
    Participant
    Master

    @funkystuff np! I that’s why I post them, to get new ideas.

    @Francesco Petrone Looks nice but it needs more data to test. Can you post the code or adjustments?

Viewing 15 posts - 196 through 210 (of 242 total)
  • You must be logged in to reply to this topic.

Strategy DayOpen Straddle for DAX


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Paul @micky75d Participant
Summary

This topic contains 241 replies,
has 39 voices, and was last updated by Monobrow
5 years, 1 month ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/04/2018
Status: Active
Attachments: 100 files
Logo Logo
Loading...