Dax adaptable strategy Breackout/Mean reversion

Viewing 15 posts - 1 through 15 (of 83 total)
  • Author
    Posts
  • #32957 quote
    Francesco78
    Participant
    Master

    Dear all

    I have elaborated a little over an  idea originally posted in the forum by Bjoern posted as True Range Breakout EUR/USD.

    I applied to the Dax with the additional feature of switching from a breackout to a mean reversion strategy depending on some optimized value of the ADX indicator.

    The strategy is a breackout strategy when the adx is above a certain value and a mean reverting strategy when ADX value is below that same value.

    I have optimized it on several time frame and the results look quite promising, it would be great if someone think of a better way of discriminate between range trading vs trending phases.  I have used the  popular ADX indicator, but I am sure there are more efficient way to look at phase transictions in market.

    The results for different time frames are attached, together with the 30minutes code.

    Best Regards

    Francesco

    Nicolas, Henrik, GraHal and TheAccountant thanked this post
    Dax30minMNandBreak.itf dax_30min.png dax_30min.png dax_1hr.png dax_1hr.png dax_15mins.png dax_15mins.png
    #32999 quote
    reb
    Participant
    Master

    Hi Francesco

    Your strat seems very interesting.  I see 2 points about it :

    • For the moment there isn’t any SL which can be a bit risky
    • although the strat is active between 8 and 21h, you put a spread of 1pt. It inflates the results a bit. During 8 and 9 / 17h30 and 21, the stread by IG is 2pts

    I ‘ll post a 200K backtest tonight or tom

    Reb

    #33002 quote
    Nicolas
    Keymaster
    Master

    The strategy has been reviewed and it is now available in the library: https://www.prorealcode.com/prorealtime-trading-strategies/dax-adaptable-strategy-breakoutmean-reversion/

    #33026 quote
    Francesco78
    Participant
    Master

    Thank you Nicolas,

    Reb: Regarding SL I agree they can be set in order to reduce the risk but I decided to avoid SL and Take profit because

    1. the condition to be flat at the end of every trading day is already a good risk mitigant
    2. the back test worsen if I add sl and tp and furthermore will be dependant of 2 more variables, since there are already many variables to be settled through optimization I wanted to limit the risk of overfitting.
    3. I have listened to an interview with the  trader Tomas Nesnidal   https://www.youtube.com/watch?v=X424q0Dv_0g. Apparently his main focus are breakout strategies and he said that in his experience is generally better to set exit strategy at the end of the day than set SL

    Regarding the spreads you are absolutely right.

    Many thanks for your comments and for your help with the 200k backtest

    #33033 quote
    Nicolas
    Keymaster
    Master

    A wide stoploss to avoid flash crash would probably reassure a lot of people. In France and I think in England too, now when you open a new trading account, you can’t add any order on market without any stoploss.

    #33044 quote
    Francesco78
    Participant
    Master

    I agree Nicolas

    #33107 quote
    victormork
    Participant
    Veteran

    Hi! Have you tried this strategy on any forex pairs?

    #33109 quote
    Francesco78
    Participant
    Master

    Hello Victor, It works for EUR/USD, I tried USD JPY and GBP USD but no luck for those, would be great if someone could find other suitable currency pair

    Regards

    Francesc

    ALE and victormork thanked this post
    #33114 quote
    Elsborgtrading
    Participant
    Veteran

    I agree with Nicolas. Always use SL- if it breaks your strategy then widen it. It will save you on flash crashes or any other unforeseen marked changes. And again It will also in the end shows your RR and you can decide if it actually a good strategy in the future and not only in back test. A MM is also available to be implemented is SL is set.

    We still are waiting for guaranteed SL in PRT so we can be even more secure.

    Cheers Kasper

    #33133 quote
    Maz
    Participant
    Veteran

    In production environment I would rarely have the same bot look for longs and shorts. If a strategy looks for both longs and shorts it is divided into a long and short sub-version. In the case of this system it would solve the stop-loss problem.

    Whilst the long version might go long and stay long during a crash, the short version would have found a short entry soon after increase of downward momentum. So overall you would have been market-neutral (net-zero) exposed for the remainder of the day.

    All the best,

    Maz

    manel and Francesco78 thanked this post
    #33136 quote
    Francesco78
    Participant
    Master

    Thanks Maz, I see what you mean and it sounds very clever.

    #33214 quote
    reb
    Participant
    Master

    Here is Francesco

    toto-1.jpg toto-1.jpg
    #33222 quote
    Francesco78
    Participant
    Master

    Thanks a lot Reb!

    Looks like is a specific strategy for the last couple of years..

    Francesco

    #33246 quote
    StantonR
    Participant
    Senior

    HI All

    Awesome strategy really like it. Just one question is the minimum contract size for dax not 2 on the IG network?

    #33248 quote
    Francesco78
    Participant
    Master

    Thank you StantonR, glad that you liked it! No here where I trade (italy) the minimum size is 1 per point…

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

Dax adaptable strategy Breackout/Mean reversion


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 82 replies,
has 13 voices, and was last updated by xburrex
5 years, 2 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/22/2017
Status: Active
Attachments: 26 files
Logo Logo
Loading...