커뮤니티

다음 지표식 부탁합니다

프로필 이미지
미래테크
2015-08-14 21:06:23
174
글번호 89500
답변완료
60이동평균선 기준 주가가 60이평선 밑에서 스토캐스틱도골든크로스 후 상승으로 60이평선 돌파한 후 스토캐스틱 데드크로스 발생후 다시 골든크로스 발생시 지표식 스토캐스틱 (10,5,5), 스토캐스틱(5,3,3) 두가지 모두 골든크로스 지표식 부탁합니다 단 이때 주가는 60이평선 위에 있어야함. 반대로 주가가 60이평선 위에 있다 스토캐스틱 데드크로스 후 60이평선 하락 이탈 한 다음 스토캐스틱 골든크로스 발생후 다시 데드크로스 발생시 지표식 스토캐스틱 (10,5,5), 스토캐스틱(5,3,3) 두가지 모두 데드크로스 지표식 부탁합니다 단 이때 주가는 60이평선 아래에 있어야함.
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-08-17 15:22:08

안녕하세요 예스스탁입니다. input : P(60); input : sto11(10),sto12(5),sto13(5); input : sto21(5),sto22(3),sto23(3); var : mav(0),stok1(0),stod1(0),stok2(0),stod2(0); var : Cup1(0),Cup2(0),Cdn1(0),Cdn2(0); var : Sup1(0),Sup11(0),Sdn1(0),Sdn11(0); var : Sup2(0),Sup22(0),Sdn2(0),Sdn22(0); mav = ma(c,P); stok1 = StochasticsK(sto11,sto12); stod1 = StochasticsD(sto11,sto12,sto13); stok2 = StochasticsK(sto21,sto22); stod2 = StochasticsD(sto21,sto22,sto23); if crossup(c,mav) Then{ Cup1 = index; Cup2 = Cup1[1]; } if CrossDown(c,mav) Then{ Cdn1 = index; Cdn2 = Cdn1[1]; } if crossup(stok1,stod1) then{ Sup1 = index; Sup11 = Sup1[1]; } if CrossDown(stok1,stod1) then{ Sdn1 = index; Sdn11 = Sdn1[1]; } if crossup(stok2,stod2) then{ Sup2 = index; Sup22 = Sup2[1]; } if CrossDown(stok2,stod2) then{ Sdn2 = index; Sdn22 = Sdn2[1]; } var1 = 0; if crossup(stok1,stod1) and crossup(stok2,stod2) Then{ if sup1 > sdn1 and sdn1 >= Cup1 and Cup1 > sup11 And sup11 > Cdn1 and sup2 > sdn2 and sdn2 >= Cup1 and Cup1 > sup22 And sup22 > Cdn1 Then var1 = 1; } if CrossDown(stok1,stod1) and CrossDown(stok2,stod2) Then{ if sdn1 > sup1 and sup1 >= Cdn1 and Cdn1 > sdn11 And sdn11 > Cup1 and sdn2 > sup2 and sup2 >= Cup1 and Cup1 > sdn22 And sdn22 > Cup1 Then var1 = -1; } plot1(var1); 즐거운 하루되세요 > 미래테크 님이 쓴 글입니다. > 제목 : 다음 지표식 부탁합니다 > 60이동평균선 기준 주가가 60이평선 밑에서 스토캐스틱도골든크로스 후 상승으로 60이평선 돌파한 후 스토캐스틱 데드크로스 발생후 다시 골든크로스 발생시 지표식 스토캐스틱 (10,5,5), 스토캐스틱(5,3,3) 두가지 모두 골든크로스 지표식 부탁합니다 단 이때 주가는 60이평선 위에 있어야함. 반대로 주가가 60이평선 위에 있다 스토캐스틱 데드크로스 후 60이평선 하락 이탈 한 다음 스토캐스틱 골든크로스 발생후 다시 데드크로스 발생시 지표식 스토캐스틱 (10,5,5), 스토캐스틱(5,3,3) 두가지 모두 데드크로스 지표식 부탁합니다 단 이때 주가는 60이평선 아래에 있어야함.