A:=vol*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
资金:=(B-B1)*100/B;
DIFF:=EMA(资金,12) - EMA(资金,26);
DEA:=EMA(DIFF,9);
JCCOUNT:=COUNT(crOSS(DIFF,DEA),BArslAST(DEA>=0));
二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
A:=vol*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
资金:=(B-B1)*100/B;
DIFF:=EMA(资金,12) - EMA(资金,26);
DEA:=EMA(DIFF,9);
JCCOUNT:=COUNT(crOSS(DIFF,DEA),BArslAST(DEA>=0));
二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;