a1:=barslast(ref(cross("macd.diff","macd.dea"),1));b1:=ref(c,a1+1)>c and ref("macd.diff",a1+1)("macd.diff","macd.dea");macd底背:if(b1>0,10,0);起个名字,保存成条件选股公式就可以了。(如果对您有帮助请采纳答案谢谢)
主力:=ema((close-ma(close,7))/ma(close,7)*480,2),linethick2,colorred;散户:=ema((close-ma(close,11))/ma(close,11)*480,7),linethick2,colorwhite;cross(主力,散户) and 主力<-10 and dyna**(17)>0;公式已测试通过!希望能够帮助你...