j:=ma(c,5); j1:=ma(c,10); j2:=cross(j,j1); j3:=barslast(j2); count(j>j1,j3)>=(j3-6) and j/j1>0.9975 and j/j1<1.0025 and ref(j,3)/j>0.993 and ref(j,3)/j<1.007