커뮤니티
부탁 드립니다.
2016-01-19 09:05:45
134
글번호 94533
언제나 만족한 수식 답변에 깊이 감사 드립니다.
양음봉 모두의 생성 수량이 아닌
시작 시간부터 양봉만의 생성수량을 부탁 드립니다.
미리 감사드립니다.
input : 시작일(20160118), 시작시간(080000),익일종료시간(070000);
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);
}
답변 1
예스스탁 예스스탁 답변
2016-01-19 14:37:56
안녕하세요
예스스탁입니다.
input : 시작일(20160118), 시작시간(080000),익일종료시간(070000);
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{
if C > O then
cnt = cnt+1;
plot1(cnt);
}
즐거운 하루되세요
> yes 님이 쓴 글입니다.
> 제목 : 부탁 드립니다.
> 언제나 만족한 수식 답변에 깊이 감사 드립니다.
양음봉 모두의 생성 수량이 아닌
시작 시간부터 양봉만의 생성수량을 부탁 드립니다.
미리 감사드립니다.
input : 시작일(20160118), 시작시간(080000),익일종료시간(070000);
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);
}
다음글
이전글