diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);低位金叉:=cross(diff,dea) and diff<-0.1;jccount:=count(cross(diff,dea),barslast(dea<=0));二次金叉:cross(diff,dea) and dea<0 and count(jccount=2,21)=1;_____________________________________________________________________________________以上公式内容是我在策略好了吗app上跟高手要的,我已经在通达信上测试过,可用!希望对你有所帮助。 20210311
公式如下:jc:if(sum(if(macd>0 and cross(macd.dif,macd.dea),1,0),0)-hhv(if(if(cross(macd.dea,0),1,0),sum(if(macd>0 and cross(macd.dif,macd.dea),1,0),0),0),0)=2 and sum(if(macd>0 and cross(macd.dif,...
rsv:=ema((close-llv(low,9))/(hhv(high,9)-llv(low,9))*100,3);k:=ema(rsv,3);d:=ma(k,3);jx:=cross(k,d);x:=barslast(jx)+2;t1:=k 2 and count(t1=1,ref(x,1))=ref(x,1);应该是你想要的效果 有什么问题可以私聊联系我.