DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); XG:DIFF<0 AND CROSS(DIFF,DEA) AND "KDJ.J"<80
;