DWXHM:=((CLOSE - (REF(CLOSE,1))) / (REF(CLOSE,1))) * 100;
EDWXM:=EMA(((EMA(CLOSE,12)) - (EMA(CLOSE,26))) * 100,9);
XG:(((((EMA(CLOSE,12)) - (EMA(CLOSE,26))) * 100 < -50) AND (DWXHM > 7)) AND (((EMA(CLOSE,12)) - (EMA(CLOSE,26))) * 100 < EDWXM));
DWXHM:=((CLOSE - (REF(CLOSE,1))) / (REF(CLOSE,1))) * 100;
EDWXM:=EMA(((EMA(CLOSE,12)) - (EMA(CLOSE,26))) * 100,9);
XG:(((((EMA(CLOSE,12)) - (EMA(CLOSE,26))) * 100 < -50) AND (DWXHM > 7)) AND (((EMA(CLOSE,12)) - (EMA(CLOSE,26))) * 100 < EDWXM));