Breakout DAX 15Min

Breakout DAX 15Min

Firstly, a big thank you to Nicolas for this great site and for originally introducing us to the CAC Breakout using the same code here.

I set about testing this strategy on other markets due to the fact you can backtest 8 years of data with 200,000 units on the 15Min time-frame. The other massive plus is no fake profits and only 26, 0 bars in 1500 trades! 🙂

In this version I am using a fixed position size but you can activate the re-invest system if you are happy with that. It makes for an interesting ride!

I stuck to the rules of not over optimising/curve fitting by using an IN/OUT sample as documented here. This ran from July 2008 – Jan 2014.

The results above are £1 Per Point, £1000 Start and 1.5 Spread.

I am live trading this with real money with minimum stakes to test. IG have now reduced the PPP from £2 to £1 just recently. This is very handy for forward live testing.

All times in the code are UK so please adjust to your timezone.

I have some more of these ported to other markets but need to spend a little more time getting them right before posting in the library. Expect them soon.

I have not had enough time to test different time frames. Maybe I will try that next if time allows.

Good luck and enjoy your weekend.

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?

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

  1. criscolci • 09/04/2016 #

    Great work! thanks for sharing

  2. Pjotterd • 09/04/2016 #

    Just asking, do I have to set a profit stop?

  3. Cosmic1 • 09/04/2016 #

    @Pjotterd You don’t have to but you can uncomment that part, Line 112. I am not running it with one.
    @GraHal Yes all Nicolas’ hard work. Simply a port from me.

  4. Cosmic1 • 09/04/2016 #

    A shame today’s fall was not captured but it fell outside of spec. Must be trusting in the backtest and IN/OUT sample. A good week overall for this strat though so cannot complain.

  5. traderollie • 09/04/2016 #

    Hi, I am going to use this system tomorrow with £1 trades. I’ll post my results. Do you have a direct email by any chance?

  6. Vish • 09/04/2016 #

    Hi … Thanks a lot for sharing this strategy. I have backtested this and works fine on DAX. Only concern is bigger position size. It does not seem to behave well if I have a position size of 10 (for e.g.) Can you suggest if this strategy is supposed to work only with small position sizes ? 

  7. Cosmic1 • 09/04/2016 #

    Hi Vish,
    All works ok here.  I started it just now with 10k starting pot and £10pp. Ends up at £104,000 from Sept 2008 to present day.

  8. Vish • 09/04/2016 #

    Thanks Cosmic. It works for me too. That was a silly mistake. Last week went quite well with this strategy on live trading. Anyone here likes to share to share results how they are getting on with it in live environment.

  9. Cosmic1 • 09/04/2016 #

    Hi Vish, Yes it was a good Thursday and Friday where between DAX and DOW breakout +800 points were added. As we know there could be drawdown but it’s nice to have a bit of a buffer built up now.

  10. JakeDB • 09/04/2016 #

    I cannot get my time conversions correct for Sydney Australia to get any data for this code. 
    Not sure what i am doing wrong

  11. Cosmic1 • 09/04/2016 #

    @JadeDB What times are you putting in?

  12. sincitytrader • 09/04/2016 #

    I tried this one out recently,  and wasn’t profitable for me.

  13. Cosmic1 • 09/04/2016 #

    Yes, not great lately. I stopped this live at the end of last year. Will wait to see when the right time is to put it back on. Just shows you that even following all the rules to avoid curve fitting etc, algo’s can still bite you!

Register or


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

+1 more likes

Related users ' posts
JanWd Good evening John, Thanks for your new strategy ! Is Exponentialaverage [1] (close) ...
JohnScher Not every day 1 trade, but it works every day
JohnScher I think it is, but my programming skills are very limited, so I worked with the 2 EMA´s
Glen Marquis Sorry John I have no time.
Geronima Ortiz Is this trading system expected overnight? or is it my problem? I see long at 21 hours, wh...
Dymjohn Hi John You can cut the number of trades down by about 23% by introducing a "BuyPrice" STOP...
juanj If I run the backtest with a zero spread the backtested result look similar to your screensh...
Eric If you have a high percentage winners and the trades are closed with take profit the spread ...
Casenova I Agree with you JaunJ, and Yes Eric, what you say makes sense too. Optimizing the Stop Loss...
Daniel da Costa Thanks Doc! Where can you find a service for Dax with a 1 point spread?
Doctrading Hello. I suggest you : ProRealTime CFD, or IG. Best regards,
JanWd Hey Doctrading, I tried your code, optimising the A and V and the RSI period, see below. ...
vlongobardo67 Ciao Fulvio, ho scaricato ed importato il file. m,a se lo faccio girare sul miniDax non ...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
beeb Hallo Dominik, das mit dem deutsch schreiben kommt mir sehr gelegen. Komme auch aus Deutschl...
vlongobardo67 hi Beeb, I imported the file in my platform but is does open any order. What is wrong , wha...
3 months ago
juanj Kinda reminds me of Renko Trading
Real Pro Hi Nicolas, I'm having trouble changing the colours according to the instructions you gave. ...
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
5 months ago
ALE P01 , it’s the first patner of the indicator, I hope to add others in future.
ALE We can discuss about the strategy here:
Alai-n Merci pour ce travail...
patmaba merci Alai-n. C'est ma première participation sur prorealcode, merci pour à toi pour ton co...
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...
6 months 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.
Nicolas What do you want to do exactly? Because dots are plotted afterwards..
rama I want to place buy or sell order just after the last man , what is the code to use ? i tr...
Nicolas But it should, please open a new specific topic in the ProOrder automatic trading forum.
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 ...
Jessar Hallo Leute, es wäre interessant aus dieser Strategie mit Hilfe von diesen indikator https:/...
verdi55 Funny. Just try this one on NASDAQ 100 (or any other big index) since 2009. Starting capital...
rama what you see on probacktest is like dreaming on a day time (not even sleep), most of the str...
primo1 Bonjour Nicolas, sur quelle échelle de temps minimum tu utilises l indicateur je pense...
primo1 Bonjour Nicolas Pour créer la strategie comment peux tu traduire l"apparition des points....
Nicolas Exemple dans ce sujet du forum ProOrder :