첨부 이미지
그림1
아래식의반대식을 구합니다
또한 선이사진의 반대모습으로, 즉 뾰족한모습이 사진처럼 아래에서위로가아닌 반대식은 위에서아래로 표현되길원합니다
감사합니다
var : sindex1(0), sindex2(0), Lindex1(0), Lindex2(0);
value1 = CCI(9);
Condition1 = value1 > value1[1] and value1[1] <= value1[2];
Condition2 = L > L[1] and L[1] <= L[2];
sindex1 = MRO(Condition1,15,1);
sindex2 = MRO(Condition1,15,2);
Lindex1 = MRO(Condition2,15,1);
Lindex2 = MRO(Condition2,15,2);
if value1[sindex1+1] > value1[sindex2+1] and
L[Lindex1+1] < L[Lindex2+1] and
Condition1 and
lowest(L,5) == lowest(L,15)
then
var1 = 1;
else
var1 = 0;
plot1(var1);
답변 1
예스스탁
예스스탁 답변
2020-02-20 13:24:56
안녕하세요
예스스탁입니다.
위에서 아래로 뽀쪽하게는 처리가 되지 않습니다.
var : bindex1(0), bindex2(0), hindex1(0), hindex2(0);
value1 = CCI(9);
Condition3 = value1 < value1[1] and value1[1] >= value1[2];
Condition4 = H < H[1] and H[1] >= H[2];
bindex1 = MRO(Condition3,15,1);
bindex2 = MRO(Condition3,15,2);
hindex1 = MRO(Condition4,15,1);
hindex2 = MRO(Condition4,15,2);
if value1[bindex1+1] < value1[bindex2+1] and
H[hindex1+1] > H[hindex2+1] and
Condition3 and
Highest(H,5) == Highest(H,15)
then
var2 = 1;
else
var2 = 0;
plot2(var2);
즐거운 하루되세요
> 새벽에 님이 쓴 글입니다.
> 제목 : 문의드립니다
> 아래식의반대식을 구합니다
또한 선이사진의 반대모습으로, 즉 뾰족한모습이 사진처럼 아래에서위로가아닌 반대식은 위에서아래로 표현되길원합니다
감사합니다
var : sindex1(0), sindex2(0), Lindex1(0), Lindex2(0);
value1 = CCI(9);
Condition1 = value1 > value1[1] and value1[1] <= value1[2];
Condition2 = L > L[1] and L[1] <= L[2];
sindex1 = MRO(Condition1,15,1);
sindex2 = MRO(Condition1,15,2);
Lindex1 = MRO(Condition2,15,1);
Lindex2 = MRO(Condition2,15,2);
if value1[sindex1+1] > value1[sindex2+1] and
L[Lindex1+1] < L[Lindex2+1] and
Condition1 and
lowest(L,5) == lowest(L,15)
then
var1 = 1;
else
var1 = 0;
plot1(var1);