mh:=close#month;ml:=close#month;ab1:=ema(c,14);ab1x:=(ab1-ref(ab1,1))/ref(ab1,1)*100;a1:=(mh-c)/c*100>20 and barscount(close)>20 and ab1x<0;xg:ab1x>=0 and ref(a1,1)>0;记得采纳一下。
var1:=1;var2:=((((2*close)+high)+low) / 4);var4:=llv(low,5);var5:=hhv(high,4);c1:=(ema((((var2-var4)/(var5-var4))*100),4)*var1);c2:=(ema(((0.667*ref(c1,1))+(0.333*c1)),2)*var1);xg:cross(c1,c2) and c1&...
没看懂你的图中文字描述,但选股公式还是有的。dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;x_2:=barslast(ref(macd,1)<0 and macd>0);x_3:=llvbars(macd,x_2+20);x_4:=if(x_3>x_2,ref(macd,x_3),0);x_5...