aa05:=ma(c,5);aa30:=ma(c,30);ma05:=ma(c,5);ma10:=ma(c,13);ma30:=ma(c,34);速度5:=sma(ema((ma05-ref(ma05,1))/ref(ma05,1),3)*100,3,1);加速度5:=ema((速度5-ref(速度5,1)),3);五日乖离率:=(c-aa05)/aa05*100;三拾日乖离率:=(c-ma30)/ma30*100;mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and aa05>ref(aa05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<aa30;xg:filter(mr,10); 20210311
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...
aa1:=amount/vol;bb1:=l<aa1*0.9;cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;dd1:=l<ma(c,6)*0.921;ee1:=vol<ma(v,5)*1.5;ff1:=bb1 and cc1 and dd1 and ee1;mr:if(ff1,50,0),color00ff00;保存为‘技术指标’或‘条件选股’公式即...
参数 n 2 100 11 m 2 100 6cv:=close;bbiboll:=(ma(cv,3)+ma(cv,6)+ma(cv,12)+ma(cv,24))/4;upr:=bbiboll+m*std(bbiboll,n);dwn:=bbiboll-m*std(bbiboll,n);xg:c<dwn;
m5:=ma(c,5);m10:=ma(c,10);m20:=ma(c,20);m60:=ma(c,60);dif:="macd.dif;dea:="macd.dea;macd:="macd.macd;t1:=m20>=m60 and cross(m10,m5);t2:=dif>=0 and dea>=0 and macd xg:t1 and t2;参考资料:http://tie...