{四线谱战法选股1}
MA1:=MA(CLOSE,3);
MA2:=MA(CLOSE,19);
MA3:=MA(CLOSE,140);
MA4:=MA(CLOSE,280);
SHC:= "999999$CLOSE";
MA5:= MA(SHC,19);
XGDP:=SHC>MA5;
JC:=IF(CROSS(MA3,MA4),1,0);
XG1:= EXIST(JC=1,10);
XG2:=MA3>MA4;
XG3:= CROSS (MA1,MA2) AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN;
NOST:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1) AND VOL>0;
XG: XG1 AND XG2 AND XG3 AND NOST AND XGDP;