ZF:=CLOSE/ref(CLOSE,1)>1.0995; A1:=BARSLAST(ZF); QJ:=BETWEEN(A1,1,30); A2:=ref(C,A1); GJ:CROSS(C,A2) and QJ;