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?

PRC is also 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?
     
    Ollie

  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!

avatar
Register or

Likes

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

+2 more likes

Related users ' posts
GraHal Ooops got that excited I sent that last one twice! ha (and can't delete it, sorry) I got it...
Eric n = 3  dont forget to allow 3 contract in proorder
UkCoopDownUnder Tried EURUSD GMT and GMT -1, as far back as I can go, Nov 2018 on 15mn Tf, 22% loss
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...
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Glen Marquis Not your best..So what is your best strategy? :)
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...
Adolfo Onrubia Ups! Sorry. Variable "S" is to set an specific Spread if needed. Could be "0", or the distan...
GraHal Hi Adolfo, big thank you for your code, but I am a bit confused. Spread is the difference b...
Meta Signals Pro Hi, For me there is a mistake here L32 maxriesgo = round(equity*riesgo) => round(equ...
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 You can try this code for buy and hold curve line: capital = 10000 mylot = 2 i1 = capi...
soukenson Bonjour Nicolas, Je ne comprends pas où ajouter le code que tu as a donné dans le code initi...
Nicolas Tu veux parler du code pour comparer avec le "buy and hold" ? Si oui, tu as tout ce qu'il fa...
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...
EAxelsson Hi, shouldn´t it be or instead of and? if FiftyTwoWeekHigh = FiftyTwoWeekHigh[1] OR FiftyTwo...
qigley Line 4 has a redundant term "Close>EMA2." is not necessary as EMA2 will always be less t...
Mike.44 Thanks It a good job !
Wisko But the BUY-trigger is below the High of the first two 15min-candels?
Nicolas That's right, because what we want is to enter the market quickly and not wait for the next ...
Wisko Then I don't understand the backtest data. Yesterday (28.9.) range was from ~ 4410,5 - 4450,...

Top