a1:=ma(close,5);
A2:=ma(close,10);
A3:=ma(close,20);
A4:= A3 >A2 and A2 > A1 ;
A5:=REF(CLOSE,1)
A6:=REF(CLOSE,1)/ref(CLOSE,2)<0.97 and CLOSE> OPEN AND close/REF(CLOSE,1)> 1.03 ;
A7:=REF(h,1)/REF(l,1) >1.06 ;
A8:=close/HHV(H,30) <0.80 ;
A9:=REF(CLOSE,1)/ref(CLOSE,4)<0.90 ;
A4 and A5 and A6 and A8 and A9 and A7;