Open Range Breakout DAX 5/15M

Open Range Breakout DAX 5/15M

Hi guys,

Open range breakout systems are very popular. They are simple and reliable with volatile instruments like the DAX. I trade the ORB together with the equity curve because as all breakout systems they could have some ugly drawdown phases. These concept is very easy and is described perfectly here in the Blog. Add to the equity curve a simple moving average and trade only if the curve is above the MA could help to avoid ugly losses.

I want to share an easy ORB strategy works profitable in M5 and M15 – this is not a big thing but maybe helpful for some PRT beginners.

have fun

Reiner

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. avatar
    Anonymous • 06/10/2016 #

    dOES IT PERFORM WELL ALSO ON OTHER IDEX?
     

    • Reiner • 06/10/2016 #

      I have tested only the DAX

  2. Hockeytrader • 06/10/2016 #

    Hey Reiner. Been reading and testing the code tonight. I just wonder you have put ONCE in the beginning of every line on the money management
    // money management
    ONCE Capital = 10000
    ONCE Risk = 0.01
    ONCE StopLoss = 10
    ONCE equity = Capital + StrategyProfit
    ONCE maxrisk = round(equity*Risk)
    ONCEPositionSize = abs(round((maxrisk/StopLoss)/PointValue)*pipsize)
     

    • Reiner • 06/10/2016 #

      Hi Hockeygrader,
      Thanks for your comment.
      Yes of course, you have to remove some ONCE-statements if variable position sizing should be used:
      equity = Capital + StrategyProfit
      maxrisk = round(equity*Risk)
      PositionSize = abs(round((maxrisk/StopLoss)/PointValue)*pipsize)
      Sorry for the confusion.
      best regards
      Reiner

  3. Doctrading • 06/10/2016 #

    Hello Reiner,
    Thanks for this nice code, as usual !
    I’ve tested it in M15, on the DAX (I like M15 because there is sufficient historic data).
    Without spread, it’s winning since late 2014
    With 1 point spread, it’s loosing all money if we begin the test in 2008.Did I miss something ?
    Your strategy is good and we could do something to improve it.Best regards,

  4. Cosmic1 • 06/10/2016 #

    Hi Reiner,
    Great bit of code, I will definitely by using some of it in my own strategies. With the times adjusted correctly for UK  time and 1 point spread I get the following results. Does this seem correct?
    http://s33.postimg.org/gmfw86o7v/image.png
    http://s33.postimg.org/obhsh0v17/image.png

  5. Cosmic1 • 06/10/2016 #

     The large versions are here:
    http://postimg.org/image/obhsh0v17/
    http://postimg.org/image/gmfw86o7v/

    • Reiner • 06/10/2016 #

      Hi Cosmic1,
      Thanks for your feedback and sorry for the late answer. I only have 100.000 candles for backtest due that reason everything before 2015 is not clear for me. It works great since last May but has some drawdowns. But many things worked over the last month because of the volatility. I go with your picture that in 2014 this idea had troubles with the described parameters.
      Best regards
      Reiner

  6. Nicolas • 06/10/2016 #

    Please test it on demo first, as I’m not sure that plotting the MA on strategyprofit curve is working correctly with PRT-CFD. Work for sure with PRT software though. I’ll ask PRT next week if it is possible now, because it were not the case when I wrote this article about this concept some weeks ago.

    • Daniel da Costa • 06/10/2016 #

      Hi Nicolas! Is it possible too reference the MA in the equity curve so as too know whether too put a trade on or not?

  7. Cosmic1 • 06/10/2016 #

    Hey Reiner, Yes the 200k units comes in very handy and also causes a lot more work! Maybe it is something that can be adjusted to be workable over the long term? 

  8. thegeneral • 06/10/2016 #

     Hi Reiner,
                       Can the code be changed to have a €2 per point risk/gain?
    thanks

    • Reiner • 06/10/2016 #

      Hi thegeneral,change line 22:ONCE PositionSize = 2
      best regards
      Reiner

    • Reiner • 06/10/2016 #

      and of course select an DAX 1 Euro mini

  9. Hockeytrader • 06/10/2016 #

    Hey. Been comparing the strategys performance versus the DAX volatility index. i’ve not done all 100 000 bars yet but so far the strategy is profitable when the $VDAX is somewhere between 15 & 25. Gonna work on this tonight and see if a can give you some kind of report.

    • chuks • 06/10/2016 #

      Hey Hockeytrader
      did you back test this as you said you would do ? I am based in London, so do I have to choose Dax 30 ?

  10. ALEALE • 06/10/2016 #

    HELLO REINERARE YOU WORKING WITH THIS STRATEGY NOW?
    HEVE YOU CHANGE SOMETHING IN THE CODE?
     
    THANKS
    ALE

    • Reiner • 06/10/2016 #

      ALE, breakout strategies work great in trend phases like last year. Unfortunately DAX is more or less catched in a range since Februar and you lost money with that kind of algos. No, I’m not trading these kind of strategies at the moment.

  11. ALEALE • 06/10/2016 #

    Ok, thanks

  12. tradex • 06/10/2016 #

    Hello,
    what is the simple average period on equity curve ?
    Thank you in advance

    • Reiner • 06/10/2016 #

      tradex, open the settings dialog (click on wrench symbol) on the equity curve window and add a simple moving average indicator – thats all. When your backtest based on e.g. 100.000 candles set a period length of 2000 or 5000. Trade only if the equity curve is above of the average is an easy method to increase the profit probability 

  13. Francesco78 • 06/10/2016 #

    how would you explain the fact that this robots stopped working pretty much at the exact period when it has been shared?
    Is it just bad luck or it might be that sharing can affect negatively the profitability  of an algorithm? 
    does anyone has thoughts about it?
    Many thanks
     

    • Nicolas • 06/10/2016 #

      Overfit on past history obviously. But it doesn’t mean that it would still underperformed in the future. That is why walk-forward is important, as long as over analysis tools like MonteCarlo for instance. 

  14. Francesco78 • 06/10/2016 #

    Thank you for the clarifications Nicolas, I am more aware of the meaning of the backtesting now,  after spending the weekend on it. Thank you for the amazing job of this forum.

  15. CanAny1Trade • 06/10/2016 #

    Hi all, could a simple indicator be made to mark the traditional Pit based ORB?

    I’m trying to put together a similar indicator but struggling. I want to mark the NY Pit session (9:30 AM – 4:00 PM) each day for US500 with a vertical line and the opening 30 second range with a horizontal box. Could you or anyone help with this?

    Kind Regards

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+17 more likes

