A1A:=EMA(CLOSE,9);
A1B:=((A1A-EMA(CLOSE,5))<0);
A1D:=BArslAST(A1B);
A21:=IF((A1D>0),(0-2),0);
买入:=((REF(A21,1)=(0-2)) AND (A21=0));
笑脸:买入;
A1A:=EMA(CLOSE,9);
A1B:=((A1A-EMA(CLOSE,5))<0);
A1D:=BArslAST(A1B);
A21:=IF((A1D>0),(0-2),0);
买入:=((REF(A21,1)=(0-2)) AND (A21=0));
笑脸:买入;