diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);a1:=barslast(ref(cross(diff,dea),1));b1:=ref(c,a1+1)>c and ref(diff,a1...stickline(底背离,0,0.05,8,0),colorred。
lowv:=llv(low,20);highv:=hhv(high,20);highvv:=hhv(high,40);d0u:=c>o;d1u:=ref(c,1)>=ref(c,2);p1:=((highv-lowv)/highv);p2:=d0u;p3:=d1u;p4:=(c-ref(c,1))/ref(c,1)>=0.018;p5:=c;p6:=o;选股:p1 and p2 ...