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
kats bONSOIR Est ce normal que les droites se démultiplient en plusieurs droites quelle differe...
kats j ai fait une copie d'ecran mais je ne sais pas comment l'envoyer sur le site
P. Marlowe Quite an impressive work, Iván. Extremely useful and accurate. Congratulations. Keep it up¡
lkiklkik i love it !!! thanks.
Stenozar Hi Ivan, can you translate from tradingviwe the EMA TREND METER INDICATOR? It couid be inte...
Iván Hi Yes I can. Please, create a new topic for that I will translate it.
Stenozar Hi Ivan, I've created a new topic about the indicator: https://www.prorealcode.com/topic/ema...
Bateson
5 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...
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...
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
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.
woktrade Superbe !
Vonasi An updated version with a bug fix can be found here: https://www.prorealcode.com/topic/dis...
snucke hey Vonasi is it possible you can help me get this indicator to show how much a market mo...
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...

Top