a:=every(ma(c,20)>ref(ma(c,20),1),13);b:=every(ma(c,30)>ref(ma(c,30),1),13);aa:=between(c,ma(c,5),ma(c,10));zf:=(h-l)/ref(c,1)*100<2;st:=(max(c,o)-min(c,o))/min(c,o)*100<1;xg:a and b and aa and zf and st;说明一下你的要求振幅不超过2个点,收盘涨跌幅在上下0.5%之内选出来的股票都是十字星的,所以把这个去掉了,如果你要就用下面的源码,(建议用上面的比较合适)第四点量能要缩,这点不太好界定所以也没写上,个人绝对满足上面1,2+3足够了,该选股公式也可以做成附图公式,自己对着k线分析吧,思路不错,有了公式方便很多。a:=every(ma(c,20)>ref(ma(c,20),1),13);b:=every(ma(c,30)>ref(ma(c,30),1),13);aa:=between(c,ma(c,5),ma(c,10));zf:=(h-l)/ref(c,1)*100<2;zdf:=(c-ref(c,1))/ref(c,1)*100;st:=(max(c,o)-min(c,o))/min(c,o)*100<1;jy:=between(zdf,-0.005,0.005);xg:a and b and aa and zf and st; 20210311
degree:=atan((ma(c,8)/ref(ma(c,8),1)-1)*100)*57.3;s:=45<=degree and c>ma(c,8);stickline(s and c>0,c,h,0.01,0),colorred;stickline(s and c>0,l,o,0.01,0),colorred;stickline(s and c>0,c,o,2...
大阴线的定义是低于开盘价多少?定义为n,自行修改参数。多长时间修复?定义为m,自行修改参数。t1:=o/ref(close,1)>=1.06;t2:=close/o<=1-n/100;t3:=barslast(t1 and t2);t4:=close>ref(o,t3);xg:t3<=m and t4;