Pathfinder DAX 4H

Pathfinder DAX 4H

Hi guys,

I want to share one of my DAX trading ideas based on simple daily, weekly and monthly high/low crossings. I observed that simple cross over and cross under of daily/weekly/monthly high/lows in combination with a multiple smoothed average and some simple filters could be a profitable approach. On the long side the cumulation of orders could be a performance booster for this system.

Comments and suggestions for improvement are welcome.

Have fun



Many other instruments and continuously updated versions are available in the dedicated forum topic of this automated trading strategy, everyone can read and participate here: Pathfinder trading strategy forum topic

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?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Wisko • 07/04/2016 #

    Hey Reiner,
    im Backtest sieht es so aus, als ob Trades nur zum Open einer neuen 4h-Kerze eröffnet werden. Wie läuft das im Live-Trading? Wird der Trade eröffnet, sobald der CrossOver/Under der Signallinie passiert? Was passiert, wenn der Kurs um ein High/Low Level schwankt und es innerhalb kurzer Zeit mehrere CrossOvers/Unders gibt?
    Ich hab auch noch eine Frage zur Tradingzeit: Trades werden nur zwischen 8 und 22 Uhr gestartet, ich gehe also davon aus, dass auch nur dann die CrossOvers/Unders zählen und nachts stattfindende Crosses ignoriert werden, oder? Wie sieht es mit den Ausstiegen aus? Wenn nachts ein SL/TP erreicht wird, oder die jeweilige Anzahl der Kerzen erreicht wird, wird dann direkt verkauft oder erst am nächsten Morgen um 8?
    Danke schonmal für die Hilfe

    • Reiner • 07/04/2016 #

      Hi Wisko,
      Der Trade Entry erfolgt im DAX nur zur Eröffnung der Kerzen um 9, 13, 17 und 21 Uhr und wenn genau! zu diesem Zeitpunkt ein Crossover/-under vorliegt. Crossings ausserhalb des Trading Windows führen nicht zu einem Trade. SL/TP ist im Life Trading bisher nur im Trading Window eingetreten, ich vermute aber, dass dies generell auch ausserhalb des Fensters passieren könnte, diese Fälle sind aber sehr selten und du kannst diese dann morgens um 8/9 schliessen. Tritt die Erreichnug der maximalen Haltedauer ausserhalb des Tradingfensters ein, wird morgens um 9:00 die Position glattgestellt.
      Auf welche Plattform willst du Pathfinder migrieren?
      Gruß Reiner

  2. Wisko • 07/04/2016 #

    OK, falls es also vorkommen sollte, dass zB der Cross der Signallinie über das Daily High während einer langen bullischen Kerze erfolgt und bei Beginn der neuen Kerze demnach kein neuer CrossOver vorliegt, findet kein Trade statt? Die Signallinie müsste sich doch (wie andere MAs auch) während die Kerze wächst auch bewegen, oder? Hast du das mal beobachten können?
    Ich würde den Pathfinder gerne auf die MT4-Plattform übertragen, da dort Microlots (0,1 €/Punkt) angeboten werden und dadurch ein deutlich präziseres Risikomanagement möglich ist.

    • Reiner • 07/04/2016 #

      die Prüfung der Bedingungen erfolgt ausschließlich beim Open der Kerze z.B. 9:00:00, in deinem skizzierten Szenario wird nicht gehandelt

  3. Wisko • 07/04/2016 #

    Alles klar, danke

  4. ALE • 07/04/2016 #

    this strategy is formidable, the jpeg above is of the first version?

    • Reiner • 07/04/2016 #

      Yes, description and picture is still from V1. We shoult make an update. Current version is available in the forum.

  5. volpiemanuele • 07/04/2016 #

    hi, can i have the latest version of the strategy ? I wont to try it in FTSE 100 cash on IG market. What is the time frame that you suggest me to use ? 4H? And the time zone ? 8 -22 the same of DAX?  What are the variable that I must to optimize ? Thanks Emanuele

    • Reiner • 07/04/2016 #

      Welcome Emanuele,
      You will find the latest version of Pathfinder FTSE H4 V5B2 here in the forum
      Pathfinder was developed for H4 only, trading window for FTSE is 9-22 CET, variables are up to date, please adjust position size to your account size.
      best, Reiner

  6. Wilko • 07/04/2016 #

    Dear Reiner,
    Thank you for posting an interesting system, indeed. I’m looking at it and trying to analyse potential weaknesses. I was a bit sceptical to the numbers you are using for the triple smoothing. I suspected that you had merely curve-fitted, but so far I have run the optimisation myself, and it appears that neighbouring numbers work almost equally well, although your chosen numbers are “optimal”. But this result would indicate that the notion of triple smoothing is not necessarily curve fitted. What bothers me, though, is that PRT backtest, for all its’ benefits, has a couple of serious drawbacks that can give you very different results if/when you go live. One of them is that it appears (at least to me) that PRT backtest is unable to handle backtesting a system that can trigger both a long and short position. I can’t see that the code will in itself not trigger both a long and then a short on a different signal cross-over, or vice-versa. So my question is; Have you tried to disintegrate the system into its different “parts” ie treat each signal separatetely in a system for each signal, to see if you get the same results when you add them up?
    Kind regards,

  7. Wilko • 07/04/2016 #

    Dear Reiner, dear fellow forum members,
    After writing the previous post, I have myself decomposed the system into several independent systems and backtested them separately without the seasonailty boosting. What I found was that each of the parts/strategies independently generated not many trades over the full available database. In other words, allthough the outcome for each part/strategy may be positive, it is based on few observations, meaning the statistical expectation that historical results would repeat is weak. If you merely add a lot of weak parts/strategies together, this does not in itself guarntee the end-result is a strong (or rubust) system. Therefore, I would issue a warning: The parts/strategies incorporated in this system need to be tested independently on a much bigger dataset in order to be able to say with any statistical significance that the integrated system is likely to repeat past performance. In my book, one needs at least 100 observations for each of the different parts/strategies. To avoid misunderstanding, with parts I mean one part/strategy buys break of monthly high, the next part/strategy buys on break of weekly high, and so on. Pathfinder is comprised of 7 different parts/strategies. On top of that filters and seasonality boosts are applied, not uniformly, increasing the risk of curve-fitting. IMHO.
    There are some nice ideas in the code that have been well applied, and for these ideas I thank Reiner!  I’m not saying the integrated system won’t work, I’m saying the certainty that it will work live is not high enough for me. I hope my findings can be of some help to fellow forum members. Please be careful out there! (Quote h/t the tv-series Hill Street Blues from the 80’s)

    • Reiner • 07/04/2016 #

      Hi Wilko,
      Thanks for your feedback and welcome. I will move your comment to the realated forum for further discussion. I think many people are really interested to underand a little bit more your arguments.
      best, Reiner

    • flowsen123 • 07/04/2016 #

      Hey Wilko,
      that is an interesting point. could you upload the results of the “single” test that you made? if I understood you correct, you see this strategy as several strategies that are combined and you tested them separatly?
      Thank you

  8. Wilko • 07/04/2016 #

     Sure. I’d be happy to answer any questions. /Wilko

    • Reiner • 07/04/2016 #

      please answer here

  9. GAMMA • 357 days ago #

    thank you for this system, I try to run on down/nd  very good, but when I try on sp500 it not take any trade? try crude oil not good luck ,
    looking forward  to hear from you

    • Reiner • 356 days ago #

      Hi GAMMA,
      I didn’t offer a Pathfinder version for sp500 because backtests were very poor.
      best, Reiner

  10. GAMMA • 356 days ago #

    i can understand that sp 500 other animal  , do you have for crude oil or brunt oil ?
    thank you in advance.

  11. naqviak • 354 days ago #

    Is this strategy converted to Ninja trader 7/8 by someone? If so, can I find the link?

    • Nicolas • 354 days ago #

      Sorry, this website is dedicated to prorealtime programming, I don’t any Ninjatrader stuff around here! do you??

  12. Mr Mackey • 347 days ago #

    Greeting Reiner, Simon here from London…
    Just joined this site, even though I have no clue to programming, what a great site… I was intrigued by your code…
    I like using DFB spreadbetting here in London for tax reasons so I backtested pathfinder v3 for DAX30 and found fantastic results, I compared it to v4 and the results wasnt nearly as good, so here are my questions:
    I am running v3 on a demo account and it opened a position at £2 per point, how do you change these figures?
    The open position has put a stop nearly 500 points away? I do not understand this as it is using the margin?
    Same for the limit, nearly 500 points away
    When I activated the autotrading, proorder asked for my position size, I inputed 10 per point, but the bet is still 2 per point?
    Only opened it yesterday and the first order is, so far, doing well!!!!!
    Thanks in advance

    • Reiner • 347 days ago #

      Hi Simon,
      Thanks for your comment and welcome. You’ll find the last news and releases for Pathfinder here in the forum
      In the meantime we have version 6 running. All settings are controlled by the code and have nothing to do with the margin. Pathfinder is pyramiding the position and the position size is related to a saisonal multiplier. The requested position size in ProOrder is a maximal value in a sense of an overall limit for the whole strategy. By default Pathfinder is trading maximal 15 contracts. I recommend that you go through the forum entries and create a post if something isn’t clear. There are also some UK guys subscribed with the same IG accout features to answer your questions.
      best, Reiner

  13. Mr Mackey • 347 days ago #

    Thank you Reiner for responding, I can only find v4, am I looking at something wrong?
    Pathfinder not to be used for DFB?

    • Reiner • 346 days ago #

      Simon, what is DFB? Please ask further question in the related forum topic.

  14. demoz • 336 days ago #

    Did anyone test this out with a live account?

  15. volpiemanuele • 308 days ago #

    Good morning,
    I would use the strategy on my IG account on FTSE 100 futures, rometime (9/22). Someone have already optimized this strategy on this instrument? Please could you give me a link of the ultimate version of the strategy. If no one has optimized the strategy on this market please could you tell me which parameters I have to optimized and the best time frame? Thanks emanuele

    • Bandido • 308 days ago #

      Emanuele, vai nel forum e troverai di tutto e di più 😉

    • Reiner • 308 days ago #

      Hi Emanuele and welcome,
      You’ll find the latest versions at the first post in the related forum
      Best, Reiner

  16. volpiemanuele • 305 days ago #

    Tanks, if I want to enter in a market only with 1 lot do you confirm that I cam modify only this parameters? Also the seasonal logic is bypassed with these parameters? 
    DEFPARAM CUMULATEORDERS = falseONCE longPositionMultiplier = 1ONCE shortPositionMultiplier = 1

    • Reiner • 305 days ago #

      Emanuele, please ask in forum in the future. Set position size and maximum position as well. Please be aware that Pathfinder’s performance based on grid orders and without you have another system with much higher drawdown. I’ve posted a Pathfinder DAX version for small accounts (4k).

  17. volpiemanuele • 305 days ago #

    Ok, thanks

  18. Master_Code • 295 days ago #

    Je ne comprends pas bien ce qu’apporte la V3 par rapport à la V2, car le ratio nb Gain/ nb Perte est légèrement inférieur.

    • Nicolas • 295 days ago #

      Un topic de l’auteur du système est disponible ici:
      De nombreuses autres versions et améliorations sont disponibles à cet endroit.

  19. Master_Code • 295 days ago #

    Est ce normal qu’un ordre ne passe pas en backtest, mais passe en réel ?
    Ca m’a crée une perte très douloureuse.
    Merci de votre partage.

  20. djtaktik • 280 days ago #

    Hello reiner,
    How do you explain that pathfinder have good results on DAX but not on the CAC ?

    • Nicolas • 279 days ago #

      You should join and read the forum thread about this strategy. There are plenty of different parameters to adapt from an instrument to another. Since I’m not the author of this code, Reiner could probably answer with more details though.

    • Reiner • 279 days ago #

      Hi djtaktik and welcome,
      I have answered your question in the related Pathfinder forum because I want show you a picture.
      Best, Reiner

  21. danver34 • 260 days ago #

    is this version the definitive one or from the original one have there been modifications to the code ? Also I see that members have used it on different time fames any time frame that was favourite or is 4H still the best for dax?

