3 RSI

3 RSI

The Relative Strength Index (RSI) is a popular momentum indicator used in technical analysis to measure the strength of an asset’s price action. Typically, traders use RSI to identify potential buying or selling opportunities in the market. In this blog post, we’ll be discussing a unique indicator code that uses different sets of data to calculate three different RSI indicators simultaneously.

The code utilizes three data sets – high minus close[1], close minus close[1], and low minus close[1]. These sets of data are calculated using the previous day’s high, close, and low values. The calculation of these data sets is essential in generating three different RSI values.

The RSI indicator is calculated using the following formula: RSI = 100 – [100 / (1 + RS)]. RS is the average gain of up periods divided by the average loss of down periods over a specified period. The period used in the calculation can vary depending on the user’s preference.

The first RSI value is calculated using the high minus close[1] data set. This RSI indicator focuses on the strength of upward price movement. When the RSI value is above 70, it indicates that the asset is overbought and may experience a price correction in the near future. On the other hand, an RSI value below 30 indicates that the asset is oversold and may experience a price increase soon.

The second RSI value is calculated using the close minus close[1] data set. This RSI indicator focuses on the strength of the asset’s overall price movement. When the RSI value is above 50, it indicates that the asset’s price is trending upwards. Conversely, an RSI value below 50 indicates that the asset’s price is trending downwards.

The third and final RSI value is calculated using the low minus close[1] data set. This RSI indicator focuses on the strength of downward price movement. When the RSI value is above 70, it indicates that the asset is oversold, and a price correction may occur soon. On the other hand, an RSI value below 30 indicates that the asset is overbought, and a price increase may occur soon.

Using this unique RSI indicator code, traders can have a more comprehensive understanding of the strength of an asset’s price action. By simultaneously monitoring the three different RSI values, traders can identify potential buying or selling opportunities based on their individual trading strategies.

In conclusion, the RSI indicator is a valuable tool in technical analysis, and this unique indicator code that uses different sets of data to calculate three different RSI indicators simultaneously is a great way to get a comprehensive understanding of an asset’s price action. Whether you’re a beginner or an experienced trader, this code can help you make informed trading decisions.

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. Violet • 03/30/2023 #

    Nicolas, you calculate iRSI, but don’t use it. You show RSI in the returned values, which, after all, happens to be the same.

    Moreover, when studying the three RSI values, then two additional conditions stand out:
    One, if RSIHigh dives below RSI (yellow), the middle value, an oversold condition gets flagged.
    Two, if RSILow jumps above RSI, the middle value, then an overbought condition is indicated.

    • Nicolas • 03/30/2023 #

      Yes, that’s an error. RSI instruction is set by default to 14 if you don’t indicate it that’s why it looks the same. The last line should be:
      RETURN RSIHigh as “RSI High” coloured(30,144,255), iRSI as “High” coloured(“yellow”), RSILow as “RSI Low” coloured(250,128,114),overbought coloured(120, 123, 134), oversold coloured(120, 123, 134)

avatar
Register or

Likes

avatar avatar
Related users ' posts
Zigo
4 years ago
fifi743 Good morning, there is no mistake about the shorts c11=SMI[14,3,5](close)>-40
Zigo has to be c11=SMI[14,3,5] < -40 (indeed)
xar3 Thank you ;-) Zigo
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...
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 -
AlgoAlex
5 years ago
Marcot18 Alex ti sei superato
AlexF Esagerato!
jobswaps Sube como trazar lineas de tendencias a tantas barras
Frankiesc interesting indicator !! Thanks for sharing!!!
robertogozzi Thank you :)
JJ Tec Hola Las condiciones de entrada / salida vienen en el libro de J. Carter Mastering the trad...
Pixeldd Ich bekomme beim einfügen des Indikators einen Fehler angezeigt. Was bitte muss ich genau än...
HarryPro Hello, Firtly there appears to be a typo on line 6 "lenghkc=20" should this be "lengthkc=...
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,...
Nicolas Il s'agit d'un indicateur compatible avec PRT v11 uniquement. Pour éviter les erreurs de cop...
Sébi Intéressant. Merci pour ce partage Nicolas. L'indicateur ne considère pas les divergences ...
Nicolas ok, pour les divergences chacun voit midi à sa porte je dirai :) Vu qu'il n'y a pas de formu...
mcha merci bien et félicitations pour la réactivité avec laquelle il a été mis dans la bibliothèq...
soulintact Great indicator Nicolas, thanks!
cdc.andersson Hello, when trying to include this wonderful Dynamic RSI on my trading system i get the erro...
Rafyone Bonjour Nicolas et bonne année lol J'ai une erreur qui apparait concernant drawbarchart une...
Nicolas Je pense que tu n'utilises pas le bon éditeur de code, cette instruction est compatible uniq...
Exalaxe Hey, i just noticed you optimized this strategy. Could i see your new version, please?
Andrea.1981 sorry i add my code but it not enter why i dont know
Andrea.1981 this is code simply stop , and you can see another version for stop / Codice principale...
AntoGH how did you backtest it ?
PastaPesto @AntoGH , I dont know if you are asking me, but my backtest was made in an IS of 4 years bet...
Ridder @PastaPesto Do you still running this and how is the results? Thanks
dau710 Are the Bulls Blue & the Bears Red?
dau710 Many thanks :)
myhlo Super Nicolas !! Cet indicateur offre une nouvelle lecture du Rsi ! Ces bandes up & Dawn...
okiki please how can i acess the indicator i like it and want it please am new here
Nicolas download the itf file above and import it into your prorealtime platform: https://www.prorea...
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 ...
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...

Top