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
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...
Nicolas File and code are updated.
Zasinas2000 Hi allo I am not sure I am doing it correctly, but this adds to proreal as an indicator. ...
Trimicha Hi, when I copy the code, i get an error message that LinRegPeriod is not defined. Doe...
Exalaxe Hey, i just noticed you optimized this strategy. Could i see your new version, please?
Andrea.1981 sorry i add my code but it not enter why i dont know
Andrea.1981 this is code simply stop , and you can see another version for stop / Codice principale...
Vonasi There is another version of this indicator that can plot the same lines but onto an indicato...
Martin35 Hello Vonasi, do you think it is possible with PRT to code with the same principle as on thi...
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...
Tarkus1954 Hi. When I add this indicator it loads it in a separate window. How do I get the indicator...
Nicolas By adding it on the price chart. Use the wrench on the left upper side of the price chart.
ervelasco Thank you for your posting! I was missing the indicator when trying to select Keltner bands ...
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...
fredfilm Hi Nicolas, how could we add a price screen to this? eg stock prices between $1 to $3 etc
Canale di Fill By Filippo si si... farò un video a breve
AngelPujalt ok. Gracias.
Stenozar Hi Filippo, any news about your video to explain how to use this indicator? thanks
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
Nicolas Add it on price using the wrench on the left upper side of the price chart.
Stenozar thanks Nicolas, I' ll try again!
Radetzky Buongiono e grazie : l'immagine sopra ritrae l'indicatore sul TF 15 min ma a me funzio...
Steven Hi im looking for some help to put a automated code together BUY ORDER If EMA 10/25 is...
Dwell Thank you! Great tool!
Juanjo Hola?. Exactamente cuál es su utilización?.
bolsatrilera Hola Juanjo, su principio esparecido a las bandas de Bollinguer.Las lineas de las bandas son...
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...
Simba Greetings from germany! :) Can you told me your EXIT-strategy for this, please? :) Would ...

Top