Repulse and DPO – 4H OnlyLong-Strategy on Dax

Repulse and DPO – 4H OnlyLong-Strategy on Dax

Hello

This is a small OnlyLongstrategy with quite acceptable results.

The Detrended Price Oscillator and the power of the candles with the Repulse Indicator are used.
If both > 0.1 we buy a position, if one of the two indicators Short < 0.1 we sold. Buying and selling is quite convenient at the usual times in the Dax at 09.00 / 13.00 / 17.00 and 21.00 hours (utc+2 “Berlin-time”). Who likes can  protect the losses and profits in percent and not only via the indicators.

Like all trend-following systems, it has weaknesses in sudden trend changes and range phases, but this strategy still achieves a better result than the Dax itself.

kind regards

JohnScher

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. Glen Marquis • 05/06/2018 #

    This is dangerous as it doesn’t consider a 50-100 pip swing before the bar close direction.

  2. JohnScher • 05/06/2018 #

    Yeah, I know that.
    It would be nice if you could bring 1, 2 or even 3 suggestions how this danger can be banished. Perhaps together we can optimise the results of the strategy.

    • Glen Marquis • 05/06/2018 #

      Perhaps the answer is just be long above Hourly open and Short below hourly open.

  3. JanWd • 05/06/2018 #

    Dear John,

    nice strategy, with 1.7 pips average spread and optimising p and q to respectively 3 and 7 outperformes indeed the DAX, it gives a profit of 6.093 Euro over a period from January 2014 to May 2018, with an In Sample result of 4.705 Euro (first 68% of the bars) and Out of Sample 1,388 Euro (remaining 32% of the bars), the Out of Sample result is 62% which sounds relative good.
    Also good to know is that with this strategy you are only less then 40 % in the market !
    Maybe also good to mention that the first 11 months, from January 2014 to December 2014, profits are ZERO, which is annoying and it would be hard to maintain the strategy if the simulation would have been true during that year !

    • JohnScher • 05/06/2018 #

      I did not come up with the baking test results, they were supplied by PRT.
      I didn’t go through a change from p and q to 3 or 7.
      And times I’m not on the market I haven’t checked either, but I’ll make up for that.
      Currently I also have the strategy programmed by someone in MT4 to get a separate backtest. Depending on the result of the backtest from MT4, I then go live on air “Who beats the Dax?

  4. Glen Marquis • 05/06/2018 #

    Perhaps the answer is just take Longs above the 4Hourly openprice and Short below the 4Hourly open .

    • JohnScher • 05/06/2018 #

      “Perhaps the answer is just take Longs above the 4Hourly openprice and Short below the 4Hourly open ”
      Can you rewrite the code accordingly? – my coding skills are very limited.

  5. Glen Marquis • 05/06/2018 #

    Sorry John, I do not have much time to. But tested on lesser timefrom for 1hr and 4hr blocks beginning at session open likely a good starting point.

    • JohnScher • 05/06/2018 #

      Well, hi,
      you are welcome to put the code here, if we achieve better results – no problem

  6. Glen Marquis • 05/06/2018 #

    Sorry John I have no time.

  7. Geronima Ortiz • 05/06/2018 #

    Is this trading system expected overnight?
    or is it my problem?
    I see long at 21 hours, which are closed the next day

    • JohnScher • 05/06/2018 #

      Yes, the strategy works overnight.
      Open and Closes are at 09.00/13.00/17.00 and 21.00 o´clock “Berlin-Time” on the 4H chart.
      There’s a little risk involved, all right.

  8. Dymjohn • 05/06/2018 #

    Hi John
    You can cut the number of trades down by about 23% by introducing a “BuyPrice” STOP for entry 2 points above the high. This only reduces overall profits by 5.6% and reduces time in the market by over 4% coupled with an increase in number of winning trades of over 1%.

    • JohnScher • 05/06/2018 #

      Oh,
      I did not optimize the strategy.
      You are welcome to put a modified code according to your approach here.

  9. JohnScher • 05/06/2018 #

    Hello.

    I have updated the code littel bit.

    On the one hand I switched to GMT+1.
    On the other hand, I optimized the entries and exits using the Optimazingtool via the Repulse, thus slightly improving the result in the backtest.

    In the attachment the itf.ile. If there are problems with the download and/or opening, here is the code again

    //————————————————————————-
    // maincode : Dax Only Long by Repulse and DPO
    // timezone GMT+1 new !!
    // timframe 4H
    // Spread 2

    // created by JohnScher
    //————————————————————————-

    Defparam cumulateorders = false

    TradingDay = Opendayofweek = 1 or Opendayofweek = 2 or Opendayofweek = 3 or Opendayofweek = 4 or Opendayofweek = 5
    TradingTime = time >=080000 and time 0.01 and Repulse [3] >= 0.21 then // new … 0.0 before
    buy position contracts at market
    Endif

    If Repulse [3] <-0.17 then // new .. 0.0 before
    sell at market
    Endif

    Endif

    Set Stop %Loss 5 // stays !!
    //Set Target %profit 3

  10. osupero • 05/06/2018 #

    https://www.screencast.com/t/Tc0F6XB5q……………intentando mejorar su estrategia en h1..buena estrategia..yo amante del DPO

  11. osupero • 05/06/2018 #

    https://www.screencast.com/t/QmSXRbBR

  12. osupero • 05/06/2018 #

    https://www.screencast.com/t/2fCW8fkGsOeZ….solo posiciones largas por ahora

  13. osupero • 05/06/2018 #

    https://www.screencast.com/t/MIaSZ2PRg

  14. ALZ • 05/06/2018 #

    Hi JohnSher,
    Nice but not the same result
    Do you have the last itf of it ?
    Good result in production ? or it was just a test in demo account ?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Wing Yes, investigate as much as you want. For more insight, you can view the linet1, linet2 etc....
