Strategy DayOpen Straddle for DAX

Forums ProRealTime English forum ProOrder support Strategy DayOpen Straddle for DAX

Viewing 15 posts - 136 through 150 (of 242 total)
  • #102062

    Too bad! But perhaps there’s a better way then I coded.

    Will post back soon. In the meantime, did you change the values nopl/nops 2 and 14 or made other modification?

    #102063

    It’s a problem I experienced earlier, especially when you have the values nopl/nops both low.

    Criteria for long and short can both be true and at the same bar.

    I removed the workaround. Another permanent fix is using “crosses over/under”.

    1 user thanked author for this post.
    #102064

    This code uses trailing stop. I’am working on a bollingerband exits as alternative.

    It’s coming on nicely. This is with a disabled trailing stop on the V2.

    #102105

    Nice; could you post it soon?

    #102106

    no, no values changed…

    #102109

    sure, it’s about the same concept as in the other strategy.

    normally I use 1% stoploss, but 0.5% worked too.

    goodluck

     

    1 user thanked author for this post.
    #102124

    A bit lost in the codes, sorry?. Could you post the entire code with BB? A favorite one for you/compared on 200k? Thanks for your kindness 🙂

    1 user thanked author for this post.
    #102151

    Hi Paul,

    i was wondering if we could add this feature, with “fake orders” under the mean, and if it would be a good way to improve the strategy?

    https://www.prorealcode.com/blog/learning/how-to-improve-a-strategy-with-simulated-trades-1/

    Im’ not strong enough to code it, with our strategy….Would you be able to test iit?

    Another idea, maybe we could avoid losses when the gain is closed under its medium boll? And take news trades only when the opening of a new trade is opened above its medium boll, to follow the trend.

     

    #102158

    @winnie37 Thnx for the link.

    Here’s the difference with the code from above.

    Bollinger exit v2 vs trailing stop exit v1.

    I will review the code v2 and post it later. Both exits have their strengths.

    2 users thanked author for this post.
    #102172

    Thanks Paul. What do you think about the idea around the mean of gains, with “fake order”? Very nice on the paper, but no idea if it could really improve our results…

    #102175

    @winnie37 Thnx for the link.

    Here’s the difference with the code from above.

    Bollinger exit v2 vs trailing stop exit v1.

    I will review the code v2 and post it later. Both exits have their strengths.

    I suppose it’s the lastest postion on this morning on the screen you posted. I took it with a large potential gain, which has been strongly reduced at the close. On your v2, it seems not to be the case. Surely, both have their strenghs, avantages and inconvenients…

    #102258

    @winnie37

    I tried your link & to insert the code in the strategy. Only focused on PT&SL

    It created an infinite loop and didn’t work. At the moment I will leave it at that, perhaps I will ‘ve a look later on again.

    The strategy is supposed to do only one trade a day.

    About the closing tip, you could try to adjust the bb strategy. Hopefully you find an exit with better results.

    1 user thanked author for this post.
    #102269

    v3

    a few changes;

    • slightly changed the way it goes to market
    • expanded holidays
    • exit if position is hold overnight into a holiday
    • add bollingerband exits
    • add trend safety exit flexibility

    note

    • only bb, no ts, potential profit >=0.35 can turn into loss
    • only ts, no bb, potential profit >=0.35 can turn to breakeven

    safest is to combine both.

    2 users thanked author for this post.
    #102283

    @winnie37

    I tried your link & to insert the code in the strategy. Only focused on PT&SL

    It created an infinite loop and didn’t work. At the moment I will leave it at that, perhaps I will ‘ve a look later on again.

    The strategy is supposed to do only one trade a day.

    About the closing tip, you could try to adjust the bb strategy. Hopefully you find an exit with better results.

    thanks for the quick test. The idea of creating ineffective orders below the average of the gains seems to me good to take position only in trend of good average performance. The concept seems good to me. Tell me in the future if you want to work on it, if you have time. Thank you in any case for your precious help!

     

    #102286

    v3

    a few changes;

    • slightly changed the way it goes to market
    • expanded holidays
    • exit if position is hold overnight into a holiday
    • add bollingerband exits
    • add trend safety exit flexibility

    note

    • only bb, no ts, potential profit >=0.35 can turn into loss
    • only ts, no bb, potential profit >=0.35 can turn to breakeven

    safest is to combine both.

    It sounds good! A compared test on 200K?

Viewing 15 posts - 136 through 150 (of 242 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login