其实你自己就可以改!其方法请看:你要求的是出现“圆弧底”选股,那么原公式中:圆弧底:=longcross(a1,a3,30)and (a4-a3)/a3<0.05 and a10<a4;在公式中,“=”是赋值的意思。取消就变成输出,则:圆弧底:longcross(a1,a3,30)and (a4-a3)/a3<0.05 and a10<a4;这就是你想要的选股公式。而这条公...
看看能否满足你的要求,测试通过。{第一组}bbi:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;upr:=bbi+3*std(bbi,10);dwn:=bbi-3*std(bbi,10);震幅:=hhv(h,8)/llv(l,8);st:=(namelike('st')=0 and namelike('*...
ma05:=ma(c,5);ma30:=ma(c,30);五日乖离率:=(c-ma05)/ma05*100;三拾日乖离率:=(c-ma30)/ma30*100;mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma05>ref(ma05,1) and (c/ref(c,1)-1)*100>5...
a5:=**lastbar and between(a2,6,8);a6:=(backset(a3>0,9) or backset(a4>0,a2+1)*0 or backset(a5>0,a2))*a2;drawtext(a6>0,h+h*0.005,var2str(a6,0)),color00ffff;drawtext(a2=9,h+h*0.005,9),color00...