커뮤니티

수식 부탁합니다

프로필 이미지
회원
2017-02-21 08:13:07
122
글번호 107046
답변완료
아래수식에서 nput : Per1(9); Var : pivot(0),S1(0),S2(1),S3(1),S4(1); S1 = (dayhigh(0)+daylow(0))/2; S2 = (dayhigh(1)+daylow(1))/2; S3 = dayhigh(1); S4 = daylow(1); plot1(dayclose(1)+abs(S3-S4)*(Per1/100)); plot2(dayclose(1)-abs(S3-S4)*(Per1/100)); 1),3분봉 기준에서 직전3개연속 양봉으로 4번째양봉이 polt1을 상향돌파시(거래량증가동반) 매수조건(OnClose,Atstop,Atlimit중 빠른신호) 1-1), 위 매수조건과 반대조건으로 하향이탈시 매도. 2),3분봉 기준에서 직전3개연속 음봉으로 4번째음봉이 plot2를 하향이탈시(거래량증가동반) 매도조건(OnClose,Atstop,Atlimit중 빠른신호) 2-1), 위 매도 조건과 반대조건으로 상향돌파시 매수. #,각기 손절10틱 익절20틱 (손,익절이후 신호 초기화) #,언제나 늘 감사합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-02-21 13:53:46

안녕하세요 예스스탁입니다. input : Per1(9); Var : pivot(0),S1(0),S2(1),S3(1),S4(1); S1 = (dayhigh(0)+daylow(0))/2; S2 = (dayhigh(1)+daylow(1))/2; S3 = dayhigh(1); S4 = daylow(1); var1 = dayclose(1)+abs(S3-S4)*(Per1/100); var2 = dayclose(1)-abs(S3-S4)*(Per1/100); if crossup(c,var1) and countif(C>O,4) == 4 Then buy("b1"); if CrossDown(c,var1) and countif(C<O,4) == 4 Then sell("s1"); if CrossDown(c,var2) and countif(C<O,4) == 4 Then sell("s2"); if CrossUp(c,var2) and countif(C>O,4) == 4 Then buy("b2"); SetStopProfittarget(PriceScale*20,PointStop); SetStopLoss(PriceScale*10,PointStop); 즐거운 하루되세요 > 골든키 님이 쓴 글입니다. > 제목 : 수식 부탁합니다 > 아래수식에서 nput : Per1(9); Var : pivot(0),S1(0),S2(1),S3(1),S4(1); S1 = (dayhigh(0)+daylow(0))/2; S2 = (dayhigh(1)+daylow(1))/2; S3 = dayhigh(1); S4 = daylow(1); plot1(dayclose(1)+abs(S3-S4)*(Per1/100)); plot2(dayclose(1)-abs(S3-S4)*(Per1/100)); 1),3분봉 기준에서 직전3개연속 양봉으로 4번째양봉이 polt1을 상향돌파시(거래량증가동반) 매수조건(OnClose,Atstop,Atlimit중 빠른신호) 1-1), 위 매수조건과 반대조건으로 하향이탈시 매도. 2),3분봉 기준에서 직전3개연속 음봉으로 4번째음봉이 plot2를 하향이탈시(거래량증가동반) 매도조건(OnClose,Atstop,Atlimit중 빠른신호) 2-1), 위 매도 조건과 반대조건으로 상향돌파시 매수. #,각기 손절10틱 익절20틱 (손,익절이후 신호 초기화) #,언제나 늘 감사합니다.