公式一:n:=-15;{可调}cyc13:=0.01*expma(amount,13)/expma(vol,13);cys:=(close-cyc13)/cyc13*100;ref(cys,1)<n and cys>=ref(cys,1) and c<ref(c,1);公式二:cyc13:=0.01*expma(amount,13)/expma(vol,13);cys:=(clo...
根据题意,选股公式如下:dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg1:macd>0 and ref(macd,1)<0 and ref(macd,2)<0 and ref(macd,3)<0 and ref(macd,4)>0;