DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9); := 2*(DIFF-DEA);vv:=CLOSE>OPEN AND MA(CLOSE,5)>MA(CLOSE,10) and MA(CLOSE,10)>MA(CLOSE,30)and DIFF>DEA AND MD>REF(MACD,1) and DIFF>0 AND DEA>0 andMA(,5)>MA(,34) and MA(CLOSE,30)>=REF(MA(CLOSE,30),1);xg:if(vv,1,0);