예스스탁
예스스탁 답변
2023-12-26 16:55:23
안녕하세요
예스스탁입니다.
input : lengthRSI(8),lengthStoch(5),smoothK(3),smoothD(3),OverSold(25),OverBought(75);
var : rsi1(0),stoch(0),k(0),d(0);
rsi1 = rsi(lengthRSI);
stoch = 100 * (rsi1 - lowest(rsi1, lengthStoch)) / (highest(rsi1, lengthStoch) - lowest(rsi1, lengthStoch));
k = ma(stoch, smoothK);
d = ma(k, smoothD);
plot1(k, "k-line");
plot2(d, "d-line");
PlotBaseLine1(OverSold,"OverSold",blue);
PlotBaseLine2(OverBought,"OverBought",blue);
즐거운 하루되세요
> 신대륙발견 님이 쓴 글입니다.
> 제목 : 문의 드립니다.
> study(title="StochRSI", shorttitle="StochRSI")
source = close
lengthRSI = input(8, minval=8), lengthStoch = input(5, minval=5)
smoothK = input(3,minval=3), smoothD = input(3,minval=3)
OverSold = input(25), OverBought = input(75)
rsi1 = rsi(source, lengthRSI)
k = sma(stoch(rsi1, rsi1, rsi1, lengthStoch), smoothK)
d = sma(k, smoothD)
hline(OverSold,color=blue)
hline(OverBought,color=blue)
plot(k, color=black,title="k-line")
plot(d, color=fuchsia,title="d-line",linewidth=1)
트레이딩뷰 지표인데
예스 수식으로 좀 만들어주세요.