X_1:=EMA(CLOSE,1.5); X_2:=EMA(CLOSE,5); X_3:=EMA(X_2,5); X_4:=COUNT(crOSS(X_1,X_3),2)=1; X_5:=COUNT(CROSS(X_2,X_3),2)=1; XG:FILTER(X_4 AND X_5,2);