Stochastic RSI

Stochastic RSI

The stochastic RSI oscillator, applies RSI values instead of price into the stochastic formula.

Stochastic RSI = ((Today’s RSI – Lowest RSI Low in %K Periods) / (Highest RSI High in %K Periods – Lowest RSI Low in %K Periods)) * 100

Stochastic RSI measures the value of RSI in relation to its High and Low range over the required period:
when a regular RSI reaches a a new Low for the period, Stochastic RSI will be at 0. When RSI records a new high for the period, Stochastic RSI will be at 100.

This indicator was made by request on 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?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. verdi55 • 12/06/2016 #

    Hello Nicolas,
    in what way does this indicator compare to the Stochastic RSI that is built-in into the PRT platform ? When I display the built-in indicator with a period of 10 units, I get a totally different picture. Do you know what the reason is ?

    • Nicolas • 12/06/2016 #

      I don’t know about the formula of the one built-in into the platform. This one has been converted from the tradingview platform as a request on forum, and it is totally similar to the original indicator.

  2. verdi55 • 12/06/2016 #

    I found the reason. The indicator built into the PRT platform displays only the StochRSI variable in your code, not the averages K and D. So I think, StochRSI is kind of a fast stochastic indicator, whereas the smoothed K% and D% in your code are the slow stochastic variety. Would you agree ? 

    • Nicolas • 12/06/2016 #

      Well, in this indi you can choose the RSI period, the period of the stochastic calculation of the RSI and the 2 smoothing periods K and D. 

  3. zakootajin • 12/06/2016 #

    Hi Nicolas,
    I am working on building a StochRSI indicator. My RSI and StochRSI values are correct but I am having an issue in matching the %K values with a trading platform. Could you tell me the formula for calculating the %K?

    • Nicolas • 12/06/2016 #

      The formula is the same as the above code. The K% is just the percentage of prive movement over a dynamic scale made by recent (periods) highest high and lowest low.

  4. AutoFlanders • 12/06/2016 #

    Thanks GraHal, that’s what i was looking for

Register or


avatar avatar avatar avatar
Related users ' posts
juanj Hi Jan, I did not include swap fees for this strategy as it is primarily a 'concept strategy...
jebus89 heres a pic of 200K bars:
bibiyanki doesn't work , not start
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...
Albaran Hi Vonasi, Could you explain what "$perc[a]" is? I tried to apply it but it keeps telling...
Nicolas Code compatible only with version 11, as it is written in bold in the text of this post: Thi...
Albaran Ah I had hoped it was a problem unrelated to the version of prorealtime! We'll keep waiting ...
kbrooks323 Hello would someone be willing to release a scan code for this? that would be helpful as I s...
Nicolas You can do easily this screener by using the assisted creation tool. It would take you about...
kbrooks323 I just figured it out thanks!
Vinks_o_7 Vonasi you're a beast !!! ;-)))
pableitor Amazing indicator , you are pushing PRT to the limit! But looking at the scatter its not c...
8 months ago
Wolf Compilation by sinusoid concept is very interesting. Thanks
groen200 Hi Zigo can you make backtest from this indicator
rosario Good evening I would like to understand why it doesn't work for me. Rosary
9 months ago
fireleg79 Bonsoir Nicolas. Merci pour tout ton travail. Quand tu auras le temps pourras-tu jeter un oe...
Jan Wind Thanks for sharing ! The Gain/Loss ratio is a bit low, 1,16, hardly offset the risks take...
drive whats the period ?
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
kj1988 Thank you Vonasi for sharing this indicator. Very useful as a comfirmation to the price act...
michaelben Bonjour Nicolas . Je cherche une strategie pour faire du trading automatisé. J'ai essaye ave...
ggolfet Thanks Nicolas, I imported the itf file and solved the problem.
Hasardeur Hallo Nicolas, i tried to code the multi period heat map in combination with the Ehler’s ...
Nicolas Please open a new topic with the code in forum.
Marie-Eve Vergoz lorsque je copie les codes, le système me signale des erreurs à la ligne 12 et suivantes
Marie-Eve Vergoz sorry - tout est ok -
1 year ago
Marcot18 Alex ti sei superato
AlexF Esagerato!
jobswaps Sube como trazar lineas de tendencias a tantas barras
Juanjo Hola, Buscando un sistema valido para operar el squeeze, he reprogramado el indicador para ...
mauro1966 BRAVO....
JackD I am getting a Syntex error when entering the code
Nicolas En effet merci, erreur corrigée, la variable Risk affecte désormais comme il se doit les cal...
nader003 How can we get this indicator on MT4
Nicolas You can ask for private custom coding to our programming services: https://www.prorealcode.c...
sir_i Bonjour à tous, Je suis nouveau sur le forum et sur la plateforme, pourriez-vous me dire com...
Nicolas Il faut simplement l'appliquer sur le prix.
sir_i Merci pour la réponse, je ne suis pas familier avec l'application de cette procédure simple,...