Breakout Failures DAX 5m

Breakout Failures DAX 5m

This is a simple strategy, just an idea that seems to work. No MoneyManagement or Position Size. Optimized for DAX 5 minutes.

It looks for breakouts in Donchian Channel for going in the opposite direction, trying to catch breaout failures so kind of mean reversion system. There is no Stop, when the losses reach 10xATR it changes (“flip”) direction to catch the trend that seems to be forming. Also finish tradings at 20:30, kind of time stop with no overnight.

Donchian channel indicator (should be set as a new indicator)

 

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. TempusFugit • 10/30/2017 #

    Thanks Nicolas for adding the indicator, I somehow thougt it was one of the default indicators 🙂

    • Nicolas • 10/30/2017 #

      The one you used is not, that’s why I added it. What is the timezone for your DAX instrument please? While testing it, I did not get exactly the same results even if it was not bad at all.

  2. TempusFugit • 10/30/2017 #

    My timezone is UTC+00:00… and I think that´s the backtest timezone

  3. masala • 10/30/2017 #

    Thanks for the idea. Personally I don’t like to enter trades without a hard stop and also I don’t like to trade the DAX outside the official kassa times – because the spread is then wider than 1p.

    So my modified code looks like this:

    // System parameters
    DEFPARAM CumulateOrders = False
    DEFPARAM PRELOADBARS = 20
    DEFPARAM FLATBEFORE = 090000
    DEFPARAM FLATAFTER = 180000
    STOPPER = 100
    // Condiciones de entrada
    myUpperband, myLowerband, ignored = CALL “Donchian (canal)”[8]
    c1 = close myUpperband

    // Conditions for Entry of Long Positions
    IF c1 AND NOT ONMARKET THEN
    BUY 1 CONTRACTS AT MARKET
    SET STOP $LOSS STOPPER
    ELSIF SHORTONMARKET AND (CLOSE-TRADEPRICE) > FlipPosition THEN
    BUY 1 CONTRACTS AT MARKET
    SET STOP $LOSS STOPPER
    ENDIF

    // Conditions for Entry of Short Positions
    IF c2 AND NOT ONMARKET THEN
    SELLSHORT 1 CONTRACTS AT MARKET
    SET STOP $LOSS STOPPER
    ELSIF LONGONMARKET AND (CLOSE-TRADEPRICE) < -FlipPosition THEN
    SELLSHORT 1 CONTRACTS AT MARKET
    SET STOP $LOSS STOPPER
    ENDIF

    // Loss, Profit
    //SET STOP LOSS 15*AverageTrueRange[10](close)
    //SET TARGET PROFIT 15*AverageTrueRange[12](close)
    FlipPosition = 10*AverageTrueRange[14](close)

    // END

    If you see room for improvements, feel free to post here. Ah, I switched to 1min timeframe 🙂

  4. TempusFugit • 10/30/2017 #

    Masala, thanks for your contribution. I don´t like the offmarket spreads neither 😉 I understand your waryness of non hard stops but in this case seems to hurt the profit quite a bit.
    Be aware that in your code the c1 lack of “>” symbol and the c2 is missing completely (“c2=close<myLowerband")

  5. Uveus • 10/30/2017 #

    Tempus, me da un error al validar el codigo, sobre la variable N.
    Al crear el indicador me pide darle valor, y luego en el codigo me dice que debe ir sin valor.

    gracias

    • TempusFugit • 10/30/2017 #

      Hi Uveus,

      I am guessing you inserted the code of the indicator into the system code, is that right? If so, don´t need to, just import both the indicator and the system and run the system, it takes itself the code from the indicator.

      If this is not your problem I dont understand your question.

      ———————————————————
      Te contesto en inglés porque tenemos que escribir en el mismo idioma que el foro para que todo el mundo lo entienda, si no nos dan un toque. Si no entiendes la respuesta en inglés escríbeme un correo, creo que puedes desde mi perfil y ya te contesto en español.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar
Related users ' posts
roccafragius Hello Ivan, another great Indicator, very useful to trace the trend ( blue line) and the pos...
BaderBader Good day davidelaferla, Thank you for making your strategy available to the community, I do...
kats Bonjour, J'ai une question etes vous trader? Je m'explique , j'ai téléchargé tous les indi...
kats BONSOIR c bon merci j ai trouve ce weekend merci de votre reponse cdlt
the_giorgio Hi, nice work I would like to understand something about prorealtime code. With your ...
Iván Hello. When you use the drawcandle() instruction then in the configuration window you add ...
Gaspare Ciao Ivan si puo' inserire una strategia su questo indicatore per ottimizzare le variabil...
lee Thank you!
jacquesgermain sì da aggiungere
Maik2404 auf welchen Wert muss ich die Kompresionsperiode stellen?
jacquesgermain — Période de compression : ce paramètre détermine la période de rétrospection utilisée pour ...
luxrun A question: what are the initial (or default) values ​​of maximum and minimum in the executi...
Quino
1 year ago
Alai-n I really like it when you develop ideas around price movement! I am much less a fan of all t...
NEOMKEY Excelente trabajo. Lo uso también en scalping de 1 minuto.
philippe59139 bonjour zeiiermantrading , merci pour ton excellent travail, je me suis permis de rajouter ...
Bodaris Bonjour, je tenais à vous remercier pour votre travail et votre partage. J'utilise beaucoup ...
Nicolas
1 year ago
Florian Hello Nicolas, This indicator repainting ?
Nicolas It's impossible for it to repaint the values of the past.

Top