Lift up and down DAX 5M

Lift up and down DAX 5M

Hi guys,

I want to share one of my DAX trading ideas based on cross over/under yesterdays high and low in combination with volatile intraday trading windows and certain week days. The approach is very simple works without indicators but seems to be very robust and reliable.

I have inserted Adolfo’s litle beauty concerning money management but fixed position size is possible as well (simply remove the comment).

Comments and improvements are welcome.

have fun

Reiner

 

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. Nicolas • 05/25/2016 #

    Hi Reiner, and thank you again for contribution. Your strategy embed some nice code and that’s why it’s always interesting to have this kind of contribution in the library!
    Why does the takeprofit and stoploss have different values for buy/sell sides? I have changed the featured image of the strategy for everyone to see that everything were not so good before 2015, I think that it’s a bit overfit though. 

    • Reiner • 05/25/2016 #

      Hi Nicolas,
      Thanks for your comments. I appreciate your work very much – this kind of a PR platform I’ve missed for a long time :-).
      Unfortunately backtesting is limited for me to the last 100.000 candles – do you know how to extend this as a IG customer?
      In 2014 the DAX was a “lame duck” and breakout and trend strategies had there difficulties but at the end of the day this little beauty never had big drawdowns. I traded this strategy since last autumn only on the long side because of the good profit factor. Trading the short side with the same sl/tl is profitable as well but smaller profit rates shows better results.
      best regards
      Reiner 

  2. markoukay • 05/25/2016 #

    1 week into using Prorealtime and this ones is going to take me a little while to figure out what is happening. But in a one month back test yields a nice modest return doesn’t it. Really finding this website useful, thank to everyone who contributes.

  3. Gustaf • 05/25/2016 #

    Very interesting.This has defenitely given me many new idéas on how to code.Thanks!

  4. Doctrading • 05/25/2016 #

    Very interesting code.What a pity than we can’t backtest before 2014… A backtest on 10 years would be very reassuring.
    I didn’t check the validity of the orders, buy this strategy seems very effective, thanks for sharing.

  5. Doctrading • 05/25/2016 #

    It also works in M15 timeframe. But with drawdown from May to October 2011.
    The final performance with fixed position size on 8 years backtest is around the same as your test in M15.

  6. Andres • 05/25/2016 #

    It’s definitely seems to be profitable on real mode.
    Thanks a lot for share, Reiner!
    Andrés.

  7. flowsen123 • 05/25/2016 #

    Hey Reiner,
    Thank you for all your work here!
    If you register at IG, it is possible to do it with a link of prorealtime. That way prorealtime will give you the professional version of the software, which includes more histoical data.
    Is it ok to post the link here? If not, please delete it.
    https://trading.prorealtime.com/de/brokerage/cfd-forex-trading
    But I am note sure if it can be done afterwards.

  8. noisette • 05/25/2016 #

    Hi Reiner,
    Thank you for this interesting code.
    I like when the ratio is over 2!

  9. noisette • 05/25/2016 #

    And: Did you try an other indicator instead of moving average?
    Thanks

    • Reiner • 05/25/2016 #

      Hi noisette,
      I’ve only tried MA. Feel free to improve and let me know if you find a better approach.
      What it makes profitable is to sort out the days with bad performance. 
      Regards
      Reiner

  10. avatar
    Anonymous • 05/25/2016 #

    very nice… in your opinion could it be curve fitted?

  11. avatar
    Anonymous • 05/25/2016 #

    very nice… in your opinion could it be curve fitted?
    those paramenters different for the short and long scares me a little. How did you chose them?
    sl = 50tp = 130
    sl = 90tp = 30
     

  12. avatar
    Anonymous • 05/25/2016 #

    Why do you sell at 11.30? Is also that choosen on backtests?
     

    • Reiner • 05/25/2016 #

      curve fitted?
      It’s curve fitted, sl/tp were the best values out from the historical backtests
      11:30?
      it’s my personal approach, usually I’m only trading from 9-11:00 – 11:30

  13. avatar
    Anonymous • 05/25/2016 #

    Reiner… please open a thread on this. I would like to share some information with you. I’ve studied it a lot… The optimization you have done on which index has been done? Only DAX? And on which period?
    I’ve changed your parameter curve fitted with ATR and tested it on other indexes. there could be a possibility to put this live but I need your help to understand something.
     

    • Reiner • 05/25/2016 #

      Yes, I’m trading only the DAX in 5 Minute chart and as IG customer for me are only the last 100.000 5 M candles available but this strategy should work on all indices as well.

  14. avatar
    Anonymous • 05/25/2016 #

    I have modifed it a little… please go to here… http://www.prorealcode.com/topic/lift-up-and-down/#post-8604

  15. CKW • 05/25/2016 #

    Hi Reiner,
    What is the max contracts when you running on Pro Order Trading? Mine having issue if I limit to 5 contracts and position size is 5.

    • Reiner • 05/25/2016 #

      I tried different sizes (3-10 DAX Minis) without problems

  16. CKW • 05/25/2016 #

    Thanks Reiner.
    Then it’s really weird on today!!! Line28 auto Sell when Line 36 triggered without hitting SL / TP / Time Limit.
    You can try to see today Equity Curve

  17. CKW • 05/25/2016 #

    Further explain, Line 36 forced to exit Line 28 Position (Long), and Immediately do a “Sell Short”.

    • Reiner • 05/25/2016 #

      On Monday yesterdays High/Low are from Sunday, a small range combined with low volatily triggered some loosers today, you understand it better, when you add some priceline indicator with High/Low from yesterday in the DAX chart
      regards
      Reiner

  18. CKW • 05/25/2016 #

    Thanks. 

  19. Real Pro • 05/25/2016 #

    Could I have the pseudocode for this strat please?

    • Reiner • 05/25/2016 #

      Hi Real Pro,between 8:45 – 11:30 MEZ and every 5M candle check for a long trade if:– system is not long– close crosses over yesterdays high (please note this is the IG high and on Monday it’s the high of Sunday)– close ist greater then simple moving average[14]– number of long trades is less 3 trades per day– current day is not Fridaycheck for the short side– System is not short– close crosses under yesterdays low– close ist less then simple moving average[9]– number of short trades is less 3 (max 2 trades per day)– current day is Monday or TuesdayTrades will be closed:– at 11:30– system is long and the short conditions are true (close long and open short)– system is short and the long conditions are true (close short and open long)– stop or target levels will be achievedThat’s it, very simple.The general idea is to trade only on the first 2-3 trading hours, trade yesterdays high/low breakout with sl/tp and sortout the week days where this system is not profitable. This idea works more or less in every index with enough volatile.regardsReiner

  20. Real Pro • 05/25/2016 #

    Thanks for taking the time to do that Reiner.  Much appreciated.  I’ll try testing this on Amibroker platform.
    I have copy/pasted your original formula into IG’s PRT backtester and it takes no trades.  Not sure why.  If you could suggest something that would be great.

    • Reiner • 05/25/2016 #

      I have tested it again and it worked as described. Maybe a problem with the timezone – all times are MEZ.

  21. CKW • 05/25/2016 #

    Hi Reiner,
    I studied and tried this strategy on PRO demo account. I modified some parameter, Results seems reliable as backtest result. Trading performance seems not too bad except when some situations it caught by the New high / New low then U-Turn. This wil be painful. Is there any good indicator to prevent this ?
    br,CKW
     

    • Reiner • 05/25/2016 #

      CKW, you mean oversold/overbought szenarios? Play around with an oscillator e.g. the wave trend oscillator, the code is available here in the library.

  22. CKW • 05/25/2016 #

    Yes. Something like that. I will try and pair with your strategy 

  23. John Ufuoma • 05/25/2016 #

    Hi Reiner, can you build a system based on specification?

    • Nicolas • 05/25/2016 #

      You can ask for free assistance on forums: http://www.prorealcode.com/forums/
      or use the dedicated programming services: http://www.prorealcode.com/trading-programming-services/

    • Reiner • 05/25/2016 #

      Hi John,
      Unfortunately I haven’t the time to offer the requested service but I’m sure you will find someone in the forum.
      best, Reiner

  24. RomanK_actor • 05/25/2016 #

    Hello guys,
    Thank you Reiner for your excellent work !
    I put the code in real trades and until yesterday it took the trades. Did it happen to some of you ?
    Best regards,
    Roman

