dif:=Ema(CLOSE,12)-ema(CLOSE,27);
DEA:=EMA(DIF,9);
MacD:=2*(DIF-DEA);
A:=BArslAST(DEA >=0);
T:=COUNT(crOSS(DIF,DEA),A);
三次金叉:CROSS(DIF,DEA) AND COUNT(T=3,A)=1;
dif:=Ema(CLOSE,12)-ema(CLOSE,27);
DEA:=EMA(DIF,9);
MacD:=2*(DIF-DEA);
A:=BArslAST(DEA >=0);
T:=COUNT(crOSS(DIF,DEA),A);
三次金叉:CROSS(DIF,DEA) AND COUNT(T=3,A)=1;