커뮤니티
문의드립니다
2017-10-27 08:02:53
141
글번호 113675
안녕하세요.
if H > C[1]*1.2 and
H > highest(H[1],20) Then {
Condition1 = true;
value1 = H;
value5 = index;
value11 = H;
value12 = C;
}
if Condition1 == true Then{
if H > value11 Then
value11 = H;
if C < value12 Then
value12 = C;
}
if Condition1 == true and
index >= value5+1 and index <= value5+25 and
value1 == value11 and
C < value1*0.7 &&
C == value12
Then
find(1);
위 조건의 수식에
최고가봉 이후 봉부터 현재봉까지 모든 봉이
( C<C[1]*1.2 && C<C[2]*1.2 ) 의 조건을 만족한다는 걸
추가한 수식 부탁드립니다.
수고하세요.
답변 1
예스스탁 예스스탁 답변
2017-10-27 15:20:40
안녕하세요
예스스탁입니다.
if H > C[1]*1.2 and
H > highest(H[1],20) Then {
Condition1 = true;
value1 = H;
value5 = index;
value11 = H;
value12 = C;
Condition2 = true;
}
if Condition1 == true Then{
if H > value11 Then
value11 = H;
if C < value12 Then
value12 = C;
if !(C<C[1]*1.2 && C<C[2]*1.2) Then
Condition2 = false;
}
if Condition1 == true and
index >= value5+1 and index <= value5+25 and
value1 == value11 and
C < value1*0.7 &&
C == value12 and
Condition2 == true Then
find(1);
즐거운 하루되세요
> land22 님이 쓴 글입니다.
> 제목 : 문의드립니다
> 안녕하세요.
if H > C[1]*1.2 and
H > highest(H[1],20) Then {
Condition1 = true;
value1 = H;
value5 = index;
value11 = H;
value12 = C;
}
if Condition1 == true Then{
if H > value11 Then
value11 = H;
if C < value12 Then
value12 = C;
}
if Condition1 == true and
index >= value5+1 and index <= value5+25 and
value1 == value11 and
C < value1*0.7 &&
C == value12
Then
find(1);
위 조건의 수식에
최고가봉 이후 봉부터 현재봉까지 모든 봉이
( C<C[1]*1.2 && C<C[2]*1.2 ) 의 조건을 만족한다는 걸
추가한 수식 부탁드립니다.
수고하세요.
다음글
이전글