DIF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),COLORRED,LINETHICK8;
AAA下:=IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),COLORGREEN,LINETHICK8;
主力:=AAA1-REF(AAA1,1),COLORRED;
MM:=主力>30 AND 主力<70 AND AAA上>0 ;
暴涨:MM;