DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,27);MACD := 2*(DIFF-DEA);B:=MIN(DIFF,DEA)/MAX(DIFF,DEA)>0.95;MA(CLOSE,30)>REF(MA(CLOSE,30),1) AND DIFF>0 AND DEA>0 AND macd>REF(MACD,1) AND B;