A1:=EMA(EMA(CLOSE,7),2)-EMA(EMA(CLOSE,21),2);B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);XG:B1>REF(B1,1) AND crOSS(B1,0);