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
Skrip open-source

Sejalan dengan semangat TradingView, penulis skrip ini telah mempublikasikannya secara open-source, sehingga para trader dapat memahami dan memverifikasinya. Salut untuk sang penulis! Anda dapat menggunakannya secara gratis, tetapi penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk dapat menggunakannya didalam sebuah chart.

Inggin menggunakan skrip ini pada chart?
// =====================================
// 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)

Komentar