股票公式网:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(股票公式网,9);
MACD:=2*(股票公式网-DEA);{股票公式-股票指标www.gs6699.com}
cceed1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);
cceed2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;
cceed3:=cceed1 AND cceed2 AND EMA(C,13)>REF(EMA(C,13),1);
cceed4:=cceed1 AND cceed2 AND ABS((股票公式网-DEA)/C)<0.018;
cceed5:=cceed1 AND cceed2 AND MACD<0.10;
cceed3 OR cceed4 OR cceed5;