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
Anjuna Marine Thanks for sharing this. I've tested it over 13 years, and each year has been profitable. I ...
phoentzs
6 months ago
Gio56 Bonjour, merci pour ce code. j'ai juste un problème sur le code, j'ai un message “L’instru...
Nicolas Il faut supprimer cette ligne qui est utile uniquement pour visualiser des valeurs durant le...
Gio56 Super merci Nicolas cela fonctionne. Top
sfl Removing the short side will help, I would like to know from the author where are the condit...
WE ARE SOCIETY DEFPARAM cumulateOrders = False rem CAC40 (france40) en 10 secondes rem à la ligne ci-dess...
David Daget Bonjour. A noter que cette stratégie fonctionne aussi sur le ftse. Ce qui n'est pas surprena...
YvesRobert Hello daviddelaferla. Ok, but to optimize period and mode, filter1 and filter2 must be 0 or ...
davidelaferla Hello YvesRobert! To optimize period and mode, filter1 and filter2 must be 0
Germano77 hello, thx for sharing, but wich broker do you use? At IG I got the notification "automatic...
sfl what do you think using it with weekly timeframe ?
sfl CAC on Weekly timeframe, long only, short dosent work. Defparam cumulateorders = false ...
superfalcio This kind of strategies coming from Connors research usually work well on timeframes from 1D...
Stanko Ciao Crusoe, grazie per il commento: confermo che il trailing stop non funziona bene. Provo ...
taklause I was wondering, you said it works on the 1 min Chart, but you never use it in the code as t...
Stanko Ciao taklause. Utilizzando il grafico a 1 minuto e fino al grafico a 15 minuti il codice fun...
Ciccarelli Franco Hai ragione, mi dava valori alti perchè usavo questo loss "SET STP LOSS 1xAverageTrueRange{1...
YvesRobert Hello davidelaferla, how do you put a stop loss and where exactly ? the moment you enter on ...
Hypersimo Buongiorno Davide a quale distanza inserire stop loss e tp nella strategia? grazie
ProRealAlgos Hi Crusoe76. Do you mean that you would like a short version of this?
crusoe76 yes please
banjoo78 Hi, first of all thank you for your sharing. I'm new of ProRealTime and I can't replicate y...
ProRealAlgos Same here ;)
YvesRobert Hello, can someone explain this strategy because I don't understand what the program does ex...
andyfx79 l have been demoing for the past couple of weeks with great results , but during a bear mark...
ProRealAlgos.com Hi JohnScher. Yes I think you refer to the strategy called "Turnaround tuesday". This strate...
JohnScher I am not alluding to the turnaround tuesday. The general opinion is that Turnaroundtuesday ...
ProRealAlgos.com Yeah that's maybe not of importance. Anyway. Enjoy! :)
superfalcio Hello, very interesting. Do you have already some tested condiction including timeframe and ...
KumoNoJuzza Hi Guys. This looks very interesting but don't overnight fees kill the profit when trading o...
ThaNoizy Yes, you cannot use CFDs on IG for Weekly strats you need to use their Index Futures, they h...
KumoNoJuzza Thanks. I did not know IG had Futures. I am always missing an info or a detail. I used to th...
JohnScher Short variant, see at https://www.prorealcode.com/topic/late-lunch-trade-dax40-strategy/
DANY Hi JohnScher, Thanks a lot for your contribution. Consider this release to avoid overfit...
JohnScher Thank you so much for exploring the Late Lunch Strategy. For discussion and in answer to yo...
BenJuice JohnScher, merci de partager ta stratégie. Je suis nouveau dans ce domaine, sur ton code q...
JohnScher As a percentage of the price, here 2%. StopLoss as well as TargetProfit. SL and TP come ...
Wilko I absolutely love the simplicity of this mean-reversion strategy. Well done!
Patrice210 bonjour STANKO, effectivement la première ligne apparait en anomalie et je ne comprend pas v...
KumoNoJuzza Hi guys, Thanks @Stanko and everyone for your contributions. I have been playing around ...
Stanko Hi KumoNoJuzza, thanks for the post. I also tried your code with Dax and the performance is ...
snucke i dont think you understod the question. i did not ask about the band pass indicator. i as...
thomas2004ch Hi, Is this startegy suitable for daily SPY? Regards
ebous64 Je cherche à traiter des effets de bords avec un encadrement ajustable des variables. Vous a...
JohnScher Postscript: It's running in the live right now. One position after the other is opened. ...
ullle73 nice!! how's it been since your last post on going live? :)
thomas2004ch Hi, Is this strategy suitable for daily SPY? Regards
adconsulting
2 years ago
japan 225 cash 1 h
japan 225 cash 1 h
28
Strategies
superfalcio Ora è tutto ok e gira correttamente!!! Grazie, mi sembra veramente notevole a prima simulazi...
Meta Signals Pro Hi @adconsulting, Thanks a lot for these contributions. I am currently running live 2 of y...
superfalcio Ciao @adconsulting, stavo rifacendo un check dei tuoi sistemi, quello su eurusd-30 min... on...
wally Hola soy nuevo en el mudo robots. Alguien seria tan amable de poner el archivo itf.file ya q...
Darren Nash I found this works well on the DOW
thomas2004ch Hi John, Is your strategy suitable for daily SPY? Regards
KAMJKAZE thanks, really interesting!
2c95 thanks, why do U prefer average than lowest ? to close under average does'nt mean another...

Top