ST:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1); TP:=DYNAINFO(4)>0;
VOLUME:=VOL;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,60);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
A:=LAST(VOL
C>MA5 AND C>MA10 AND C>MA20 AND C>MA30;
B:= REF(VOL,2)
REF(VOL,3)
REF(VOL,4)
REF(VOL>MAVOL1,1) AND REF(VOL>MAVOL2,1) AND
C>MA5 AND C>MA10 AND C>MA20 AND C>MA30 AND ST AND TP AND C/REF(C,1)<1.05
AND C>REF(C,1);
ENTERLONG:A OR B;