CKW Hi Wing, Thanks for your sharing. I am still trying to breakdown & understand your code...
Wing Hello CKW. No, the parameter, 7 in this case, is used when calling the RSI indicator to ide...
Nacho Buenos días Raul, tengo puesto este sistema desde hace unos días en una cuenta demo en la ve...
Dominik Hola Raul ... it looks wonderful :-) Why does it not work if I use less than 100,000 € capi...
Bobbi Hola y gracias por compartir! Descubrí que en 5 minutos teníamos algo muy bueno! Pero no ...
danhei Hi I am tryong to figure out how trist strategy works. I am new to pro real time. Can some...
Plop61 Hello,Thank you for sharing this beautiful strategy.Is it possible to indicate the code for ...
NoName Thank you very much for this fascinating trading system. It is still proving to be extremely...
ALE
8 years ago
pollon Ciao Ale,  anche a me da questo errore  "QQE_QUDAX1HBUY"  "QQE_QUDAX1HSELL"  "UNIV_QUDAX...
reb Hi Ale do you trade these QU strategies?  Are the results same as backtests Thnaks in adv...
avatar
crazytrader Hi anyone that has run this lately?
larouedegann best with this hour IF TIME =081000 THEN plushaut=highest[2](high) plusbas = lowest[2](lo...
CanAny1Trade Hi! I'm trying to put together a similar indicator but struggling. I want to mark the NY Pit...
ALE Hi Pat This code was nothing more than an experiment
pat95162 Hi Ale Do you have same results as me ? The strategy works very well in 2017 and now in 2-...
Nicolas Built on the history means that it suits the history. Always develop ideas in In-Sample peri...
ALE
8 years ago
ALE no, only with TF 15m
enzo_52 Grazie tante, Thanks so much 
JanWd Hallo Ale, First of all, thank you for this strategy. Could you explain what the BLUSTER ...
Elsborgtrading No that is wrong :) 1st runs always- then only run 2nd if 1st is on market with positions(ar...
Elsborgtrading It can only be fully automated if IG change minimum SLto 7 at night on DAX multi timefra...
Elsborgtrading A small example. the strategy would have opened 3 position on Dec 4th 2016 and keept it for ...
Cosmic1
8 years ago
Cosmic1 @JadeDB What times are you putting in?
sincitytrader I tried this one out recently,  and wasn't profitable for me.
Cosmic1 Yes, not great lately. I stopped this live at the end of last year. Will wait to see when th...
Philip Raphael Hey! Thank so much for sharing this wonderful indicator! I have always tried to code a simil...
CKW Hi Philip, What do you mean "Years" are not defined ? candle? If to code yearly candle size...
dakaodo Years not defined was probably b/c Phillip copied and pasted the code into PRT instead of im...
zilliq The reasons why I think it's time consuming and we loose time to try to do backests and Auto...
filiprb Hello Zilliq, You don't need a system to produce a walk forward test. You can easily create...
Philip Raphael It is incredible! Thanks for sharing, Doctrading!
Reiner
8 years ago
Nicolas You should join and read the forum thread about this strategy. There are plenty of different...
Reiner Hi djtaktik and welcome, I have answered your question in the related Pathfinder forum beca...
danver34 is this version the definitive one or from the original one have there been modifications to...
Reiner
8 years ago
Nicolas Overfit on past history obviously. But it doesn't mean that it would still underperformed in...
Francesco78 Thank you for the clarifications Nicolas, I am more aware of the meaning of the backtesting ...
CanAny1Trade Hi all, could a simple indicator be made to mark the traditional Pit based ORB? I'm tryi...
Fabio Anthony Terrenzio this strategy works only in a well defined trend
brosly Good afternoon I am trying to get the complete code of lex strategy made by adolfo since I s...
dreif123 hi Adolfo, is Alex Auto Trading Botindex working on DAX as well ? if so , can you post the...
hvluthy@sunrise.ch I'm very interested to try out your strategy, but as a bloody newbie I need some help regard...
Scalp Hola Adolfo, tengo una variante de tu estrategia, pero no se programar, me puedes ayudar al ...
ALZ Hi, I tested this strategy and that doesn't work.. strategy is losing.. Does anyone curr...
Nicolas Ahah, I'm not the author of this one :) I know you are a great coder Wilko, why don't you p...
Wilko Thanks for the flattery! I will, I promise.  /F
Nicolas Still don't have seen anything from your own :) You promised me! Ahaha 
Andres Uffff, I didn't adjust the different index spreads. With the heavy spread of Italy It's nega...
davidp13 Good day. I know this was posted such a long time ago, but I though rebuilding the system on...
davidp13 Also to note that the one position in my code does not close the other, which as far as I kn...
Dave Hi, I'm new to coding and have been trying to modify the code a little to backtest an idea I...
Nicolas Better use the forums for coding assistance please. You'll get more results there for sure.
Dave Apologies - only just learning the site layout. Maybe you could delete the post?
Nicolas FR/Bonjour Steftonio, non pas de frais overnight calculé sur la durée du backtest, c'est une...
avatar
Anonymous Any reason why in 2016 this system is doing very bad respect the previous years?
Nicolas "very bad" is relative to the account equity. I do not forward test this strategy since I po...

Top