d:=ma(close,80)-ma(close,10)/3;{收盘价的80日简单移动平均-收盘价的10日简单移动平均/3} xg:if(close<d and vol/240>ma(vol,5)/240 and close>ref(close,1)*1.08 and close(close,13)*1.3,1,0);{如果符合抄底则选股,否则返回0} 狂飙蚂蚁博客编写,还有一个...
a1:=dyna**(6);a2:=if(low>a1,0,if(high<a1,1,(a1-low+0.01)/(high-low+0.01)));a3:=vol/winner(low);a4:=ref(hhv(close,120),1);a5:=ref(llv(close,120),1);a6:=100*(close-a5)/(a4-a5);a7:=a2>0 or a2=1;...