DAX 30 – Morning range breakout with order size increase

DAX 30 – Morning range breakout with order size increase

This automatic trading robot use the morning range from 7 o’clock to 9 o’clock of the Dax 30 on a 1 minute timeframe basis. If the price breaks the range up or down, a trade with fixed StopLoss and TakeProfit is set.

This strategy is another version of the famous Open Range Breakout methodology applied on DAX.

 

 

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. Robin von Bauhn • 03/08/2018 #

    Thank you for sharing!
    Although I have a couple of questions:
    Why 1 min? Since the range is based over 2h and you enter with stop orders you might as well use 15m to get a larger sample size?
    And why a fixed sl/tp? Especially with a small sample size all you do is increase risk of curvefitting?

    Best regards,
    R

    • beeb • 03/08/2018 #

      Hello,
      nice that you like the strategy.

      For 1 minute I have chosen to avoid the first minute in the DAX at 9 o’clock, because this is often very turbulent.
      The entrance is at 9 clock 1.

      For the SL / TP I’m still testing myself and I’m not sure how to improve the performance.
      Do you have an idea how to do that?

      Best Regards
      Beeb

  2. mr blue • 03/08/2018 #

    I have a similar approach running – but yours is also very smart – thanks for sharing!

  3. Stefan Martinali • 03/08/2018 #

    In the buy long if statement, shouldnt you enter long if onetrade = 1 instead of 0 (row 30)?

  4. JanWd • 03/08/2018 #

    Was meinst du mit dieser Kode ?
    IF (LONGONMARKET = 1) then
    onetrade = 1
    in = 1
    korrek = 0
    //l1 = POSITIONPRICE + 0.0008
    l2 = POSITIONPRICE – sl
    //sell at l1 LIMIT
    sell at l2 stop
    ENDIF

  5. JanWd • 03/08/2018 #

    Mr Beep, nice strategy you have build !

    I played around with your code, and made my own variation on your code, see below, just an alternative way of coding (less static)

    I am not convinced (yet) about the reliability of the outcomes : if using the code on 100.000 bars, it shows no profit for the first 50.000 bars, I personnally am afraid of overfitting.
    Maybe you have a different opinion.

    Your question : ” For the SL / TP I’m still testing myself and I’m not sure how to improve the performance.
    Do you have an idea how to do that? ===> An good option is to use “Variable optimalization”, for the optimal Take Profit values for short and long positions, could also be used for number of highest and lowest bars to be taken (instead of 120 bars) See also page 30 of the manual, https://www.prorealtime.com/en/pdf/probacktest.pdf

    Kind regards,

    APPENDIX

    DEFPARAM CumulateOrders = true // Kumulieren von Positionen aktiviert
    Defparam FLATAFTER = 163000 // Verhindert das Trading nach xx:xx Uhr

    DaysForbiddenEntry = (DayOfWeek = 6 OR DayOfWeek = 0) // Verhindert das Trading an bestimmten Wochentagen
    Handelszeit = (Time >= 90000 and Time high7 then // Bedingungen zum Einstieg in Long-Positionen
    BUY size CONTRACTS AT high7 STOP
    sl = round((77/10000 * close)) // stop loss
    SET STOP pLOSS sl
    pll = round((VARIABLE OPTIMIZATION 3 PL/10000 * close)) // take profit long
    SET TARGET pPROFIT pll
    else // Bedingungen zum Einstieg in Short-Positionen
    IF close < low7 then
    SELLSHORT size CONTRACTS AT low7 STOP
    sl = round((77/10000 * close)) // stop loss
    SET STOP pLOSS sl
    pss = round(VARIABLE OPTIMIZATION 4 PS/10000 * close) // take profit short
    SET TARGET pPROFIT pss
    ENDIF
    endif
    endif

  6. noisette • 03/08/2018 #

    Thank you for this code that seems to work well. But, if i’m not wrong, we can have buy and short conditions at the same time. So how can the code “decide” between sell and short?

  7. noisette • 03/08/2018 #

    sorry, I was wrong in my previous message: it’s not possible to have both conditions at the same time

  8. dreif123 • 03/08/2018 #

    hi beeb,
    i watched your BOut strategy and i like it very much.
    your code allows only one trade. (long or short).
    what has to be changed in your code, if i like to have maximum 2 trades , so one short and one long, if the events of your code will be matched.
    thx for your support

  9. Dominik • 03/08/2018 #

    Hallo beeb,
    ich schreibe kurz auf Deutsch und falls es von Wert ist übersetze ich es gerne.
    Vielen Dank für Deine Strategie … sieht schon mal super aus.
    Habe eben anstatt dem SL einen 45 TrailingStop verwendet und TP = 55 (hat mir die Analyse so raus geworfen).
    Durch den Trailing Stop finden keine so großen Abbrüche mehr statt.
    Sollte doch real dann auch funktionieren …oder???
    Es sei denn ich habe etwas übersehen.
    Beste Grüße
    Dominik

    • beeb • 03/08/2018 #

      Hallo Dominik, das mit dem deutsch schreiben kommt mir sehr gelegen. Komme auch aus Deutschland.
      Also mit deinen werten komme ich auf eine kleine Verbesserung was den Gewinn angeht aber auch auf einen Max. Drawdown von 890,20 € .
      Wenn ich die werte so lasse auf einen Drawdown von 0 €. und die Ratio ist auch minimal besser 0,03 punkte, ist aber denke ich bei dem unterschied zu vernachlässigen.
      Man kann sicher noch an ein paar schrauben drehen und kitzelt noch ein bisschen Performanz raus.
      Es gilt nur die richtigen Regler zu finden 😉
      Gruß Benny

  10. Dominik • 03/08/2018 #

    // Stops und Targets
    SET STOP pLOSS 0
    SET STOP PTRAILING 45
    SET TARGET pPROFIT 55

  11. vlongobardo67 • 03/08/2018 #

    hi Beeb, I imported the file in my platform but is does open any order.
    What is wrong , what should I check ?
    Thanks
    Vincenzo

  12. fserra • 03/08/2018 #

    Ciao, scusami ma non mi esegue il back test, da cosa può dipendere?
    Grazie

  13. reb • 03/08/2018 #

    Hello
    have you used this strat since last year ? live or Back test ?
    What are the results ?

    • beeb • 03/08/2018 #

      Yes last Year.
      But only back test

  14. drysheep • 03/08/2018 #

    Hi all,

    did anyone test this strategy recently? As i dont get a single trade in the backtest. Any Ideas?

    Thanks in advance

avatar
Register or

Likes

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

+9 more likes

Related users ' posts
BC
7 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.
Nicolas Oui pourquoi pas? :)
claudiofred Bonjour Nicolas, merci encore pour ce super indicateur. se demander s'il est possible d'écr...
Nicolas Screener déjà présent sur le forum ici: https://www.prorealcode.com/topic/indicador-lastmans...
bazilou pouvez expliquer donchian bias merci
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 ...
jobswaps vaya eres increible
jobswaps sigue subiendo mas contenido
Brisvegas If it seems to good to be true it is . Any long only system started at multi year lows will...
Nicolas https://www.prorealcode.com/topic/ayuda-screener-indicador-perfect-trend-line/#post-51291
Manu L. Bonjour Nicolas, suite a une de mes precedentes demande dans le forum indicateur, j'ai touv...
AntoGH C'est selon moi le meilleur indicateur, que j'ai vu, si vous trouvez mieux dîtes moi car dif...
Jiacky mma = average[per,1](close) should be mma = average[per,1](close * 1000). Otherwise TDF will...
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
Trading_En_El_Ibex35 El screener no busca acciones que estén en máximos absolutos , busca acciones en las que el...
Andraxx lo de volumen aceptable, lo dices en relación al Ibex 35 supongo. Porque se margen de volume...
Juanjo Hola Queria preguntarte si la idea de maximos anuales es tuya, o bien está basada en el sis...
juanj And the point of violation is the close of the candle that violates the line by generating a...
juanj For the latest version of the strategy or to follow updates and developments see the thread ...
phanz i backtested it with 10K units of EURUSD 1 hour i get an equity curve that is going one way ...
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...
juanj To follow new developments or get the latest version of this strategy please visit the forum...
tahar Hello Juan, I wanted to test Universal Strategy via a demo account on PRT but nothing happen...
BravoDelta @juanj wondering if you may help me please. I am looking for a simply strategy to use on the...
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...
Wing There's a few threads on the forum about backtest and live trades being different at times. ...
ET I agree with verdi55. As it is now, the code will only test for a breakout on the upside (li...
Philipjonasson are u still active Wing?
poonsl2828 Hi! Francesco I have test it on GBP/USD but it only have a trade on 9 Jun which i backtes...
ullle73 why not use 1h chart? has 95% hitrate
ullle73 i see most of positions are only 1 pip before exit?
Nicolas Thanks for sharing your automated trading strategy idea. Even if you accumulate loosing orde...
Maz Ok. Potential here to build onto this. Have opened a forum thread for further discussion: h...
ALE
7 years ago
CSR strategy DAX 1 D
CSR strategy DAX 1 D
17
Strategies
Jesper I tried it on dax 1D and I did not get any trades. Shifted to 10H and it started working. Wo...
rgrgrgr I have the same problem
avatar
crazytrader Is this working?

Top