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
BaderBader Good day davidelaferla, Thank you for making your strategy available to the community, I do...
JohnScher Short variant, see at https://www.prorealcode.com/topic/late-lunch-trade-dax40-strategy/
DANY Hi JohnScher, Thanks a lot for your contribution. Consider this release to avoid overfit...
JohnScher Thank you so much for exploring the Late Lunch Strategy. For discussion and in answer to yo...
BenJuice JohnScher, merci de partager ta stratégie. Je suis nouveau dans ce domaine, sur ton code q...
JohnScher As a percentage of the price, here 2%. StopLoss as well as TargetProfit. SL and TP come ...
Wilko I absolutely love the simplicity of this mean-reversion strategy. Well done!
Patrice210 bonjour STANKO, effectivement la première ligne apparait en anomalie et je ne comprend pas v...
KumoNoJuzza Hi guys, Thanks @Stanko and everyone for your contributions. I have been playing around ...
Stanko Hi KumoNoJuzza, thanks for the post. I also tried your code with Dax and the performance is ...
thomas2004ch Hi, Is this startegy suitable for daily SPY? Regards
ebous64 Je cherche à traiter des effets de bords avec un encadrement ajustable des variables. Vous a...
thomas2004ch What are the values for nbx, nby, pbx, pby, ptsup, stplos, stptg, tp, vsmax, vsmin?
JohnScher Postscript: It's running in the live right now. One position after the other is opened. ...
ullle73 nice!! how's it been since your last post on going live? :)
thomas2004ch Hi, Is this strategy suitable for daily SPY? Regards
Darren Nash I found this works well on the DOW
thomas2004ch Hi John, Is your strategy suitable for daily SPY? Regards
gatowman Hi, ich bin leider Anfänger, habe den Code zwar importiert, aber scheinbar läuft er nicht au...
cdc.andersson Hello, I´m trying to paste the code and start testing but can´t get it to work in PRT. Shoul...
Lupo32 Thank You Aaron
superfalcio I'm having no more issue on the new Prorealtime release 11.1
FXmike hey my friends, thank you for this great code. my problem is he make no trade open. backtest...
FXmike Can i put a Action that my start contract is smaller than 1 ? 0.3 or 0.5 ? In wich Position...
phoentzs I wrote the code for M15 back then and also variants in H1 and M1. Everything works so far....
Jan Wind Thanks for sharing ! The Gain/Loss ratio is a bit low, 1,16, hardly offset the risks take...
drive whats the period ?
Lucas0000 Hola. estoy buscando un programador en proorder, para hacer un programa basado en el Q-trend...
Ludwig Bonjour Merci pour le code, je souhaite intégrer un break even et mette en place un réinves...
superfalcio hello, this strategy is pretty interesting, anyway on index after diferent suggestion and im...
Fralex Hello everyone I optimized the original “LongOnly-DAX-4H-TMA-Channel” algorithm over a pe...
Dom Hello, hello....je commence le trading et découvre par la même occasion le codage....et ce n...
Nicolas Merci, ça fait plaisir !
Be-n Bonjour tout le monde ! Dans l'indicateur de tendance, j'ai du mal à saisir la nuance entre ...
YvesRobert @robertogozzi. It's done. Thank you
YvesRobert Hello Roberto, some questions about your strategy. 1 - Do the 2 lines SET TARGET pPROFIT T...
robertogozzi 1. The 2 lines SET TARGET pPROFIT TP and SET STOP pLOSS SL are always executed, each bar. Bu...
avatar
Anonymous Hi robertogozzi - thank you very much for sharing this strategy. I have performed various ...
robertogozzi Thank you samsampop.
Dotan Hello guys I really appreciate this coding effort but can I use this code for Mt5 Forex Trad...
Gubben So far so good. After a long drawdown it was winning four times in five weeks. Since 24 jul...
pat95162 Salut Pourquoi je n'ai pas les même résultats que vous
UkCoopDownUnder Any hints for us, on which variables we should be optimising ? As of November 2020, the cu...
Peter I recognized a possible problem with the timeframe / Defparam variables. As far as I know, t...
superfalcio Hello Peter, it is long time i have been watching this strategy, very good and interesting ...
Peter I indeed do have different modified strategies in the market. In the past my variants perfor...
JJ Tec Hola. Me gustaría contactar contigo para ver la estrategia..
nilsla1981 Has someone already tested in real ?
Lucas0000 Hola. estoy buscando un programador en proorder, para hacer un programa basado en el Q-trend...
JOKAMAURICE Thank you but I don't really understand. The values don't fit with what I see on my chart. I...
Alberto Aguilera Hi! Thanks for your strategy Anyone can check it with 200 bars?
TempusFugit Hi, this simple system for DOW and only shorts has worked quite well, maybe because of its q...
phoentzs Unfortunately, I never pursued this strategy further. Maybe I should take a look with what ...
darbes Hi How does it go on live ? JC
antonio73 Balmora74, io vedo che funziona anche su timeframe ad 1 minuto con piccole ottimizzazioni, t...
Juananantoniorodriguez hola buenas, a este sistema automático, Cómo se le podría poner un stoploss de beneficio sim...

Top