a1:=IF(TROUGHBARS(3,6,1)=0 and HIGH>LOW+0.1,2,0) AND (indexc-ma(indexc,70))/MA(indexc,70)<1;
a2:=(MA(CLOSE,3)-REF(MA(CLOSE,3),2))/REF(MA(CLOSE,3),2);
a3:=MA(a2,3);
a4:=(CLOSE-MA(CLOSE,8))/MA(CLOSE,8)*100;
a5:=TROUGHBARS(3,13,1)=0 and OPEN>LOW+0.01;
a6:=MA(C,13);
B1:=ANY(a1,1) and a2>=a3 and ref(a2,1)<ref(a3,3)
and ref(a2,1)<ref(a2,6)
and STRFIND(stkname,'ST',1)=0 AND STRFIND(stkname,'S',1)=0 AND DYNAINFO(4)<>0;
B2:=CURRENTTIME>092530
AND a4<-6 AND a5
AND STRFIND(stkname,'ST',1)=0
AND STRFIND(stkname,'S',1)=0
AND DYNAINFO(4)<>0;
b3:=(a6-C)/a6>0.11;
B:(b1 or b2) and b3;