커뮤니티
재 문의 드립니다.
2017-01-18 01:39:55
106
글번호 106031
안녕하세요.
제가 문의 드릴 때 변경할 수식 내용을 일부 누락시켜서 문의하는 바람에
만들어주신 수식이 제대로 표현이 안되네요..
번거롭게 죄송합니다..
아래 수식을 항셍지수선물에 맞게 일자와 시간 조정을 다시 부탁드립니다.
input: p(1);
var: HH(0),LL(0),RR(0);
var : month(0),nday(0),week(0);
month = int(date/100)-int(date/10000)*100;
nday = date - int(date/100)*100;
week = DayOfWeek(date);
if month%1 == 0 and nday >= 8 and nday <= 14 and week == 4 then
Condition1 = True;
Else
Condition1 = false;
if index == 0 or (Condition1 == false and Condition1[1] == true) Then{
HH=H;
LL=L;
}
if H > HH Then
HH = H;
if L < Ll Then
LL = L;
RR=HH-LL;
===============
미리 감사드립니다.
답변 1
예스스탁 예스스탁 답변
2017-01-18 14:23:02
안녕하세요
예스스탁입니다.
input: p(1);
var: HH(0),LL(0),RR(0);
var : month(0),nday(0),week(0),DD(0);
if stime >= 101400 and stime[1] < 101400 Then{
DD = sdate;
month = int(dd/100)-int(dd/10000)*100;
nday = dd - int(dd/100)*100;
week = DayOfWeek(dd);
if month%1 == 0 and nday >= 8 and nday <= 14 and week == 4 then
Condition1 = True;
Else
Condition1 = false;
}
if index == 0 or (Condition1 == false and Condition1[1] == true) Then{
HH=H;
LL=L;
}
if H > HH Then
HH = H;
if L < Ll Then
LL = L;
RR=HH-LL;
즐거운 하루되세요
> 태양같이 님이 쓴 글입니다.
> 제목 : 재 문의 드립니다.
> 안녕하세요.
제가 문의 드릴 때 변경할 수식 내용을 일부 누락시켜서 문의하는 바람에
만들어주신 수식이 제대로 표현이 안되네요..
번거롭게 죄송합니다..
아래 수식을 항셍지수선물에 맞게 일자와 시간 조정을 다시 부탁드립니다.
input: p(1);
var: HH(0),LL(0),RR(0);
var : month(0),nday(0),week(0);
month = int(date/100)-int(date/10000)*100;
nday = date - int(date/100)*100;
week = DayOfWeek(date);
if month%1 == 0 and nday >= 8 and nday <= 14 and week == 4 then
Condition1 = True;
Else
Condition1 = false;
if index == 0 or (Condition1 == false and Condition1[1] == true) Then{
HH=H;
LL=L;
}
if H > HH Then
HH = H;
if L < Ll Then
LL = L;
RR=HH-LL;
===============
미리 감사드립니다.
다음글
이전글