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:=close>ref(close,1) and close>ref(close,2);var2:=ref(var1,1) and close<=ref(close,1) and close>=ref(close,2);var3:=ref(var2,1) and close>=ref(close,1) and close<=ref(close,2);va...
typ:=(high+low+close)/3;cci:=(typ-ma(typ,n))/(0.015***edev(typ,n));tj:=cross(cci,100);周期数:=barslast(ref(tj,1))+1;上次金叉:=(ref(cci,周期数)+ref(cci,周期数+1))/2;今天金叉:=(cci+ref(cci,1))/2;xg:count(tj,30)>=2 and t...
var9:=(high+low+close)/3;var10:=if(trou**ars(3,16,1)=0 and high>low+0.04,4,0);var11:=(var9-ma(var9,14))/(0.015***edev(var9,14));选股:var11<-110 and var10>0;注意: 今天(2019年12月27日)没有符合条件的,不要因为今天的选股结...