DIFF0:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
JQ:=MACD0 REF(MACD0,1)*1.5 AND MACD0
X:=MA(C,3);
AA:=(X-REF(X,1))/REF(X,1)*100;
XG:CROSS(AA,0) AND JQ;
DIFF0:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
JQ:=MACD0 REF(MACD0,1)*1.5 AND MACD0
X:=MA(C,3);
AA:=(X-REF(X,1))/REF(X,1)*100;
XG:CROSS(AA,0) AND JQ;