Dynamic RSI

v10.3
Dynamic RSI

The Dynamic RSI indicator is a kind of exponential RSI. The overbought and oversold levels (respectively HiLine and LoLine) are calculated according to the recent highest and lowest values of the Dynamic RSI line.

The code has been converted from the Amibroker version, as per a request in the English forum section.

 

 

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. luxrun • 01/30/2019 #

    A question please: is it possible to turn the DynamicRSI into a screener that provides titles that change the color of the R line, from red to green and vice versa? I believe that the R line offers a reliable and credible indication, thanks also for this flexible indicator, Luxrun

    • Nicolas • 01/30/2019 #

      delete the lines 23 to 37 and add this one at the end in ProScreener:
      screener[r crosses over hiline or r crosses under loline]

  2. luxrun • 01/30/2019 #

    Thanks Nicolas, I did not write the request exactly; I would like to intercept the changes in the DynamicRSI line, when the color changes from red to green (rising signal) and from green to red (downward signal). The solution you indicated shows me the DynamicRSI above or below the 2 extreme bands, but in that situation the actions can stop a lot. The trend change is more interesting as a trading signal. Thanks again

    • Nicolas • 01/30/2019 #

      So it should be coded like this:
      screener[r crosses over jc or r crosses under jc]

    • souf • 01/30/2019 #

      Hi Luxrun,

      I hope everything is OK for you.

      Did you succeed turning this indicator into screener?

      If so, could you please share with me the code you applied.

      I tried to write one but failed lamentably…

      Thanks in advance.

      Have a nice day.

      Soufiane

  3. flider • 01/30/2019 #

    Indicator in MQL4 not working?

    • Nicolas • 01/30/2019 #

      Why do you think this code is for MT4?

    • souf • 01/30/2019 #

      Bonjour Nicolas,

      J’ai tenté de créer un screener dans ProScreener, j’ai obtenu le message d’erreur ci-dessous:

      “Erreur de syntaxe:
      La variable suivante n’est pas utilisée dans le programme:hiline
      La variable suivante n’est pas utilisée dans le programme:loline”

      Voila le code que j’ai essayé d’intégrer:

      //PRC_DynamicRSI | indicator
      //30.01.2019
      //Nicolas @ http://www.prorealcode.com
      //Sharing ProRealTime knowledge
      //converted from Amibroker code

      // — settings
      DZbuy = 0.1 //Buy Zone Probability
      DZsell = 0.1 //Sell Zone Probability
      Period = 14 //RSI Period
      Lb = 60 //LookBack Period
      // — end of settings

      RSILine = RSI[Period](close)
      jh = highest[lb](RSILine)
      jl = lowest[lb](RSILine)
      jc = (WeightedAverage[period](jh-jl)*0.50)+WeightedAverage[period](jl)
      Hiline = jh-jc*DZbuy
      Loline = jl+jc*DZsell

      R = ( 4 * RSILine + 3 * RSILine[1] + 2 * RSILine[2] + RSILine[3] ) / 10

      screener[r crosses over jc or r crosses under jc]

      Je vous remercie par avance pour votre précieux éclairages…

      Bonne fin de journée.

      Soufiane

    • Nicolas • 01/30/2019 #

      Si ces variables ne sont pas utiles, il faut tout simplement les supprimer du programme.

  4. souf • 01/30/2019 #

    Bonsoir Nicolas,

    Je te remercie d’avoir pris le temps de me répondre.

    J’ai essayé de supprimer les 2 lignes du programme, mais ça m’a ensuite trouvé 2 autres valeurs non utiles… (DZbuy et DZsell…)…

    Il y a quelque chose que je fais mal et que j’ai surement mal compris…

    Je vais continuer à chercher.

    Merci encore et bonne soirée.

    Soufiane

  5. cdc.andersson • 01/30/2019 #

    Hello, when trying to include this wonderful Dynamic RSI on my trading system i get the error “The function “PRC_DynamicRSI” called from “(my trading system)” returns 4 values but your code needs 5″. Any ideas what causes this? Regards Daniel

  6. Rafyone • 110 days ago #

    Bonjour Nicolas et bonne année lol
    J’ai une erreur qui apparait concernant drawbarchart une des expressions suivantes serait plusa pproprié ( sans proposition )
    Merci de ton aide
    Cordialement
    Raphael
    Je commence juste à m’interressé à la programmation sur Prorealtime

    • Nicolas • 108 days ago #

      Je pense que tu n’utilises pas le bon éditeur de code, cette instruction est compatible uniquement dans la création d’indicateur (pas dans l’éditeur de codes pour les screeners ou pour les stratégies de trading automatique).

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
XXXXVII Excellent indicateur ! Déterminer une tendance est devenu un jeu d'enfants ! Félicitation......
gregoire bonjour nicolas j ai cherché partout sur le net et impossible de trouvé ce que je recherch...
Nicolas Merci de poster une demande dans le forum des indicateurs, ainsi on pourra le coder dans ce ...
Marcos Alvarez Dominguez Hello Nicolas, is it possible to stablish a bullish screener for this indicator when the cen...
Nicolas Please open a topic in the screener section to ask for this specific query.
zaher123 Hello, the indicator doesn't show up anything on the screen, any suggestions please?
fisiotrancos Hola, seria posible añadir una línea horizontal en el nivel 0? Me gustaría hacer un screener...
Nicolas cambiar la última línea por ésta: return val coloured(r,g,b) style(line,2), levelu style(do...
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...
Bogdan35 Hello, Is there one for MT4?
Nicolas
6 years ago
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.
imorandin Hi!, Nice code. I'm tryng to port it to another language, but I don't understand this part:...
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.
bolsatrilera
6 years ago
jissey Bonjour Bolsatrilera, je trouve le cm rsi interessant, merci de l'avoir mis à disposition ! ...
bolsatrilera bonjour jissey, je n'ai aucune information sur ce que tu dis, je suis désolé.
ALE Hi the color is given by a numerical value derived from the oscillator in use. If you comp...
efahmy Thanks mate
Jo-01-R Hello, it is possible to have this indicator but instead of colors rather have numbers rangi...
Nicolas
6 years ago
enricot Scusa nn riesco.
SoloContado If you smooth the signal using a "summation" function, you get a nice "crossing of 0" graph....
ShaunG Greatly appreciated Nicolas!
Etienne Hi, thanks for proving this code. I would like to contribute by adding a computation speed...
Etienne //Compute Super Smoother coefficients once if barindex = 1 then a1 = exp( -1.414 * 3.14159...
Nicolas Thanks a lot!
ak5hay2 Works like crazy on bitcoin. Use different timeframes. Thanks a lot Doc!!!
richyowen Hi, great code thanks. Very new to this forum. Is there a way to add a 100point target on an...
lisamitch50 Morning all, Just backtested on quite a few instruments, worked well on backtesting, but tel...
Matriciel
6 years ago
Alai-n Thanks...
Bard Thanks for sharing this Verdi55. More instructions from Larry Williams website (and a fea...

Top