커뮤니티

수식부탁드립니다-------------------

프로필 이미지
leekss1
2011-05-16 07:43:18
632
글번호 38632
답변완료
If ostema1 > ostema1[1] and var77 >=var77[1]+전봉차 and time[1]-stime[1] <시간 Then 위와같은봉이 3봉연속나오면 매수해주시고 현재가가 최근3봉 최고가 -4틱이면 청산해 주세요 If ostema1 < ostema1[1] and var77 <=var77[1]-전봉차 and time[1]-stime[1] <시간 Then 위와같은봉이 3봉연속나오면 매도해주시고 현재가가 최근3봉 최저가 +4틱이면 청산해 주세요
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2011-05-16 13:45:23

안녕하세요 예스스탁입니다. If countif( ostema1 > ostema1[1] and var77 >=var77[1]+전봉차 and time[1]-stime[1] <시간,3) ==3 Then if MarketPosition == 1 Then exitlong("bx",AtStop,highest(H,3)-PriceScale*4); If countif(ostema1 < ostema1[1] and var77 <=var77[1]-전봉차 and time[1]-stime[1] <시간,3) == 3 Then sell(); if MarketPosition == -1 Then ExitShort("sx",AtStop,Lowest(H,3)+PriceScale*4); 즐거운 하루되세요 > leekss1 님이 쓴 글입니다. > 제목 : 수식부탁드립니다------------------- > If ostema1 > ostema1[1] and var77 >=var77[1]+전봉차 and time[1]-stime[1] <시간 Then 위와같은봉이 3봉연속나오면 매수해주시고 현재가가 최근3봉 최고가 -4틱이면 청산해 주세요 If ostema1 < ostema1[1] and var77 <=var77[1]-전봉차 and time[1]-stime[1] <시간 Then 위와같은봉이 3봉연속나오면 매도해주시고 현재가가 최근3봉 최저가 +4틱이면 청산해 주세요