XMACD1:=2*(DIF-DEA),COLORSTICK;
RI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
选股:=COUNT(CROSS(RI,20) AND C/REF(C,1)>1.005,8)>=1 AND CROSS(DIF,DEA) ;
XMACD1:=2*(DIF-DEA);
RI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
选股:=COUNT(CROSS(RI,20) AND C/REF(C,1)>1.005,8)>=1 AND CROSS(DIF,DEA) ;