{通达信测试通过买点出现,卖点出现选股}买:(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig(3,5),2)<=ref(zig(3,5),3));----------------------------------------------卖:(zig(3,5)<ref...
amo:=amount;maamo1:=ma(amo,10);maamo2:=ma(amo,20);maamo3:=ma(amo,30); aa:=ma(c,5)>ma(c,10) and ma(c,10)>ma(c,30) and ma(c,30)>ma(c,60) and ma(c,60)>ma(c,120);cross(maamo1,maamo2) and aa a...
n:=20;d:=5;boll:=ma(close,n);ub:=boll+2*std(close,n);lb:=boll-2*std(close,n);xg:count(range(c,lb,boll)=1,d) and lb>ref(lb,1) and ref(lb,1)<ref(lb,2);{d:为收盘价在中轨和下轨间运行天数(我设为5天,自己可改),下轨第一天转头向上时进行选股...
你这个要求,要求得有点不明确,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...
m0:=finance(7);m1:=100*vol/(finance(7)/100)>3;m2:=winner(c)*100>80;m3:=ref(c,1)*1.01;m4:=ref(c,1)*1.035;m5:=ref(c,1)*0.99;m6:=ref(c,1)*0.965;m7:=c>=m3 and c;m8:=c<=m5 and c>=m6;m9:=if(c...