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
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?
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")