커뮤니티
부탁드립니다.
2016-01-15 07:31:49
155
글번호 94429
항상 도움 주셔서 감사 드립니다.
다음을
수식1)시작 일,시를 지정
수식2)08:00 에서 익일07:00까지 지정
하여 수정 할수 있겠는지요?
(틱차트용)
미리 감사 드립니다.
input : 시작시간(080000);
var : cnt(0);
if (시작시간 == stime or (stime > 시작시간 and stime[1] < 시작시간)) Then
Condition1 = true;
if Condition1 == true Then{
cnt = cnt+1;
plot1(cnt);
}
답변 2
예스스탁 예스스탁 답변
2016-01-15 14:05:45
안녕하세요
예스스탁입니다.
input : 시작일(20160115), 시작시간(080000),익일종료시간(70000);
var : cnt(0);
if sdate == 시작일 and (시작시간 == stime or (stime > 시작시간 and stime[1] < 시작시간)) Then
Condition1 = true;
if sdate > 시작일 and (익일종료시간 == stime or (stime > 익일종료시간 and stime[1] < 익일종료시간)) Then
Condition1 = false;
if Condition1 == true Then{
cnt = cnt+1;
plot1(cnt);
}
즐거운 하루되세요
> yes 님이 쓴 글입니다.
> 제목 : 부탁드립니다.
> 항상 도움 주셔서 감사 드립니다.
다음을
수식1)시작 일,시를 지정
수식2)08:00 에서 익일07:00까지 지정
하여 수정 할수 있겠는지요?
(틱차트용)
미리 감사 드립니다.
input : 시작시간(080000);
var : cnt(0);
if (시작시간 == stime or (stime > 시작시간 and stime[1] < 시작시간)) Then
Condition1 = true;
if Condition1 == true Then{
cnt = cnt+1;
plot1(cnt);
}
yes
2016-01-17 19:05:52
yes 님에 의해 삭제된 답변입니다.