公式选股tyx3:=ma(ref(hhv((c+l+o+h)/4,30),1),3);突破:ref(count(c<tyx3,5)=5,1) and c>tyx3 and c>o;-----------------------------------------------------------条件选股tyx3:=ma(ref(hhv((c+l+o+h)/4,30),1),3)...
va:=if(close>ref(close,1),vol,-vol);obv:sum(if(close=ref(close,1),0,va),0);m:=2;maobv:ma(obv,m);if(ref(maobv,1)>maobv and ref(maobv,1)>ref(maobv,2));还有我不太懂你什么意思,是要做选股公式还是怎么样?
a1:=barslast(c/ref(c,1)>=1.098);t1:=count(l>=ref(l,a1),a1)>=a1;t2:=count(h<=ref(h,a1),a1)<=(a1-1);t3:=longcross(c,ref(c,a1),a1) and c>=o;xg:t1 and t2 and t3;