dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2,colorstick;xg:count(c/ref(c,1)>1.07,120)>=2 and last(macd<ref(macd,1) and macd<0,7,1) and macd>ref(macd,1);这个是第二个的选股公式...
dif:=ema(close,short)-ema(close,long);dea:=ema(dif,mid);macd:=(dif-dea)*2;ref(macd,1)<ref(macd,2) and macd>ref(macd,1) and macd>0;参数:long:26 short:12 mid:9别忘了加分哦。