avatar
Register or

Likes

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

+4 more likes

Related users ' posts
Jan
5 years ago
Kovit Hi guys, please could someone help with a bit of Ichimoku code that will improve performance...
Kovit lol I should be more exact with my wording, more accurately I was looking for an indicator t...
jm121212 how can we change the default settings?
nfulcher Please could someone explain how the following code is calculated:- iDI = TEMA[3](DI[DI2]...
oakenstream Jan, I find sometimes that the priceexit variable is never set. It seems to happen when the ...
Matt66612 I do not understand the first time I launch the backtest I got the same result as you. but ...
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...
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...
AntoGH how did you backtest it ?
PastaPesto @AntoGH , I dont know if you are asking me, but my backtest was made in an IS of 4 years bet...
Ridder @PastaPesto Do you still running this and how is the results? Thanks
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
Francesco78 @nicola onestamente non ricordo se lo avessi scelto anchored or ananchored.
debs83 Is this strategy standing for DAX please?
Nicolas Title says that it is for Hang Seng
juanj @Holy Grail, glad you like it. Would you perhaps mind sharing your results here: https://www...
CaptainCaveman I am reluctant to say this buy I was a member of Dr Elder trading group for a while . The fa...
micquan The design is too complex and the performance is low.
Janfi Hello, I'm new to ProRealCode and I do not understand the following summation[n](indicator...
Kaci It seems he's just checking that the previous MACD is < 0 for maximum one period ? I'...
Daniel Martin Hi do you know how have and entry after the second cross? There is crosses below 0 and cross...
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'...
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
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.
Nicolas Thanks for the update David!
sublime06 quelle parametre utilisé vous pour obtenir ces resultat ? merci
ullle73 you still use tihs one David?
Juan Salas Hi FULVIO09, Nice piece of work. It seems to work very well. Does only work for INDEXES??...
Johann Hi @FULVI09, I understand the instructions however I'm not too sure how to determine the "p...
Player8520 Hello, It doesn't work with me either. However, I changed AA to 180 on line 15, added th...
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...
odin i use it on daily Chart only. i use it on stock market for long only startegies. i´m no fan ...
noisette Hi Odin, Thank you for the code. I made sone test with M1 timeframe and results have to be ...
Onega Sorry, a quick question I cannot see on forum please ?...Using ProScreener, how can we get t...
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
Leo Does it opens pending orders?... maybe they were not trigger.
Mattzi Dont know, all i can see is that it opened an order yesterday in backtest but not live. Th...
Jean-Christophe Hello Leo, when running the strategy from 29/12/2015 to 31/08/2018 on ProRealTime Premium, I...
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...

Top