Krach

3 X Relative Strength Index

Three RSI in one window allows different time frames to be seen on one chart. Also have a look what happens when the time frames cross.
Default setting is : 9, 18, 27 Adjust to fit your needs.

*Get Rekt at your own risk*
Tips BTC: 13CJxLuCKmccDvJDDrxa57NUKy7UEXFogz

開源腳本

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

免責聲明

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

想在圖表上使用此腳本?
// =====================================
// 3 X RSI
// by KRACH 

 
// ELI5 Description:
// =================
// Three RSI in one window allows different timeframes
// to be seen on one chart. Also have a look what happens 
// when the timeframes cross
// 
// Default setting is : 9, 18, 27 
// Adjust to your needs
// 
// ====================
// *Get Rekt at your own risk*
// Tips BTC: 13CJxLuCKmccDvJDDrxa57NUKy7UEXFogz
// http://advancedtradebot.com
// =====================================

study(title="Relative Strength Index", shorttitle="KRACH RSI 3X")
src = close, len = input(9, minval=1, title="RSI 1 Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
plot(rsi, color=black)
band1 = hline(70)
band0 = hline(30)
fill(band1, band0, color=white, transp=90)

src2 = close, len2 = input(18, minval=1, title="RSI 2 Length")
up2 = rma(max(change(src2), 0), len2)
down2 = rma(-min(change(src2), 0), len2)
rsi2 = down2 == 0 ? 100 : up2 == 0 ? 0 : 100 - (100 / (1 + up2 / down2))
plot(rsi2, color=blue)
band12 = hline(70)
band02 = hline(30)
fill(band1, band0, color=white, transp=90)

src3 = close, len3 = input(27, minval=1, title="RSI 3 Length")
up3 = rma(max(change(src3), 0), len3)
down3 = rma(-min(change(src3), 0), len3)
rsi3 = down3 == 0 ? 100 : up3 == 0 ? 0 : 100 - (100 / (1 + up3 / down3))
plot(rsi3, color=green)
band31 = hline(70)
band30 = hline(30)
fill(band1, band0, color=white, transp=90)