ma65:=ma(c,65);ma250:=ma(c,250);bb:count(cross(ma(c,65),ma(c,250)),250);xg:=ma250>ref(ma65,1);cross(ma250,ma65) and xg and bb;cross(ma250,ma65) and xg and bb;这句错误,不知道你想表达的意思。bb大于0的情况下,那么cross(ma250...
hs:=v/capital*100;s1:=between(hs,3,30);lb:=v/ref(ma(v,5),1);s2:=between(lb,1.3,30);st:=if(namelike('st')or namelike('*st'),0,1);s3:=c/ref(c,1);xz:s1 and s2 and s3>1.02 and st and v>1 and c;
a1:=ma(c,60);a2:=ma(c,30);a3:=ma(c,20);a4:=ma(c,13);b1:=(hhv(h,60)-c)/hhv(h,60)*100;{财经导航:yangsou.com/cj/ } xg:a4>=ref(a4,1)and cross(c,a4)and macd.macd>0 and b1>29 and v>ref(v,1)*2 and a1...