CSR strategy DAX 1 D

CSR strategy DAX 1 D

This automated trading strategy was posted by Nicolas 1 year ago for long side trade as example, starting from this example I’ve added short side, Trailing stop, and Donchian stop.

Below you will find link of the original version: “Cumulative RSI 2 periods strategy”.

The following variables can be optimized and  adapted to volatily and time frame

Trailing Stop : TGL and TGS

Stop loss by Donchian channel: DC

Moving Average: AVG to open position above or below it

Period of cumulative summ of the RSI indicator value “CUMRSI”

Positions are opens at indicator value set, called “CUMRSI” , this could be optimized and  adapted to volatily and time frame (Ex:IF Close>AVG AND CUMRSI<35  THEN BUY…)

The concept of the strategy it’s universal, and It could work for equity/indices/currencies.

This strategy could be used with cumulative order for long side. Below the result in the red graphic equity.



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. Francesco78 • 05/19/2017 #

    Thank you Ale, did you try it with othere indices other than the DAX? 

    • ALE • 05/19/2017 #

      Hi francesco
       not yet, I have given a look..it seems that there are good possibilities with different markets I would open a topic so that we post our tests

  2. Francesco78 • 05/19/2017 #

    Sounds good! pls indicate the  variables to be optimized so that we can speed it up 🙂

  3. ALE • 05/19/2017 #

    You can start with round value of the variables mentioned above… value as you know for each market

  4. Cosmic1 • 05/19/2017 #

    Hi Ale, good work. The RSI 2 periods is one of my favourites and I too modified and added some variables to my liking from the original. I run it on the S+P and it works well. I notice that you ran multiple passes for WF. With such limited trades, I’d be interested in the results from a standard one pass 70/30. What do you think?

    • ALE • 05/19/2017 #

      Hi cosmic
      I’m study this indicator just in these days.. I hope to discover some of interesting !! I’ve starting a topic for further discussion, if you know well please suggest!!

  5. ALE • 05/19/2017 #

    Hello Guys,I’ve starting new topic
    Thanks for your attention,  we can help each other  always

  6. ALE • 05/19/2017 #


  7. ALE • 05/19/2017 #

    Hello GuysI’m trying to fix a problem that I missed during the probacktest, I update you as soon as possible on the topic

  8. Nicolas • 05/19/2017 #

    The code has been updated in the attachment of the post with the last version which contain the fix. So you can download it here to get the good version too.

    • ALE • 05/19/2017 #

      Thanks as always Nicolas

  9. Toto le Heros • 05/19/2017 #

    It looks very interresting. I have one question related to the following result in ProbackTest with Spread=5 on DAXmini 1 EUR CFD (tick bt tick “on”) :
    – if the period of the test is from 01/01/2013 00:00 to 01/03/2013 00:00, the Long trade taken on 6/02/2013 01:00 ends on 10/02/2013 21:00 with -13.30€ (loss)
    – if the period of the test is from 01/02/2013 00:00 to 01/03/2013 00:00, the Long trade taken on 6/02/2013 01:00 ends on 07/02/2013 01:00 with -73.80€ (loss)

    Does that mean that in that code, the previous trade taken in January 2013 (on the 17th) affects the behaviour of the code in February 2013 ?
    Or what ?…

    I am actually asking the question as in general I am wondering if it is better to :
    – let the code run by prolongating the period of activity of the strategy in PRT (but isn’t there a risk here that after a certain number of executions, the code automatically stops ?)
    – or to stop and start again the code from time to time (for example, each month)

    Many thanks in advance for your comments/answers.

  10. StefanStrand • 327 days ago #

    I tried running this on IG ProRealTime and get the following error message, why could this be? Total beginner, sorry 🙂
    “Your ProBacktest exceeds the limit of repetitions for walk forward optimization.”
    Any idea how I can fix this?

  11. Jesper • 29 days ago #

    I tried it on dax 1D and I did not get any trades. Shifted to 10H and it started working. Would you have any idea on why that is?

Register or


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

+10 more likes

Related users ' posts
soulintact That is one of the greater indicators I have implemented. Thanks Nicolas!
4 weeks ago
Louis Winthorp III Hi Matt, there is not a specific system. For traders using the RSI in their setup, with this...
Louis Winthorp III Hi Kosuda76, have you downloaded the rsi_revengineering.itf file? Then you can set any value...
Kosuda76 Thanks for your reply! But I do not really understand what the opposite of them the values ​...
luxrun Thanks, bolsatrilera, for a very good and solid screener!
luxrun sorry... indicator!
Lily Rios Gracias por el indicador, tengo una pregunta necesito programar un screener de valores que e...
Bard Great job and thanks very much for posting this @nicolas. I've backtested both these RSI a...
Nicolas So you want to bound this oscillator with a scale made of std devs but of price? not from th...
2 months ago
3 months ago
Bebbo Thank you for your contribution. I have tested your system on some instruments and I like i...
supertiti Hola Ale Can we have this same code from Nicolas's code in smoothed heikin Ashi? Sorry...
ALE Ok, We can discuss in the topic "3D Candlesticks TOPIC" Write me more details
Nicolas Thank you Xusto. Thank you a lot for your contribution :) Since your code is a Pathfinder'...
Xusto Hello, Fully Agree, I will update it with your advice. Btw Can would you like share you co...
4 months ago
enricot Ciao Nicolas scusa se ti scrivo qui, ma sono nuovo e nn riesco a creare un nuovo post, cio...
enricot Scusa nn riesco.
SoloContado If you smooth the signal using a "summation" function, you get a nice "crossing of 0" graph....
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...
osupero https://www.screencast.com/t/QmSXRbBR
osupero https://www.screencast.com/t/2fCW8fkGsOeZ....solo posiciones largas por ahora
osupero https://www.screencast.com/t/MIaSZ2PRg
criscolci Thanks a lot!
Bard Cheers for doing Ehler's latest indicator Despair, much appreciated.
JanWd Hey Doctrading, I tried your code, optimising the A and V and the RSI period, see below. ...
Glen Marquis This will work as there is plenty of room for the Target before the Stop, yet the Stop would...
magicT I did a copy and paste of this code and PRT 10.3 returns a synthax mistake: OneTradePerD...
7 months ago
Alai-n Thanks...