RSI Laguerre self adjusting gamma with Fractals Energy

RSI Laguerre self adjusting gamma with Fractals Energy

The Laguerre RSI technical indicator is a trend indicator based on a Laguerre filter.

The Laguerre indicator plots the weighted price trend line in a different window in the price graph window.

The Laguerre RSI indicator plots the weighted RSI indicator value filtered with a Laguerre filter. The gamma sensibility of the Laguerre filter is self adjusted with the “fractals energy” as the original author describes it.
This “energy” is the curve of yellow color, while the Laguerre RSI adjusted with this energy is the blue one.

Indicator translated from TOS code, requested on English forum.


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. Nicky9529 • 03/26/2017 #

    Merci Nicolas pour cet indicateur,
    Comme pour le RSI, J’aimerais pouvoir ajouter deux lignes max/min pour le gamma (basées sur l’historique des valeurs) afin de déterminer si l’on est en phase de trend exhaustion/range exhaustion. Comment faire?

    • Nicolas • 03/26/2017 #

      C’est à dire ? Une détection des derniers plus haut et plus bas du gamma ? (la ligne jaune).

    • Nicky9529 • 03/26/2017 #

      Si l’indicateur n’est pas normé (ou atteint rarement les limites), il faudrait deux lignes de séparation qui détermineraient, sur les n derniers mois,  les 10 % des valeurs les plus élevés et plus basses afin de détecter automatiquement ensuite les configurations “le ressort va bientôt se détendre”/”le mouvement s’essouffle”. Une sorte de canal du gamma mais dont les limites horizontales dépendent de l’historique des valeurs.

    • Nicolas • 03/26/2017 #

      Pour cela, il suffit d’intercaler ces lignes de codes à la ligne 18 (sous le calcul de gamma):
      et de remplacer la ligne 54 (RETURN) avec celle-ci :
      RETURN gamma coloured(200,200,0) as \"gamma\", lagRSI coloured(0,128,255) style(line,2) as \"Laguerre RSI self adjusting\", 0.2 style(dottedline,1) as \"oversold level\", 0.8 style(dottedline,1) as \"overbought level\", hh, ll
      J’ai introduit la variable “gammaP” qui permet de modifier à convenance le retour en arrière pour déterminer les résidus de la distribution du gamma entre les bornes hautes et basses de ce calcul. Il faudra donc bien entendu ajouter cette variable en externe pour la faire varier à convenance. Bon amusement 🙂

    • Nicky9529 • 03/26/2017 #

      Mais j’y compte bien! Merci beaucoup Nicolas pour la solution.

  2. • 03/26/2017 #

    Hi Nicolas, why cant the codes copy and past in to prorealttime. I want to try, but I have no time to write the updates that done by others. I think that would be positive for everyone.

    • Nicolas • 03/26/2017 #

      Sorry I don’t understand? You can easily import any file of the library by downloading itf files and click import in prorealtime indicators list. 

  3. Fabio Anthony Terrenzio • 03/26/2017 #

    How can I trade with this “Yellow Energy”?

  4. owes29 • 03/26/2017 #

    Do a Youtube search for “Revolutionary Indicators Reveal Tops & Bottoms” it explains a very similar indicator, I’m not sure if I am allowed to post videos to the forum

  5. owes29 • 03/26/2017 #

    is there anyway to develop this for the pro scanner on daily or hourly scans. so it would create an alert just before the signals are met.
    kind regards

    • Nicolas • 03/26/2017 #

      Of course, please add a query in the proscreener forum.

  6. Bruno Carnazzi • 03/26/2017 #

    C’est dommage, cette histoire d’énergie fractale bousille complètement la précision de l’indicateur original :

    if barindex > 0 then
    L0 = (1 – gamma) * close + gamma * L0[1]
    L1 = -gamma * L0 + L0[1] + gamma * L1[1]
    L2 = -gamma * L1 + L1[1] + gamma * L2[1]
    L3 = -gamma * L2 + L2[1] + gamma * L3[1]

    if L0 >= L1 then
    CU1 = L0 – L1
    CD1 = 0
    CD1 = L1 – L0
    CU1 = 0

    if L1 >= L2 then
    CU2 = CU1 + L1 – L2
    CD2 = CD1
    CD2 = CD1 + L2 – L1
    CU2 = CU1

    if L2 >= L3 then
    CU = CU2 + L2 – L3
    CD = CD2
    CU = CU2
    CD = CD2 + L3 – L2

    if CU + CD 0 then
    lagRSI = CU / (CU + CD)
    lagRSI = 0

    RETURN lagRSI as “LR”

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
6 days 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 ...
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...
KumoNoJuzza Hi Guys. This looks very interesting but don't overnight fees kill the profit when trading o...
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...
6 months ago
Maxime Baudin Well done Nicolas, creative!
Stenozar Hi Nicolas, please can you explain how to read/use this indicator? thanks!
8 months ago
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'...
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:
Madrosat how do you use carnazzi filter in a strategy : smoothing , stop ,tendance
Bruno Carnazzi I have completely revised the mathematical foundations of this tool and offer you the finali...
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...
Vinks_o_7 Hi Bruno Could you tell me where I can find more info about Laguerre candlesick please ?
Vinks_o_7 oops sorry did not see that one had to untick the standard Price to see your candle...
Guibourse Hi, I'd like to increase the thickness of support and resistance lines. I do not think that ...
JJ Tec Hello. Thanks for the great contribution of the indicator. At the moment, I have modified i...
Khaled Hi Vonasi, I tried to embed your PP Fractals code in a Strategy and it seems to be a good fi...
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:
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
imonix Have been trying this on demo since Monday before deciding whether to go live with it. Using...
Roberto Blázquez I'm sorry, I've tried it since November 2012 and it's bad results.