MA5:=EMA(C,5);
MA10:=EMA(C,10);
VV1:=crOSS(MA5,MA10);
VVV1:=COUNT(VV1,5)>=1;
MV5:=EMA(V,5);
MV10:=EMA(V,10);
VV2:=CROSS(MV5,MV10);
VVV2:=COUNT(VV2,5)>=1;
DIF:="macd.DIF"(12,26,9);
DEA:="MacD.DEA"(12,26,9);
VV3:=CROSS(DIF,DEA);
VVV3:=COUNT(VV3,5)>=1;
VVV4:=Abs((C-MA10)/MA10)*100<2 AND C<REF(C,1);
涨停:=C/REF(C,1)>=1.097;
VVV5:=COUNT(涨停,5)>=1;
买入:VVV1 AND VVV2 AND VVV3 AND VVV4 AND VVV5;