BC:=EMA(CLOSE,12)-EMA(CLOSE,26);
AB:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
ZZ:=EMA(BC,9);
CD:=(BC-ZZ)*2;
XG:CROSS(C,AB) AND CD 0 AND REF(EVERY(CD REF(CD,1),3),1) AND CD REF(CD,1);
BC:=EMA(CLOSE,12)-EMA(CLOSE,26);
AB:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
ZZ:=EMA(BC,9);
CD:=(BC-ZZ)*2;
XG:CROSS(C,AB) AND CD 0 AND REF(EVERY(CD REF(CD,1),3),1) AND CD REF(CD,1);