箱体调整选股公式
a1:=abs((c-ref(c,1))/ref(c,1))<=0.05 and abs((o-ref(c,1))/ref(c,1))<=0.05 and c>=ref(c,1) and l<=ref(h,1);a2:=ref(c,1)>ref(o,1) and (ref(c,1)/ref(o,1))>=4.95/100 and ref(c,1)/ref(c,2)>=1.04 and ref(c,1)>ref(c,2) and ref(c,1)>ref(c,3) and ref(c,1)>ref(c,4) and ref(c,1)>ref(c,5) and ref(c,1)>ref(c,6) and ref(c,1)>ref(c,7) and ref(c,1)>ref(c,8) and ref(c,1)>ref(c,9);a3:=if(a1 and a2,3,0);a4:=barslast(a1 and a2);a8:=ref(c,a4+1);a5:=abs((c-ref(c,1))/ref(c,1))<=0.03 and abs((o-ref(c,1))/ref(c,1))<=0.03;a6:=(c>=a8 and c/a8<=(4/100));backset(a4=count(a5 and a6,a4),1); 20210311