公式帮你编,代码如下:昨阳:= ref(c<o,1) and c>=o;相对低位:=ref("kdj.k"<55,1) and c<=(llv(l,240)+(hhv(h,240)-llv(l,240))*0.6); 价升量缩:=c>o*1.04 and c<refx(c,3) and (v>=refx(ma(v,3),3) or refx(v,1)>=refx(ma(v,3),3)); 阴:= 昨阴今阳 and 价升量缩 and 相对低位 ; 左柱距:=barslast(阳); 底精准:= abs(l-ref(ref(l,左柱距),1))<=0.02 or abs(o-ref(ref(o,左柱距),1))<=0.02 or abs(o-ref(ref(l,左柱距),1))<=0.02 or abs(l-ref(ref(o,左柱距),1))<=0.02; xg1:=底精准 and between(ref(左柱距,1),3,10) and 阳胜阴;选股: count(xg1,10); 20210311