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
avatar
unkown ;-) sfido chiunque a riuscirci!
avatar
unkown infatti basta leggere i post degli altri....
nicola papangelo ciao Francesco vorrei contattarti su facebook o in privato. Grazie
hartgeld Hallo Atxeel, sehr interessanter Code, habe das installiert und funktioniert. Danke! Kannst ...
atxeel Hallo hartgeld, die Ziele sind schlicht, bspw. die Range beträgt 10 Punkte, dann ist das Zie...
Maik2404 wie kann ich den Code bekommen Paul?
jens_kittner Works with US Crude at 1h as well!
Jean-Claude REGIS Je préconise de regarder les graphiques H1 et M15 pour visualiser la tendance de fond et d'...
Paul the last update can be found in topic Strategy DayOpen Straddle for DAX on page 14.
bertrandpinoy l instruction GRAPH pose problème sur PRT... pas vous? cordialement
Nicolas Supprimer simplement les lignes avec GRAPH pour passer en ProOrder, trading live.
TraderFelix
6 years ago
Bebbo Thank you for your contribution. I have tested your system on some instruments and I like i...
bertrandpinoy bonjour j ai tente l installation mais PRT m indique que ce code ne peut etre utilisé qu en ...
Nicolas en effet, il faut utiliser l'éditeur de code ProBacktest, il ne s'agit pas d'un indicateur m...
Xusto Hello, Fully Agree, I will update it with your advice. Btw Can would you like share you co...
Niklas johansson hägglund do you now if it's possible to use this strategy with this code in tradingview also?
Alexander9 This code for metastock ?, can for amibroker . Thanks
Petersson Kristian Hi when I do back test I get 0 results, what do I do wrong? Trade Well Chris
JohnScher Yes i did before, see library/strategys/repulse and dpo https://www.prorealcode.com/proreal...
JohnScher Don't know what you're doing wrong. Import ITF and observe time zone settings. This should...
osupero https://www.screencast.com/t/2fCW8fkGsOeZ....solo posiciones largas por ahora
osupero https://www.screencast.com/t/MIaSZ2PRg
ALZ Hi JohnSher, Nice but not the same result Do you have the last itf of it ? Good result i...
ak5hay2 Works like crazy on bitcoin. Use different timeframes. Thanks a lot Doc!!!
richyowen Hi, great code thanks. Very new to this forum. Is there a way to add a 100point target on an...
lisamitch50 Morning all, Just backtested on quite a few instruments, worked well on backtesting, but tel...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
ciniselloftse salve fulvio .il trading sistem e sempre profittevole?
reb Hello have you used this strat since last year ? live or Back test ? What are the results ?
beeb Yes last Year. But only back test
drysheep Hi all, did anyone test this strategy recently? As i dont get a single trade in the backt...
Yannick TradingDayLong = dayofweek = 1 or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayof...
Marlon Hey JohnScher, your code works fine, but my results aren't as good as yours. Even if I use ...
DarioMazza Bha... this code dont work. gg
ALE
6 years ago
settival CIAO ALE CREDO DI AVER SETTATO PER BENINO LO SCALPING INDICATOR MA NON VISUALIZZO I SEGNALI ...
graff.laetitia Hello, I'm sorry to bother you, I'm new to trading, I managed to download the indicator but ...
Alby118 i can get it to work? dax 1 min. upload indicator on the4 chart. thank you
Yannick Hello There is a mistake in trailing stop code, I think that this should fix the problem s...
Paul About the trailing-stop the way it's coded. That works for backtesting only, just look at th...
Jonny sorry paul, but system says that is not possible to put many stop order combined...what have...
BC
6 years ago
TempusFugit Thanks Bin, nice code, I can use several ideas of the way you build it
DarioMazza Thanks Bin, great concentration, i understand the first idea, but may u indicate me the asse...
Bin Hi Mazza This robot is optimized for DAX30.
TempusFugit Masala, thanks for your contribution. I don´t like the offmarket spreads neither ;) I unders...
Uveus Tempus, me da un error al validar el codigo, sobre la variable N. Al crear el indicador me ...
TempusFugit Hi Uveus, I am guessing you inserted the code of the indicator into the system code, is ...
teddy58 This system is the only one running on my PC, which i didn´t developed my myself. My forcast...
xpiga Hi! Is this system still working good? Anyone has it in the live account? It looks great. T...
Paul_Going Dutch Proformence will be beter with other starting hours and closing hours @Inertia
rejo007 hello david, i'll try it could you tell me wich strategy do you use in real? thanks
David Somogyi Hello, I have a couple of DAX strategies of breakout and mean reversion. I'll try to post...
Roberto Blázquez Hi David, I just saw your strategy and it's good!!! I'm going to try it from today in real a...
stratobast Good afternoon everyone. Thanks Doctrading for your work. I have an issue while using this ...
stratobast My bad guys. I understood what was the problem. The indicator uses highs and lows for the Re...
samwarduk Has anyone tried this on Bitcoin GBP1? The results look amazing but every time mine trie...
gackeen Scusa Pier, scusate tutti, sono nuovo. Ho caricato il file e mi viene restituito il messaggi...
JR1976 HI Nicolas , I tried to copy paste but not import directly and the code works well I hav...
mcosta This code doesn't work on 10.3 platform(IG), neither with copy/paste nor with itf import, an...

Top