DIFF:=(EMA(C,12)-EMA(C,26));
DEA :=EMA(DIFF,9);
B0:=BARSLAST(DIFF<=REF(DIFF,1) AND DIFF<=REF(DIFF,2));
B1:=BARSLAST(crOSS(DIFF,DEA));
B2:=REF(BARSLAST(CROSS(DIFF,DEA)),B1+1);
B3:=REF(BARSLAST(CROSS(DIFF,DEA)),B1+B2+2);
SX:=REF(HHV(DIFF,B1+B2+B3+3),1);
BRSS:=COUNT(CROSS(DIFF,SX),B0+1)=1 AND CROSS(DIFF,SX) AND DEA>0;
XG2:=COUNT(HSL>8.5 OR AMO=HHV(AMO,480),B1+B2+2) AND BRSS;
步入上升:XG2,COLORLIBLUE;