UDAY_C_Santhakumar

SP_Relative Strength Index

Quick Update to the Steve Primo RSI.

Nothing fancy, but one indicator to represent all his RSI based setups.

Primarily used on Strategy #1 and #8.


Uday C Santhakumar
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?
study(title="SP_Relative Strength Index", shorttitle="SP-RSI")
up = rma(max(change(close), 0), 5)
down = rma(-min(change(close), 0), 5)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
plot(rsi, color=black, linewidth = 3, title = "Steve Primo - RSI")

h0 = hline(50, color = blue, title = "Strategy #8 - Threshold Line")
h1 = hline(35, color = green, title = "Strategy #1 - Over Sold")
h2 = hline(25, color = green, title = "Strategy #1 - Over Sold")
h3 = hline(65, color = red, title = "Strategy #1 - Over Bought")
h4 = hline(75, color = red, title = "Strategy #1 - Over Bought")

fill (h1, h2, color = green, title = "Strategy #1 - Oversold Level")
fill (h3, h4, color = red, title = "Strategy #1 - Overbought Level")