DIF:=Ema(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9),COLOR888888; AT1:=BArslAst(REF(crOSS(DIF,DEA),1)); BT1:=REF(C,AT1+1)>C AND REF(DIF,AT1+1)<DIF AND CROSS(DIF,DEA); XG:BT1>0;