N:=55;
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED;
A:=REF(HHV(DIF,N),1);
XG:IF(A=REF(A,1) AND crOSS(DIF,A) AND COUNT(REF(DIF9,0.5,0);
N:=55;
DIF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED;
A:=REF(HHV(DIF,N),1);
XG:IF(A=REF(A,1) AND crOSS(DIF,A) AND COUNT(REF(DIF9,0.5,0);