黑马抬头
{黑马抬头}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
DD1:=1+BarsLast(Cross(DIFF,DEA) AND DIFF 0 AND DEA
DD2:=1+BarsLast(Cross(DEA,DIFF) AND DIFF 0 AND DEA
C1:=DD1
C2:=DD2
C3:=Cross(Count(MACD Ref(MACD,1) AND MACD 0,DD2),0.8);
C1 AND C2 AND C3;