커뮤니티

수정해주세요-----------------

프로필 이미지
leekss1
2012-02-03 12:37:25
387
글번호 47327
답변완료
if date != date[1] Then Condition1 = false; //진입라인설정시작--------------------------------------------------- /* if DayIndex+1== 시작봉+1 Then{ if C > dayopen Then var65 = o-PriceScale*허용치; if C < dayopen Then var65 = o+PriceScale*허용치; } if dayindex+1 == 시작봉+1 Then var66 = O; */ if highest(H,N)-lowest(L,N) <= C*(n*35/100/100) Then{ Condition1 = true; var1 = highest(H,N); var2 = lowest(L,N); } /*if Condition1 == False Then{ value1 = max(var65,var66); value2 = min(var65,var66); } */ if Condition1 == true Then{ value1 = var1; value2 = var2; } //진입라인설정끝--------------------------------------------------- value3 = ma(c,이평); //value3 = TEMA82; value6 = (당일손익/BigPointValue); //---------진입식-------------------------------- if dayindex+1 >= 시작봉+1 and dayPL < value6 and stime < 150000 and count<1 Then{ if c <= value1 and value3[1] < value3-0.02 Then buy("초b",AtStop,Value1-0.01); if c >= value2 and value3[1] > value3+0.02 Then sell("초s",AtStop,Value2+0.01); } if dayindex+1 >= 시작봉+1 and dayPL < value6 and stime < 150000 and count<1 Then{ if c <= value1 and value3[1] < value3 Then buy("초b1",AtStop,Value1); if c >= value2 and value3[1] > value3 Then sell("초s1",AtStop,Value2); } if dayindex+1 >= 시작봉+1 and dayPL < value6 and count>0 and stime < 150000 Then{ if c <= value1 and value3[1] < value3+0.000 Then buy("매수",AtStop,Value1); if c >= value2 and value3[1] > value3-0.000 Then sell("매도",AtStop,Value2); } //---------진입식끝-------------------------------- 수고하십니다 전일 생성된 장중진입라인 value1,value2은 무시하고 오늘 생성된 value1,value2에서만 진입하게 해주세요
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-02-03 15:28:50

안녕하세요? 예스스탁입니다. 먼저 답변드린 담당자가 휴가중이라 내용을 정확히 알지 못해서 답변드리기 어려울 것 같습니다. 월요일에 다시한번 올려주시면 답변드리도록 하겠습니다. 감사합니다. > leekss1 님이 쓴 글입니다. > 제목 : 수정해주세요----------------- > if date != date[1] Then Condition1 = false; //진입라인설정시작--------------------------------------------------- /* if DayIndex+1== 시작봉+1 Then{ if C > dayopen Then var65 = o-PriceScale*허용치; if C < dayopen Then var65 = o+PriceScale*허용치; } if dayindex+1 == 시작봉+1 Then var66 = O; */ if highest(H,N)-lowest(L,N) <= C*(n*35/100/100) Then{ Condition1 = true; var1 = highest(H,N); var2 = lowest(L,N); } /*if Condition1 == False Then{ value1 = max(var65,var66); value2 = min(var65,var66); } */ if Condition1 == true Then{ value1 = var1; value2 = var2; } //진입라인설정끝--------------------------------------------------- value3 = ma(c,이평); //value3 = TEMA82; value6 = (당일손익/BigPointValue); //---------진입식-------------------------------- if dayindex+1 >= 시작봉+1 and dayPL < value6 and stime < 150000 and count<1 Then{ if c <= value1 and value3[1] < value3-0.02 Then buy("초b",AtStop,Value1-0.01); if c >= value2 and value3[1] > value3+0.02 Then sell("초s",AtStop,Value2+0.01); } if dayindex+1 >= 시작봉+1 and dayPL < value6 and stime < 150000 and count<1 Then{ if c <= value1 and value3[1] < value3 Then buy("초b1",AtStop,Value1); if c >= value2 and value3[1] > value3 Then sell("초s1",AtStop,Value2); } if dayindex+1 >= 시작봉+1 and dayPL < value6 and count>0 and stime < 150000 Then{ if c <= value1 and value3[1] < value3+0.000 Then buy("매수",AtStop,Value1); if c >= value2 and value3[1] > value3-0.000 Then sell("매도",AtStop,Value2); } //---------진입식끝-------------------------------- 수고하십니다 전일 생성된 장중진입라인 value1,value2은 무시하고 오늘 생성된 value1,value2에서만 진입하게 해주세요