DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
edsss1:=REF(MACD,1) REF(MACD,2) AND REF(MACD,2) REF(MACD,3) AND REF(MACD,3) REF(MACD,4);
edsss2:=MACD =0 AND COUNT(MACD REF(MACD,1),1)=1;
edsss3:=EMA(C,30) =REF(EMA(C,30),1) AND COUNT(EMA(C,5) EMA(C,10) AND EMA(C,10) EMA(C,30),1)=1;
edsss4:=CROSS(C,EMA(C,30)) OR C EMA(C,30);
edsss5:=edsss1 AND edsss2 AND edsss3 AND edsss4;
edsss6:=edsss1 AND edsss2 AND edsss3 AND edsss4 AND ABS((DIFF-DEA)/C) 0.018;
edsss7:=edsss1 AND edsss2 AND edsss3 AND edsss4 AND MACD 0.10;
edsss8:=COUNT(C/REF(C,1) =1.098 AND L C,25) =1 AND BARSCOUNT(C)
XG:BOLL =O AND BOLL =C AND BOLL#WEEK O AND BOLL#WEEK =C
AND MA(V,5) MA(V,135) AND edsss5 OR edsss6 OR edsss7 AND edsss8 AND (UPPER-LOWER)/MID 0.16;