Float levels for rsi,updated version below just with more options
A way to get this indicator is to copy paste the source code below to your srcipt editor and save.
//By Glaz
study("RSI Float")
RsiPeriod = 14
RsiPrice = close
MinMaxPeriod =input(200)
LevelUp = input(76.4)
LevelMiUp = input(55.0)
LevelMiDown = input(45.0)
LevelDown = input(23.6)
src=close,len=input(14)
RSI(src,len)=>
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))
RSI
rsi1 = RSI(src,len)
rsiMin = lowest(rsi1,MinMaxPeriod)
rsiMax = highest(rsi1,MinMaxPeriod)
range = rsiMax-rsiMin
rsiLDn = rsiMin+range*LevelDown/100.0
rsiLMi = rsiMin+range*0.5
rsiLMu = rsiMin+range*LevelMiUp/100.0
rsiLMd = rsiMin+range*LevelMiDown/100.0
rsiLUp = rsiMin+range*LevelUp/100.0
plot(rsiLDn,color=white)
plot(rsiLMi,color=yellow)
plot(rsiLMu,color=yellow)
plot(rsiLMd,color=yellow)
plot(rsiLUp,color=white)
plot(rsi1,color=purple)
//forex-tsd.com/indicators-expert-systems-tools/14880-rsi-indicator-71.html
A way to get this indicator is to copy paste the source code below to your srcipt editor and save.
//By Glaz
study("RSI Float")
RsiPeriod = 14
RsiPrice = close
MinMaxPeriod =input(200)
LevelUp = input(76.4)
LevelMiUp = input(55.0)
LevelMiDown = input(45.0)
LevelDown = input(23.6)
src=close,len=input(14)
RSI(src,len)=>
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))
RSI
rsi1 = RSI(src,len)
rsiMin = lowest(rsi1,MinMaxPeriod)
rsiMax = highest(rsi1,MinMaxPeriod)
range = rsiMax-rsiMin
rsiLDn = rsiMin+range*LevelDown/100.0
rsiLMi = rsiMin+range*0.5
rsiLMu = rsiMin+range*LevelMiUp/100.0
rsiLMd = rsiMin+range*LevelMiDown/100.0
rsiLUp = rsiMin+range*LevelUp/100.0
plot(rsiLDn,color=white)
plot(rsiLMi,color=yellow)
plot(rsiLMu,color=yellow)
plot(rsiLMd,color=yellow)
plot(rsiLUp,color=white)
plot(rsi1,color=purple)
//forex-tsd.com/indicators-expert-systems-tools/14880-rsi-indicator-71.html
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.