MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
((COUNT(CROSS(MA1,MA2),10)>=1 AND
COUNT(CROSS(MA2,MA3),10)>=1) OR (MA1>MA2 AND MA2>MA3) )
AND (H-C)/C>1.05 AND (C-O)/O>1.03 AND C/MA(C,5)>1.001 AND C/MA(C,5)<1.02 AND V>REF(V,1)*2 AND V<HHV(V,10);