Related users ' posts
ALE
8 years ago
ALE no, only with TF 15m
enzo_52 Grazie tante, Thanks so much 
JanWd Hallo Ale, First of all, thank you for this strategy. Could you explain what the BLUSTER ...
Elsborgtrading No that is wrong :) 1st runs always- then only run 2nd if 1st is on market with positions(ar...
Elsborgtrading It can only be fully automated if IG change minimum SLto 7 at night on DAX multi timefra...
Elsborgtrading A small example. the strategy would have opened 3 position on Dec 4th 2016 and keept it for ...
Cosmic1
9 years ago
Cosmic1 @JadeDB What times are you putting in?
sincitytrader I tried this one out recently,  and wasn't profitable for me.
Cosmic1 Yes, not great lately. I stopped this live at the end of last year. Will wait to see when th...
Philip Raphael Hey! Thank so much for sharing this wonderful indicator! I have always tried to code a simil...
CKW Hi Philip, What do you mean "Years" are not defined ? candle? If to code yearly candle size...
dakaodo Years not defined was probably b/c Phillip copied and pasted the code into PRT instead of im...
zilliq The reasons why I think it's time consuming and we loose time to try to do backests and Auto...
filiprb Hello Zilliq, You don't need a system to produce a walk forward test. You can easily create...
Philip Raphael It is incredible! Thanks for sharing, Doctrading!
Reiner
9 years ago
Nicolas You should join and read the forum thread about this strategy. There are plenty of different...
Reiner Hi djtaktik and welcome, I have answered your question in the related Pathfinder forum beca...
danver34 is this version the definitive one or from the original one have there been modifications to...
Fabio Anthony Terrenzio this strategy works only in a well defined trend
brosly Good afternoon I am trying to get the complete code of lex strategy made by adolfo since I s...
dreif123 hi Adolfo, is Alex Auto Trading Botindex working on DAX as well ? if so , can you post the...
hvluthy@sunrise.ch I'm very interested to try out your strategy, but as a bloody newbie I need some help regard...
Scalp Hola Adolfo, tengo una variante de tu estrategia, pero no se programar, me puedes ayudar al ...
ALZ Hi, I tested this strategy and that doesn't work.. strategy is losing.. Does anyone curr...
Nicolas Ahah, I'm not the author of this one :) I know you are a great coder Wilko, why don't you p...
Wilko Thanks for the flattery! I will, I promise.  /F
Nicolas Still don't have seen anything from your own :) You promised me! Ahaha 
Andres Uffff, I didn't adjust the different index spreads. With the heavy spread of Italy It's nega...
davidp13 Good day. I know this was posted such a long time ago, but I though rebuilding the system on...
davidp13 Also to note that the one position in my code does not close the other, which as far as I kn...
Dave Hi, I'm new to coding and have been trying to modify the code a little to backtest an idea I...
Nicolas Better use the forums for coding assistance please. You'll get more results there for sure.
Dave Apologies - only just learning the site layout. Maybe you could delete the post?
Nicolas FR/Bonjour Steftonio, non pas de frais overnight calculé sur la durée du backtest, c'est une...
avatar
Anonymous Any reason why in 2016 this system is doing very bad respect the previous years?
Nicolas "very bad" is relative to the account equity. I do not forward test this strategy since I po...

Top