[PEL] 复制代码 H1:=ISUP AND C=HHV(C,20);
LEN1:=SUMBARS(H1,1);
H1L:=VALUEWHEN(H1,L);
YXH1:=C<REF(HHV(H,LEN1),1) AND ISDOWN AND COUNT(C<H1L,LEN1-1)=1 AND C<H1L;
H2:=C<REF(HHV(H,LEN1),1) AND ISUP AND COUNT(H<H1L,LEN1-1)=1 AND H<H1L;
H2L:=VALUEWHEN(H2,L);
LEN2:=SUMBARS(H2,1);
H3:=C<REF(HHV(H,LEN1),1) AND ISUP AND COUNT(H<H2L,LEN2-1)=1 AND H<H2L;
H3L:=VALUEWHEN(H3,L);
LEN3:=SUMBARS(H3,1);
H4:=C<REF(HHV(H,LEN1),1) AND ISUP AND COUNT(H<H3L,LEN3-1)=1 AND H<H3L;
DRAWTEXT(H1,L-2*MINDIFF,'H1');
DRAWTEXT(YXH1,L-2*MINDIFF,'YXH1',COLORYELLOW,0);
DRAWTEXT(H2,L-2*MINDIFF,'H2');
DRAWTEXT(H3,L-2*MINDIFF,'H3');
DRAWTEXT(H4,L-2*MINDIFF,'H4');
先核实下第一部分。 |