SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
AK1:=DIF<0 AND DEA<0;
AK2:=AK1!=REF(AK1,1) AND AK1;
AK3:=COUNT(crOSS(DIF,DEA),BArslAST(AK2))=1 AND CROSS(DIF,DEA) AND AK1;
AK4:=COUNT(CROSS(DIF,DEA),BARSLAST(AK2))=2 AND CROSS(DIF,DEA) AND AK1;
AK5:=REF(DIF,BARSLAST(AK3))<=REF(DIF,BARSLAST(AK4));
零下二金:AK4 AND AK5;