p:=(high + low + close)/3;cci:=(p-ma(p,n))*100/(1.5***edev(p,n)),colorwhite;-100,pointdot,color00aa00;100,pointdot,color00aa00;select:count(c<ref(c,1),5) and ref(count(cci<-100,3),3) and cross(cci,-100) and c/ref(c,1)>1.02;以上内容复制粘贴就可用,建议你:不要仅仅使用这个cci,因为系统中自带的cci的统计计算周期太短,选股的精度容易被大趋势所左右 20210311
选股周期自行选用。(cross(kd.k,kd.d) or (ref(kd.k,2)>ref(kd.k,1) and kd.k>ref(kd.k,1))) and macd.macd>ref(macd.macd,1) and range(cci.cci,-100,100) and cci.cci>ref(cci.cci,1);
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...