N:=0.3; N1:=5; COUNT(CLOSE>OPEN,N1)=N1 AND CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE/LLV(LOW,60)<1+N;