Cumulative RSI 2 periods strategy

Cumulative RSI 2 periods strategy

Long only strategy that performs extremely well on any world indices and beyond on a daily timeframe. I will certainly do much exploration of this very short term mean reversion strategy, as it seems very powerful without doing any change on triggers. 

The main trigger is based of a “cumulated RSI” over the 2 recent periods while trade are launch only if the price Close is above a 200 period moving average.

When the cumulated RSI enter in oversold territory, we expect the price to return to its mean, on the bullish trend. We exit the market when the CRSI gain overbought area above the 65 level.

As for my current test : (with exactly the same code on CFDs)

CAC40 :  (featuring picture) : 10€ /contracts, 1 contract per trade since 1988 = +370% / % Drawdown max = 12.7%

IBEX35 : 2€ / contract, 1 contract per trade since 1994 = +134.33% / % Drawdown max =  25.6%

SP500 : 1€ / contract, 10 contract per trade since 1984 = +95.33% / % Drawdown max = 8.08%

 

 

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. TradingDeckard • 02/17/2016 #

    Very interesting strategy and easy one! Have you tested it in any other markets than your examples??

    • Nicolas • 02/17/2016 #

      Not yet. A nice thing to do would be to implement another strategy into this one when price go bearish and dive under the MA200. Of course, it works well because of the mean reverting thing over a nice bullish movement, but adding other strategy over this one would be great, diversification is the key. As i said in this post, i need to work further on it, you are right, it is very interesting!

  2. f.favret • 02/17/2016 #

    Bonjour,
    Avec une période de 2, la formule “CUMRSI = SUMMATION[Period](RSI[Period](close))\"
    équivaut elle bien à
    \"CUMRSI = RSI[2](close de la barre courante) + RSI[2](close de la barre précédente)\"?
    Cordialement,

    • Nicolas • 02/17/2016 #

      FR/ Bonjour f.favret, en effet c’est bien la même chose!
      EN/ CUMRSI on 2 period is the same thing as additional of last 2 RSI values :
      // example of the same result

      r = RSI[2](close)

      result = r+r[1]
      CUMRSI = SUMMATION[2](r)

      RETURN result as \"result\",CUMRSI as \"cumrsi\"
       

    • f.favret • 02/17/2016 #

      Merci / Thanks!

    • f.favret • 02/17/2016 #

      Why not summation of the 2 lasts RSI 14 period ?of  other period?

    • Nicolas • 02/17/2016 #

      A lot of quantitative traders believe that the RSI default ’14’ periods is dead, although for what it were developed to : spot the overbought and oversold areas of the price development over time. It does not mean that the RSI formula is mean-less, but not still effective with its default value for whom it were set, back in 1978 by M.Wilder! The cumulative RSI is nothing more than another indicator, it borrows the formula from RSI, cumulate 2 periods and that’s all. Why 2 periods for this one? because price behaviour, return to the mean fastly, no more no less.
      Automatic trading and quant strategy development are a vast playground, go on, play with period, create another indicator from this one or a fresh new one, if it works you were right, if not you still have an entire life to learn maths 🙂

  3. Doctrading • 02/17/2016 #

    Very nice and logical strategy…
    Could be used for example to take orders on the french “PEA” (Plan d’Epargne Actions).
    “RSI 14” is still alive !
    Best regards 😉

  4. Stef • 02/17/2016 #

    “1 contract per trade since 1988 = +370%” – is this per annum, or over the period? How much was your starting capital?

  5. Nicolas • 02/17/2016 #

    @Stef
    Over the whole period. I think that the starting capital tested were 10k€, this is my default value in the ProBacktest.

  6. gianlox • 02/17/2016 #

    I created the screener of this TradingSystem  but it looks like repainting, if today the screener gives me the signal to buy, the next day the TS does not draw anything on the chart. 

    • Nicolas • 02/17/2016 #

      Maybe because you screen with EOD data? So in this case you are already late.

  7. ML • 02/17/2016 #

    Hi All! Have you succeeded in developing a strategy also for the bearish side of the market? I tried but without success…
    Thanks a lot!
     
    ML

  8. jctrader • 02/17/2016 #

    Bonjour .
    CAC 40    1988 = 1000   today = 4900  soit 490%  en buy and hold  ….
    + 370% avec cette stratégie : désolé je ne saisis pas bien l’intérêt .

    • Nicolas • 02/17/2016 #

      Aucune immobilisation du capital. Quel est le drawdown du buy & hold ? Je ne l’ai pas calculé moi même, mais cela a dut être difficile en 2008 et 2012 ? Après coup, lorsque l’on a toutes les informations à disposition, certaines stratégies auraient été meilleures que d’autres. Il est vrai que l’on a coutume de comparer les stratégies d’interventions automatique avec le buy&hold sur les indices et les actions, malgré cela, une stratégie qui fait 370% à elle seule et qui peut être incorporé à un portefeuille plus vaste de stratégies automatiques est valable selon moi.
      Cette stratégie de mean reversion est tellement simple, qu’il aurait été dommage de ne pas la proposer à tous 🙂

    • jctrader • 02/17/2016 #

      ok pour le codage mais le choix “indice” n’est pas le bon : moins de 5%/an pour le meilleur et pour l’IBEX 1% annuel avec 25% de DD …..

  9. Thomas • 02/17/2016 #

    Hi Nicloas nice one i do understand 😀 im trying to put in MA200 as a criteria so it only go long when above how so i do this cant do it 🙁

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
luxrun I have a problem that I don't understand: by changing the parameters of the CCI and RSI peri...
Iván Hi! Sorry... You have to check lines 9 to 13 and delete. //CCIper = 14 //RSIper = 14 //Ma...
luxrun grazie Ivàn!
Faisalx ChatGPT Hola Iván. Gracias por tu excelente trabajo. Te agradecería si pudieras echarle un...
Iván ok, perfecto! me pongo con ello
Iván
7 months ago
Iván Hi, Sorry, but what do you mean?
luiskohnen Hola, queria saber si el indicador repinta, porque a mi me parecio que si. Saludos y gracias...
Diamant Bonsoir, L'un d'entre vous peut-il me donner les définissions de LL-HH-LH et HL. Merci d'av...
Bernard13 (Je réécris mon commentaire -français- en français car certains mots ne correspondaient pas ...
Iván 1000 indicateurs !!! brutaux
Lean Me parece muy buen indicador, y se complementa muy bien en mi sistema, ¿podrías crear un scr...
Iván Gracias! Para el screener sólo tienes que copiar el indicador y poner como condición de búsq...
Lean Muchas gracias Iván, ya lo he podido crear.
Bateson
12 months ago
Matriciel Very nice job ! Is it possible to do the opposite because what interests me is to have the ...
YvesRobert Hi Matriciel, how can we do this, because stochastic is limited between 0 and 100 but price ...
Traderfox06 Dear zeiiermantrading, I really like your approach combining adaptive averages with MACD in...
jacquesgermain Hello IASD it's normal , when this occurs, uncheck RSI and MFI line and click then the MAC...
emiliobercial Thank you very much for sharing!
Carlose estoy de acuerdo con IASD Esta muy bien el MAD y el indicador en el precio no se ven bien...
bousalahane merci pour le partage de cet l'indicateur, j'ai rajouté un autre indicateur pour faire une s...
joaoarcher Hi, thank you for the this. Is it possible to create a screener from this indicator, so that...
ThaNoizy Yes, you cannot use CFDs on IG for Weekly strats you need to use their Index Futures, they h...
KumoNoJuzza Thanks. I did not know IG had Futures. I am always missing an info or a detail. I used to th...
joaoarcher Hi, thank you for the this. Is it possible to create a screener from this indicator, so that...
Nicolas
2 years ago
3 RSI
3 RSI
2
Indicators
Violet Nicolas, you calculate iRSI, but don't use it. You show RSI in the returned values, which, a...
Nicolas Yes, that's an error. RSI instruction is set by default to 14 if you don't indicate it that'...
Patrice210 bonjour STANKO, effectivement la première ligne apparait en anomalie et je ne comprend pas v...
KumoNoJuzza Hi guys, Thanks @Stanko and everyone for your contributions. I have been playing around ...
Stanko Hi KumoNoJuzza, thanks for the post. I also tried your code with Dax and the performance is ...
DELBERT Bonjour , Nicolas , je voudrais installer cet indicateur sur ma PRT , version 10.3 , mais je...
Nicolas En effet, il faut à minima une version 11. La 10.3 est tellement ancienne maintenant.. Je pe...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je fais un essai et je verrais . Salutations .
Khaled Thank you Nicolas! Looks like TDI (Trader Dynamic Index). Interesting to give Exit Signal as...
Nicolas ColorBetween is an instruction added last year: https://www.prorealcode.com/documentation/co...
AntoGH Bonjour peut-on backtester cela ? Et si vous l'avez fait pourriez vous nous donner le code.....
Nicolas désolé c'est un oubli de ma part, tu peux supprimer cette ligne, elle n'est plus utile dans ...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je suis en effet avec PRT 10.3 , et j'ai bidouil...
supertiti https://zupimages.net/viewer.php?id=20/50/2e3v.jpg
volanirina Bonjour Je souhaite l'avoir sur l'indicateur MT4 si possible s'il vous plait. car je l'ai fa...
Nicolas ProRealCode est un site dédié à l'utilisation de la plateforme de trading ProRealTime: https...
Nicolas Merci d'ouvrir un sujet dans le forum des screeners en respectant les règles de publication ...
Pensera Bravo Nicolas ! Tu es en quelque sorte l’inventeur de Metascore…(oups je viens de lire jusqu...
Nicolas Dans un but d'investissement pure, et non spéculatif.
Nicolas Please open a topic in ProScreener forum with your query, I'll reply you there. Thank you.
manafull Thanks Nicolas, I post my question, along with the codes I am trying to convert from your in...
Nicolas I replied to your post here: https://www.prorealcode.com/topic/screener-for-rsi-and-linear-r...
Madrosat I Have not see a fully functioning automated strategy on your site?? Really have you???
juanj Hi Madrosat, why would it be on my site? I have developed it for my personal use and also to...
Madrosat ok I understood you are using prorealcode to hack the fish

Top