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
Wing There's a few threads on the forum about backtest and live trades being different at times. ...
ET I agree with verdi55. As it is now, the code will only test for a breakout on the upside (li...
Philipjonasson are u still active Wing?
Nicolas Thanks for sharing your automated trading strategy idea. Even if you accumulate loosing orde...
Maz Ok. Potential here to build onto this. Have opened a forum thread for further discussion: h...
ALE
7 years ago
CSR strategy DAX 1 D
CSR strategy DAX 1 D
17
Strategies
Jesper I tried it on dax 1D and I did not get any trades. Shifted to 10H and it started working. Wo...
rgrgrgr I have the same problem
avatar
crazytrader Is this working?
Francesco78 I did a little bit of work on that and now the results looks better and more stable. Please...
Francesco78 I did a little bit of work on that and now the results looks better and more stable. Please...
Khaled Hi Francesco , thank you for sharing your hard work. Any idea why all orders are executed at...
JanWd Thank you for the coding, it seems promising. FTSE gives for the short term (5 min) promis...
Jan Wind 21.04.2019: I retested the strategy for the DAX 5 minutes , it works fine for 10.000 bars, b...
bertrandpinoy hello Francesco, are you still working on this strategy?
avatar
bjoern With the same parameters? For me the results are negative
avatar
bjoern Oh ok, with the initial posted parameters it is positive
victormork yes! It's not like you want to put it on live but when I for example take the version I have...
otty82  all right. thanks
mmichael Hello, I noticed that the indicator shows the initial balance of today but also for all the ...
leyoy Bonjour, comment l'adapter sur 15 minutes au lieu de 1 heures ... j'ai changé 090000 par 081...
Derek Nice strategy. Have you tried adding a stop loss since there are a few sharp drawdowns? I ...
Piston_Broke Non so .... da qui la mia domanda iniziale :-)
Piston_Broke Hi Derek. I have tried many different ways to apply SL's to this and similar versions of th...
Nicolas Indeed, if you are not willing to loose, you will always win. Averaging down losers can carr...
David You're always safer going Long especially with averaging down on an index as the probability...
Oskar Bergvall  I noted Davids and Nicolas remarks. Could it be possible to make an indicator for contraria...
Lotar
7 years ago
Nicolas You can send it to contact@prorealcode.com and I'll attach it here. Thanks for your sharing!
Francesco78 Hi Lotar, which variables would you choose to recalibrate it to the present market condition...
Degardin Arnaud unfortunatly in today's market it's not working at all...
Nicolas it is based on seasonality of DAX.
Luciano Santiago Juárez Hello I am new here I am trying to understand this code IF monthlyMultiplierLong > 0 ...
Luciano Santiago Juárez Sorry the code copied bad the line I dont understand is: ELSIF monthlyMultiplierLong 0 THEN
Wing Yes, investigate as much as you want. For more insight, you can view the linet1, linet2 etc....
CKW Hi Wing, Thanks for your sharing. I am still trying to breakdown & understand your code...
Wing Hello CKW. No, the parameter, 7 in this case, is used when calling the RSI indicator to ide...
Nacho Buenos días Raul, tengo puesto este sistema desde hace unos días en una cuenta demo en la ve...
Dominik Hola Raul ... it looks wonderful :-) Why does it not work if I use less than 100,000 € capi...
Bobbi Hola y gracias por compartir! Descubrí que en 5 minutos teníamos algo muy bueno! Pero no ...
danhei Hi I am tryong to figure out how trist strategy works. I am new to pro real time. Can some...
Plop61 Hello,Thank you for sharing this beautiful strategy.Is it possible to indicate the code for ...
NoName Thank you very much for this fascinating trading system. It is still proving to be extremely...
ALE
8 years ago
pollon Ciao Ale,  anche a me da questo errore  "QQE_QUDAX1HBUY"  "QQE_QUDAX1HSELL"  "UNIV_QUDAX...
reb Hi Ale do you trade these QU strategies?  Are the results same as backtests Thnaks in adv...
avatar
crazytrader Hi anyone that has run this lately?
larouedegann best with this hour IF TIME =081000 THEN plushaut=highest[2](high) plusbas = lowest[2](lo...
CanAny1Trade Hi! I'm trying to put together a similar indicator but struggling. I want to mark the NY Pit...
ALE Hi Pat This code was nothing more than an experiment
pat95162 Hi Ale Do you have same results as me ? The strategy works very well in 2017 and now in 2-...
Nicolas Built on the history means that it suits the history. Always develop ideas in In-Sample peri...
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
8 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...

Top