具体的选股公式如下aa:=count(cross(macd.dea,macd.dif),barslast(macd.dea>=0));二次死叉:cross(macd.dea,macd.dif) and macd.dea<0 and count(aa=2,30)=1; macd称为指数平滑移动线,是从双指数移动平发展而来的,由快的指数移动平均线(ema)减去慢的指数移动平均线,macd...
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);这个是第二个的选股公式...