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
LancerX This catch my attention, tried to load in pro order but not coming through. What variables n...
macdopa Hello ALE. Is there any way to help us develop or program an algo-strategy for automatic tr...
Giuseppe68 Ciao, sono nuovo e poco esperto, volevo chiedere perchè il ProBacktest lo esegue correttamen...
Yannick Hello There is a mistake in trailing stop code, I think that this should fix the problem s...
Paul About the trailing-stop the way it's coded. That works for backtesting only, just look at th...
Jonny sorry paul, but system says that is not possible to put many stop order combined...what have...
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.
Madrosat Bonjour Nicolas la formule du stop loss est elle vraiment valable ?? il n'y a pas au depart ...
Nicolas Il y a peut-être un erreur en effet, essayer avec: set stop ploss (averagetruerange[14] * ...
Madrosat ok merci Nicolas c'est avec /pipsize que ça fonctionne
GraHal Please forgive the daft question, but why is 3-bars-trailing-stop-williams-3.itf included a...
Kris75 Hi, Seems great but what would be the code for a stock ? Thanks, Chirs
oakenstream Paul, what is the best way in your opinion to know if I have over optimized?
edocasa CIAO , SCUSA SE TI CONTATTO,VOLEVO SAPERE SE SEI UN PROGRAMMATORE,NELCASO SE SARESTI DI...
gabri Non sono un genio ma so fare qualcosa. Posso provare ad aiutarti ma se e' troppo complicato ...
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 ...
Francesco78 @snucke the results are not the same because the pictures refers to a few years ago. I am no...
snucke @Francesco78 i mean the results differ when i test on my own. so im curious of what the p...
sfl still working, using with filters like : trendFilterUp=close>average[190](close) tren...
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...
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
JanWd Tried the code, nice concept, seems to work quit well for US/EUR 2hrs, Other markets seems n...
JR1976 Simple and nice code , congrats !!! Seems work well with TIme frame 1 h
phanz Hi all, Sorry revisiting an old post. This algo is simple, and simplicity is the ultimate ...
jens_kittner Since 2018 this strategy leads to bankruptcy)))))))
Jan Wind You do not HAVE to run it
Brisvegas As an exersize in writing code its fine but as a tool to make money not so much . If you hap...
simoneb ciao Gabri, potresti il modo più efficace per selezionare il paniere di 20-30 titoli su cui ...
gabri Simoneb, puoi creare uno screener che cerchi i titoli con un modified sharpe index inferiore...
gabri Dimenticavo, i titoli che performano meglio sono quelli che crossano la linea dello zero (o ...
bertrandpinoy BONJOUR PAUL impossible de tenter le trading automatique, PRT me dis que l instruction "GRAP...
Paul Bonjour, supprimez les lignes avec un "graph"
bertrandpinoy merci. vous l utiliser actuellment sur quel instrument vous? et quel timeframe? Merci
JanWd Hi Francesco, nice algorithme, works with me on other markets as well !
Francesco78 thank you Janwd. Do you mind sharing where it works? happy new year!
Aaron Bennett Nice analysis, with the proposed tweak I'm seeing great performance since 2008/QE on the CAC...
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 ...
EchnatonX Hallo Im Demomodus bei IG habe ich das Problem, dass oft keine Orders ausgeführt werden kön...
Jan EchnatonX, nice late answer of me: Make the stop loss a percentage of the close, like 100/...
guleny Hello I made some optimization to make it better. But there are 5 transacttion which incr...
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...

Top