DB:=FINDLOWBARS(L,1,7,1)=4;
T:=BARSLAST(DB);
T2:=SUMBARS(DB,2)-1;
LL:=FINDLOW(L,T,T+7,1);
LL2:=FINDLOW(L,T2,T2+7,1);
A1:=COUNT(CROSS(C,LL),T)>=1;
A2:=CROSS(C,LL) AND C>REF(H,1);
A3:=T>5 AND T<30;
HH:=FINDHIGH(H,T,T2+4,1);
信号1:A1 AND A2 AND A3;
信号2:LL<LL2 AND T2-T>7 AND CROSS(C,HH);