在周线周期下公式写法如下dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg:sum(macd>0,3)=3 and ref(macd-ref(macd,1)>0.13,1);如果用于选股选择周期为周线. 20210311
有戏了,原码如下请收藏,有什么特殊要求,请联系dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;yx:=if(c>o and ref(c>o,1) and ref(c>o,1),1,0);m:=if(macd>0 and macd<ref(macd,1) and ref(macd,1)...