첨부 이미지
그림1
-67093관렵니다.
-특이부분(A로 표시)을 없앨 수는 없는지요?
답변 1
예스스탁
예스스탁 답변
2020-04-27 19:50:54
안녕하세요
예스스탁입니다.
날짜를 영업일인 bdate 기준으로 변경해 드립니다.
국내 해외 공통으로 사용하실수 있습니다.
input : n1(2),n2(7);
var : cnt(0),T(0),hh(0),ll(0),Tcond(false);
Array : dd[100](0);
if bdate != bdate[1] then
{
dd[0] = bdate;
for cnt = 1 to 99
{
dd[cnt] = dd[cnt-1][1];
}
}
hh = 0;
ll = 0;
T = 0;
for cnt = 0 to index
{
if t == 0 and bdate[cnt] == dd[n1] and stime[cnt] <= stime Then
{
T = 1;
}
if T == 1 and bdate[cnt] == dd[n2] and stime[cnt] <= stime Then
{
T = 2;
cnt = index+1;
}
if T == 1 then
{
if hh == 0 or (hh > 0 and h[cnt] > hh) Then
hh = h[cnt];
if ll == 0 or (ll > 0 and l[cnt] < ll) Then
ll = l[cnt];
}
}
plot1(hh);
plot2(ll);
즐거운 하루되세요
> 예시 님이 쓴 글입니다.
> 제목 : 부탁드립니다.
> -67093관렵니다.
-특이부분(A로 표시)을 없앨 수는 없는지요?