l1:= ref(c,2)>ref(o,2) and ref(c,1)<ref(o,1) and c<o and (ref(o,1)-ref(c,1))/ref(o,1)>0.03 and ref(o,1)/ref(c,1)>o/c;l2:= ref(v,2)>ref(v,1) and ref(v,2)>v;l3:= ref(c,2)>ref(o,2) and ref(c,1)<ref(o,1) and c<o and (ref(o,1)-ref(c,1))/ref(o,1)>0.03 and ref(o,1)/ref(c,1)>o/c;xg: (l1 or l3) and l2; 20210311
你这个要求,要求得有点不明确,obv 3天内创前期新高,这个“前期”是多少天你没说,这里暂定为30天吧。这里3天内我理解成:今天、昨天或前天obv开始创30天以来的新高。jg:=obv=hhv(obv,30);zg:=count(jg,2)=2;qg:=count(jg,3)=3;qzjg:=jg or zg or qg;jx:=ma(c,60)>ma(c,120);zx:=ref(ma(c...
涨停:=c=ztprice(ref(c,1),0.1) and h=c and not(h=l) ;ma5:=ma(c,5) ;ma5角度:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;xg1:=ma5角度>=75 and 涨停 and not(dyna**(4)=0);cc:=abs((2*close+high+low)/4-ma(close,...