C1:=REF(C,1);
C2:=REF(C,2);
C3:=REF(C,3);
C4:=REF(C,4);
C5:=REF(C,5);
C6:=REF(C,6);
O1:=REF(O,1);
O2:=REF(O,2);
O3:=REF(O,3);
O4:=REF(O,4);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
P1:=C2<=C3 AND C2<=C4 AND C2<=C5 AND C2<=C6;
P2:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20);
P3:=C>O AND C1>C2;
P4:=C>C1;
{以下為基本面}
CAP1:=CAPITAL>=8000 AND CAPITAL<=5000000;{流通盤(pán)在8000萬(wàn)股到5億股}
S:=IF(NAMELIKE('S'),1,0)=0;{非S}
ST:=IF(NAMELIKE('ST'),1,0)=0;{非ST}
SST:=IF(NAMELIKE('*S'),1,0)=0;{非*S}
停牌:=IF((C=0 OR V=0),0,1);
PE:=C/FINANCE(33);
SYL:=PE>0;{市盈率為正}
JBM:=S AND ST AND SST AND 停牌 AND SYL;
P:P1 AND P2 AND P3 AND P4 AND JBM AND C1/C2<=1.05;
|