커뮤니티

다시 올림다..

프로필 이미지
하팅
2004-06-07 22:43:28
1551
글번호 3967
답변완료
안녕하세여... 저번에 질문에 다시 글 올립다.. Input : Period(14),price(500); Var: buyVal(0); if stime == 092500 or stime == 102500 or stime == 112500 or stime == 122500 or stime == 132500 or stime == 142500 then { var1 = 0; var2 = 0; } if stime == 095500 or stime == 105500 or stime == 125500 or stime == 135500 or stime == 144500 or stime == 114500 then { var3 = 0; var4 = 0; } if (stime >= 143000 ) or (stime >= 093000 and stime < 100000) or (stime >= 103000 and stime < 110000) or (stime >= 113000 and stime < 120000) or (stime >= 123000 and stime < 130000) or (stime >= 133000 and stime < 140000) then var1 = var1 + V; if (stime >= 090000 and stime < 092500) or (stime >= 100000 and stime < 102500) or (stime >= 110000 and stime < 112500) or (stime >= 120000 and stime < 122500) or (stime >= 130000 and stime < 132500) or (stime >= 140000 and stime < 142500) then { var2 = var2 + V; if var2 > var1*0.7 and RSI(Period) >70 and o>ma(c,20) and v>v[1] and v>5000 and dayvolume(1)>80000 and c>price and c>O and C > O[1] and ma(C, 5) >ma(c,10)and ma (c,10)> ma(C, 20) and C > dayclose(1) * 0.99 and C < dayclose(1) * 1.09 then { buy(); buyVal = C; } } if ma(C, 5) <= ma(C, 10) then exitlong(); 이식을 계속 시뮬레이션해보고 있는데여.. 몇일 전부터 한달 이상의 기간을 잡아도 다 나오던 시뮬레이션 신호와 값이 단 몇번의 거래가 된 시뮬레이션 결과만 계속 나오네여 잘 쓰던 식이 어떻게 그렇게 되는지..아니면 제가 실수를 한건지.. 궁금하군여 답변 부탁드림다..
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2004-06-09 11:12:41

안녕하세요..예스스탁입니다. 식중에 보면 v>5000 and dayvolume(1)>80000 and c>price 와 같은 내용이 있는데, 이 조건에 걸려서 신호가 발생되지 않는게 아닌가 생각됩니다. 시스템에 사용된 실제변수, 적용된 종목, 시간주기, 시스템설정 등을 알려 주셔야 정확한 확인을 해 드릴 수 있을 것으로 보입니다. 즐거운 날 되세요.. > 하팅 님이 쓴 글입니다. > 제목 : 다시 올림다.. > 안녕하세여... 저번에 질문에 다시 글 올립다.. Input : Period(14),price(500); Var: buyVal(0); if stime == 092500 or stime == 102500 or stime == 112500 or stime == 122500 or stime == 132500 or stime == 142500 then { var1 = 0; var2 = 0; } if stime == 095500 or stime == 105500 or stime == 125500 or stime == 135500 or stime == 144500 or stime == 114500 then { var3 = 0; var4 = 0; } if (stime >= 143000 ) or (stime >= 093000 and stime < 100000) or (stime >= 103000 and stime < 110000) or (stime >= 113000 and stime < 120000) or (stime >= 123000 and stime < 130000) or (stime >= 133000 and stime < 140000) then var1 = var1 + V; if (stime >= 090000 and stime < 092500) or (stime >= 100000 and stime < 102500) or (stime >= 110000 and stime < 112500) or (stime >= 120000 and stime < 122500) or (stime >= 130000 and stime < 132500) or (stime >= 140000 and stime < 142500) then { var2 = var2 + V; if var2 > var1*0.7 and RSI(Period) >70 and o>ma(c,20) and v>v[1] and v>5000 and dayvolume(1)>80000 and c>price and c>O and C > O[1] and ma(C, 5) >ma(c,10)and ma (c,10)> ma(C, 20) and C > dayclose(1) * 0.99 and C < dayclose(1) * 1.09 then { buy(); buyVal = C; } } if ma(C, 5) <= ma(C, 10) then exitlong(); 이식을 계속 시뮬레이션해보고 있는데여.. 몇일 전부터 한달 이상의 기간을 잡아도 다 나오던 시뮬레이션 신호와 값이 단 몇번의 거래가 된 시뮬레이션 결과만 계속 나오네여 잘 쓰던 식이 어떻게 그렇게 되는지..아니면 제가 실수를 한건지.. 궁금하군여 답변 부탁드림다..