zt:=c/ref(c,1)>1.097 and c=h;yx:=h/c>1.02 and o/l>1.02;t1:=ref(zt,2)=1 and ref(v/capital,2)>0.05;t2:=ref(l,1)>=ref(c,2)and ref(v,1)>ref(v,2)and ref(c,1)>=ref(o,1)and ref(yx,1)=1;t3:=l>=ref(c,2)and v=o and yx=1;t4:=t1=1 and t2=1 and t3=1;xg:count(t4,20)>0; 20210311
涨停:c>ref(c,1)*1.0996 and c=h;hh:=hhv(h,barslast(涨停))(c,barslast(涨停))*1.03;{这里的1.03由自己改成别的数字} ll:=llv(l,barslast(涨停))>ref(o,barslast(涨停));中间:=hh and ll;又涨停:ref(中间,1)and 涨停;我编的:dyna**(14)>0.1 a...