커뮤니티

수식부탁드립니다 ^^

프로필 이미지
pcasso
2016-06-10 13:31:02
146
글번호 98935
답변완료
항상 고맙게 생각합니다 ^^ 멀티차트 수식인데요.예스차트에 적용하고 싶습니다. study("Ersoy-Kesişme") plot(close,title="Close") short = sma(close,1) long = sma(close,21) plot(short, color = lime,title="Short",style = areabr) plot(long, color = red,title="long",style =areabr) plot(cross(short, long) ? long : na,color=blue,style = cross, linewidth = 3,title="Kesişme") src = close, len = 1 out = sma(src, len) out1 = security(tickerid, 'D', out) plot(out1,color=blue,title="Günlük-Days",linewidth = 3) out2 = security(tickerid, 'W', out) plot(out2,color=red,title="Haftalık-Weekly",linewidth = 3) out3 = security(tickerid, 'M', out) plot(out3,color=lime,title="Aylık-Mountly",linewidth = 3)
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2016-06-10 14:11:09

안녕하세요 예스스탁입니다. 해당 프로그램의 랭귀지는 사용하지 않아 내용을 정확히 알지 못해 변환을 해드릴수 없습니다. src = close, len = 1 out = sma(src, len) out1 = security(tickerid, 'D', out) plot(out1,color=blue,title="Günlük-Days",linewidth = 3) out2 = security(tickerid, 'W', out) plot(out2,color=red,title="Haftalık-Weekly",linewidth = 3) out3 = security(tickerid, 'M', out) plot(out3,color=lime,title="Aylık-Mountly",linewidth = 3) 위 내용 제외한 내용만 올려드립니다. var : shor(0),long(0) short = ma(close,1); long = ma(close,21); plot1(close,"Close"); plot2(short,"Short"); plot3(long,"long"); if crossup(short,long) or CrossDown(short,long) Then var1 = long; plot4(var1) 즐거운 하루되세요 > pcasso 님이 쓴 글입니다. > 제목 : 수식부탁드립니다 ^^ > 항상 고맙게 생각합니다 ^^ 멀티차트 수식인데요.예스차트에 적용하고 싶습니다. study("Ersoy-Kesişme") plot(close,title="Close") short = sma(close,1) long = sma(close,21) plot(short, color = lime,title="Short",style = areabr) plot(long, color = red,title="long",style =areabr) plot(cross(short, long) ? long : na,color=blue,style = cross, linewidth = 3,title="Kesişme") src = close, len = 1 out = sma(src, len) out1 = security(tickerid, 'D', out) plot(out1,color=blue,title="Günlük-Days",linewidth = 3) out2 = security(tickerid, 'W', out) plot(out2,color=red,title="Haftalık-Weekly",linewidth = 3) out3 = security(tickerid, 'M', out) plot(out3,color=lime,title="Aylık-Mountly",linewidth = 3)