커뮤니티
request
2012-08-17 15:08:49
326
글번호 53852
아래 식으로 해도
틱차트에서 그림이 이상하게 표시가 되는군요
[어제는 정상이였는데 오늘 실시간 보니 이상하게 표시되었?움,봉차트는 이상없음]
확인바랍니다.
수고하세요.
*******
input : N2(5);
input : stime2(100000), ftime2(120000) ;
if (stime == stime2) or (stime >= stime2 and stime[1] < stime2) Then{
## 틱차트봉은 체결건수를 기준으로 만들어 지므로
## 봉의 시간이 100000와 같이 일치하지 않을 수 있습니다.
var21 = dayindex;
value21 = H;
value22 = L;
}
if stime >= stime2 and dayindex <= var21+N2 Then{
if H > value21 Then
value21 = H;
if L < value22 Then
value22 = L;
}
if dayindex >= var21+N2 and stime <= ftime2 then{
plot21(value21,"H2-점",red);
plot22(value22,"L2-점",blue);
}
- 1. 54214_사용자 지정 2.jpg (0.17 MB)
답변 3
예스스탁 예스스탁 답변
2012-08-17 16:38:00
안녕하세요
예스스탁입니다.
식을 수정했습니다.
input : N2(5);
input : stime2(100000), ftime2(120000) ;
if (stime == stime2) or (stime >= stime2 and stime[1] < stime2) Then{
## 틱차트봉은 체결건수를 기준으로 만들어 지므로
## 봉의 시간이 100000와 같이 일치하지 않을 수 있습니다.
var21 = dayindex;
Condition1 = true;
value21 = H;
value22 = L;
}
if stime >= stime2 and dayindex <= var21+N2 Then{
if H > value21 Then
value21 = H;
if L < value22 Then
value22 = L;
}
if stime >= stime2 and dayindex >= var21+N2 and stime <= ftime2 then{
plot21(value21,"H2-점",red);
plot22(value22,"L2-점",blue);
}
즐거운 하루되세요
> 오이도인 님이 쓴 글입니다.
> 제목 : request
> 아래 식으로 해도
틱차트에서 그림이 이상하게 표시가 되는군요
[어제는 정상이였는데 오늘 실시간 보니 이상하게 표시되었?움,봉차트는 이상없음]
확인바랍니다.
수고하세요.
*******
input : N2(5);
input : stime2(100000), ftime2(120000) ;
if (stime == stime2) or (stime >= stime2 and stime[1] < stime2) Then{
## 틱차트봉은 체결건수를 기준으로 만들어 지므로
## 봉의 시간이 100000와 같이 일치하지 않을 수 있습니다.
var21 = dayindex;
value21 = H;
value22 = L;
}
if stime >= stime2 and dayindex <= var21+N2 Then{
if H > value21 Then
value21 = H;
if L < value22 Then
value22 = L;
}
if dayindex >= var21+N2 and stime <= ftime2 then{
plot21(value21,"H2-점",red);
plot22(value22,"L2-점",blue);
}
오이도인
2012-08-17 17:20:35
condition1은 무엇으로 해야하나요??
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : request
> 안녕하세요
예스스탁입니다.
식을 수정했습니다.
input : N2(5);
input : stime2(100000), ftime2(120000) ;
if (stime == stime2) or (stime >= stime2 and stime[1] < stime2) Then{
## 틱차트봉은 체결건수를 기준으로 만들어 지므로
## 봉의 시간이 100000와 같이 일치하지 않을 수 있습니다.
var21 = dayindex;
Condition1 = true;
value21 = H;
value22 = L;
}
if stime >= stime2 and dayindex <= var21+N2 Then{
if H > value21 Then
value21 = H;
if L < value22 Then
value22 = L;
}
if stime >= stime2 and dayindex >= var21+N2 and stime <= ftime2 then{
plot21(value21,"H2-점",red);
plot22(value22,"L2-점",blue);
}
즐거운 하루되세요
> 오이도인 님이 쓴 글입니다.
> 제목 : request
> 아래 식으로 해도
틱차트에서 그림이 이상하게 표시가 되는군요
[어제는 정상이였는데 오늘 실시간 보니 이상하게 표시되었?움,봉차트는 이상없음]
확인바랍니다.
수고하세요.
*******
input : N2(5);
input : stime2(100000), ftime2(120000) ;
if (stime == stime2) or (stime >= stime2 and stime[1] < stime2) Then{
## 틱차트봉은 체결건수를 기준으로 만들어 지므로
## 봉의 시간이 100000와 같이 일치하지 않을 수 있습니다.
var21 = dayindex;
value21 = H;
value22 = L;
}
if stime >= stime2 and dayindex <= var21+N2 Then{
if H > value21 Then
value21 = H;
if L < value22 Then
value22 = L;
}
if dayindex >= var21+N2 and stime <= ftime2 then{
plot21(value21,"H2-점",red);
plot22(value22,"L2-점",blue);
}
예스스탁 예스스탁 답변
2012-08-17 17:46:07
안녕하세요
예스스탁입니다.
해당 부분은 빼셔도 됩니다.
테스트 하다가 남겨진 부분입니다.
다른 내용을 제어했습니다.
input : N2(5);
input : stime2(100000), ftime2(120000) ;
if (stime == stime2) or (stime >= stime2 and stime[1] < stime2) Then{
## 틱차트봉은 체결건수를 기준으로 만들어 지므로
## 봉의 시간이 100000와 같이 일치하지 않을 수 있습니다.
var21 = dayindex;
value21 = H;
value22 = L;
}
if stime >= stime2 and dayindex <= var21+N2 Then{
if H > value21 Then
value21 = H;
if L < value22 Then
value22 = L;
}
if stime >= stime2 and dayindex >= var21+N2 and stime <= ftime2 then{
plot21(value21,"H2-점",red);
plot22(value22,"L2-점",blue);
}
즐거운 하루되세요
> 오이도인 님이 쓴 글입니다.
> 제목 : Re : Re : request
> condition1은 무엇으로 해야하나요??
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : request
> 안녕하세요
예스스탁입니다.
식을 수정했습니다.
input : N2(5);
input : stime2(100000), ftime2(120000) ;
if (stime == stime2) or (stime >= stime2 and stime[1] < stime2) Then{
## 틱차트봉은 체결건수를 기준으로 만들어 지므로
## 봉의 시간이 100000와 같이 일치하지 않을 수 있습니다.
var21 = dayindex;
Condition1 = true;
value21 = H;
value22 = L;
}
if stime >= stime2 and dayindex <= var21+N2 Then{
if H > value21 Then
value21 = H;
if L < value22 Then
value22 = L;
}
if stime >= stime2 and dayindex >= var21+N2 and stime <= ftime2 then{
plot21(value21,"H2-점",red);
plot22(value22,"L2-점",blue);
}
즐거운 하루되세요
> 오이도인 님이 쓴 글입니다.
> 제목 : request
> 아래 식으로 해도
틱차트에서 그림이 이상하게 표시가 되는군요
[어제는 정상이였는데 오늘 실시간 보니 이상하게 표시되었?움,봉차트는 이상없음]
확인바랍니다.
수고하세요.
*******
input : N2(5);
input : stime2(100000), ftime2(120000) ;
if (stime == stime2) or (stime >= stime2 and stime[1] < stime2) Then{
## 틱차트봉은 체결건수를 기준으로 만들어 지므로
## 봉의 시간이 100000와 같이 일치하지 않을 수 있습니다.
var21 = dayindex;
value21 = H;
value22 = L;
}
if stime >= stime2 and dayindex <= var21+N2 Then{
if H > value21 Then
value21 = H;
if L < value22 Then
value22 = L;
}
if dayindex >= var21+N2 and stime <= ftime2 then{
plot21(value21,"H2-점",red);
plot22(value22,"L2-점",blue);
}