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

    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 • 124 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
Francesco78 c = (sin(atan((close-open[n])/open[n]*100/n))) this is the indicator. Itis a measure of the...
Stenozar Thanks Francesco!
Francesco78 You are most welcome!
Vicari0us Hi Nicolas, How do I incorporate this indicator into my strategy? I mean what do I call ...
Nicolas Use the CALL function: https://www.prorealcode.com/documentation/call/ or use the 'fx' butto...
Vicari0us Perfect thanks! I got it
hartgeld Hallo Atxeel, sehr interessanter Code, habe das installiert und funktioniert. Danke! Kannst ...
atxeel Hallo hartgeld, die Ziele sind schlicht, bspw. die Range beträgt 10 Punkte, dann ist das Zie...
PastaPesto Paul, Im sorry but where do I open a topic?
Paul in ProOrder support, at the bottom
Maik2404 wie kann ich den Code bekommen Paul?
myhlo Super Nicolas !! Cet indicateur offre une nouvelle lecture du Rsi ! Ces bandes up & Dawn...
Paul Thanks GraHal for the suggestion. I will open a topic for the strategy. Dany, there are sti...
Paul updates are posted in topic below https://www.prorealcode.com/topic/dayopen-straddle-for-da...
eugenio buongiorno paolo , volevo farti i complimenti x il lavoro fatto , funziona molto bene sul 3 ...
luxrun Good evening Nicholas, I can not see the colors on the line of the moving average, but only ...
Nicolas Yes, you must choose the oscillator that will color the moving average. Example: ONCE UseC...
marao the old version I have does not allow importing. It is very old, I think the version 2 of PRT.
bala Hi Nicolas, I have been extensively researching for lot of answers here. I found that you...
Nicolas Don't apply it on price, use the main "indicator and trading system" button found on the top...
4 months ago
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 ​...
AdriTrade Good job Louis!! How could do this for the Williams indicator? Thank you very much.
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...
Bebbo Grazie del prezioso contributo Nicolas, scusa la mia inesperienza, sono alle prime armi e s...
Nicolas To avoid recalculation, you should use the one from this post.
Bebbo Ok Grazie Nicolas.
6 months ago
6 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...
Niklas johansson hägglund do you now if it's possible to use this strategy with this code in tradingview also?