TAG:MACD

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
REF(BARSLAST(DIF>DEA),1)>=15 AND CROSS(DIF,DEA);