커뮤니티
다시 한번 수정을...
2008-08-12 20:34:44
670
글번호 16646
아래 수정해 주신 언어로 실행을 해 보니...
17 줄 문법오류로 나오네요....
다시한번 부탁드립니다....
감사합니다...
------------------------------------
var : count(0),value1(0);
Count = 0 ;
for Value1 = 0 to 10 {
if EntryDate( Value1 ) == sdate then
Count = Count + 1;
}
if stime == 92000 Then{
var1 = highest(max(O,C),dayindex()+1)[1];
var2 = Lowest(Min(O,C),dayindex()+1)[1];
var3 = highest(H,dayindex()+1)[1];
var4 = Lowest(L,dayindex()+1)[1];
}
if stime >= 92000 and count =qa= 0 then{
if crossup(c,var1) Then
buy();
if CrossDown(c,var2) Then
Sell();
}
if stime >= 92000 and count >= 1 then{
if crossup(c,var3) Then
buy();
if CrossDown(c,var4) Then
Sell();
}
SetStopEndofday(1500);
답변 1
예스스탁 예스스탁 답변
2008-08-13 08:55:43
안녕하세요
예스스탁입니다.
죄송합니다.
수식내에 이상한 문자가 끼어 있었습니다.
var : count(0),value1(0);
Count = 0 ;
for Value1 = 0 to 10 {
if EntryDate( Value1 ) == sdate then
Count = Count + 1;
}
if stime == 92000 Then{
var1 = highest(max(O,C),dayindex()+1)[1];
var2 = Lowest(Min(O,C),dayindex()+1)[1];
var3 = highest(H,dayindex()+1)[1];
var4 = Lowest(L,dayindex()+1)[1];
}
if stime >= 92000 and count == 0 then{
if crossup(c,var1) Then
buy();
if CrossDown(c,var2) Then
Sell();
}
if stime >= 92000 and count >= 1 then{
if crossup(c,var3) Then
buy();
if CrossDown(c,var4) Then
Sell();
}
SetStopEndofday(1500);
즐거운 하루되세요
> sperm 님이 쓴 글입니다.
> 제목 : 다시 한번 수정을...
> 아래 수정해 주신 언어로 실행을 해 보니...
17 줄 문법오류로 나오네요....
다시한번 부탁드립니다....
감사합니다...
------------------------------------
var : count(0),value1(0);
Count = 0 ;
for Value1 = 0 to 10 {
if EntryDate( Value1 ) == sdate then
Count = Count + 1;
}
if stime == 92000 Then{
var1 = highest(max(O,C),dayindex()+1)[1];
var2 = Lowest(Min(O,C),dayindex()+1)[1];
var3 = highest(H,dayindex()+1)[1];
var4 = Lowest(L,dayindex()+1)[1];
}
if stime >= 92000 and count =qa= 0 then{
if crossup(c,var1) Then
buy();
if CrossDown(c,var2) Then
Sell();
}
if stime >= 92000 and count >= 1 then{
if crossup(c,var3) Then
buy();
if CrossDown(c,var4) Then
Sell();
}
SetStopEndofday(1500);
다음글
이전글