커뮤니티

수식 의뢰드립니다

프로필 이미지
qha71
2017-04-19 01:24:43
286
글번호 108932
답변완료

첨부 이미지

키움수식을 에스로 변환부탁드립니다 (참조그림 올려요) 국선 타임프레임 ; 5분 매수: 스토캐스틱(5,3,3)이 50아래에서 시그날 골든크로스하고 지수이평 4와 6이평이 골든크로스시 매수 시그널이 나오게 부탁드립니다 매도: 두 이평이 데드크로스하거나 스토가 80아래로 떨어질 때 매도 시그널이 나오도록 해주세요 <키움용 밴드 수식> 수식1 스토변수값 5, 3, 3 cond=Stochasticsslow(sto1,sto2)<50 and crossup(Stochasticsslow(sto1,sto2),eavg(Stochasticsslow(sto1,sto2),sto3)); valuewhen(1,cond,eavg(c,6)) 부탁드려요!
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-04-20 09:42:07

안녕하세요 예스스탁입니다. 1 Input : Period(5), Period1(3), Period2(3),P1(4),P2(6); var : StoK(0),StoD(0),ema1(0),ema2(0),T(0); StoK = StochasticsK(Period,Period1); StoD = StochasticsD(Period,Period1,Period2); ema1 = ema(c,P1); ema2 = ema(c,P2); if crossup(stok,stod) Then{ if stok < 50 Then T = 1; Else T = 2; } if CrossDown(stok,stod) Then T = -1; if T == 1 and crossup(ema1,ema2) Then buy(); if MarketPosition == 1 Then{ if CrossDown(ema1,ema2) Then exitlong(); if CrossDown(stok,80) Then ExitLong(); } 2 Input : Period(5), Period1(3), Period2(3),P1(4),P2(6); var : StoK(0),StoD(0),ema1(0),ema2(0),T(0); StoK = StochasticsK(Period,Period1); StoD = StochasticsD(Period,Period1,Period2); ema1 = ema(c,P1); ema2 = ema(c,P2); if stok<50 and crossup(stok,stod) Then var1 = ema2; plot1(var1); 즐거운 하루되세요 > qha71 님이 쓴 글입니다. > 제목 : 수식 의뢰드립니다 > 키움수식을 에스로 변환부탁드립니다 (참조그림 올려요) 국선 타임프레임 ; 5분 매수: 스토캐스틱(5,3,3)이 50아래에서 시그날 골든크로스하고 지수이평 4와 6이평이 골든크로스시 매수 시그널이 나오게 부탁드립니다 매도: 두 이평이 데드크로스하거나 스토가 80아래로 떨어질 때 매도 시그널이 나오도록 해주세요 <키움용 밴드 수식> 수식1 스토변수값 5, 3, 3 cond=Stochasticsslow(sto1,sto2)<50 and crossup(Stochasticsslow(sto1,sto2),eavg(Stochasticsslow(sto1,sto2),sto3)); valuewhen(1,cond,eavg(c,6)) 부탁드려요!