DIF:=EMA(CLOSE,12)-EMA(CLOSE,26), COLORGRAY;
DEA:=EMA(DIF,9),COLORYELLOW;
macd:=2*(DIF-DEA);
CXY:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;
GX:=MAX(MA(CLOSE,5),MAX(MA(CLOSE,25),MA(CLOSE,13)));
DX:=MIN(MA(CLOSE,5),MIN(MA(CLOSE,25),MA(CLOSE,13)));
粘合:=Abs(GX/DX-1)*100<=2;
进攻之星:CXY AND DEA>REF(DEA,1) AND DIF>DEA AND (C>=MA(C,10)OR COUNT(C>=MA(C,10),3)>=1)AND
COUNT(crOSS(MA(C,5),MA(C,20)),5)=1 AND MA(C,60)>REF(MA(C,60),1)AND MA(C,60)>MA(C,120) AND
MA(C,120)>REF(MA(C,120),1)AND COUNT(粘合,5)>=1 AND V<REF(V,1);