Register or


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

+66 more likes

Related users ' posts
5 days ago
klaus Hi Nicolas, this indicator is repainting, is it?
HerveS_67 Attention, regardez bien la construction du code !!! Les points bleu s'affichent entre bari...
Nicolas There's no repainting indicator in prorealtime. But this one plots the points afterwards of ...
TempusFugit My timezone is UTC+00:00... and I think that´s the backtest timezone
masala Thanks for the idea. Personally I don't like to enter trades without a hard stop and also I ...
TempusFugit Masala, thanks for your contribution. I don´t like the offmarket spreads neither ;) I unders...
jebus89 Im getting a huge drawdown, seems like i need to be a millionair before i run this :)
Nicolas That's right, it depends from when you start the strategy! ...
Jessar Hallo Leute, es wäre interessant aus dieser Strategie mit Hilfe von diesen indikator https:/...
primo1 Bonjour Nicolas, sur quelle échelle de temps minimum tu utilises l indicateur je pense...
primo1 Bonjour Nicolas Pour créer la strategie comment peux tu traduire l"apparition des points....
Nicolas Exemple dans ce sujet du forum ProOrder :
Inertia Sorry lysan2, the exact one for long only doesn't work well. Perhaps, you may have to look ...
andreag76 Long version... not very good //DEFPARAM Preloadbars = 3000 DEFPARAM CumulateOr...
Inertia @Andreag76 Thank you but your code is broken. Variables are missing and the trailing stop...
gabri Hello, I am not sure to understand the screener completely. If you are looking for a screen...
Trading_En_El_Ibex35 El screener no busca acciones que estén en máximos absolutos , busca acciones en las que el...
juanj The last fractal will be coordinate 1 and the high/low of the candle that generates an angle...
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 ...
JM David, Thanks a lot and next week I begin the test of this strategy in real... You have ot...
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...
Nicolas Good job, but I think there is something wrong in the description since trade direction is c...
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...
verdi55 Only MaBotzy in line 127 should be set to a large value, for example MaBotzy = 10000000. MaB...
verdi55 The system greatly favors long over short positions, because MaBotzy=0 in line 127 and MaBot...
traderfred Hello Verdi, I'm not sure to understand what you mean..Did you tried to test with your cor...
CKW Thanks Francesco for sharing. Equity curve in overall looks great and testing it on demo :)...
Francesco78 Hi CKW thanks for your comment and for spending time on the steategies. The framework is ver...
poonsl2828 Hi! Francesco I have test it on GBP/USD but it only have a trade on 9 Jun which i backtes...
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...
6 months ago
CSR strategy DAX 1 D
CSR strategy DAX 1 D
Nicolas The code has been updated in the attachment of the post with the last version which contain ...
ALE Thanks as always Nicolas
Toto le Heros It looks very interresting. I have one question related to the following result in ProbackTe...
imokdesign Hi Everybody, when I look at the strategy I felt the need to implement a Moneymanagement-Sy...
Inertia newlevel then multiplier=multiplier+1 oldlevel=newlevel newlevel=strategyprofit+startequi...
Inertia Hi Bjoern, I was playing around with your code this morning (EUR/USD 5'). Thank you to the...