日跌:=l*0.99;峰:=peakbars(1,3,1)=0;峰距:=barslast(峰);oo:=峰距>0;引跌一:=ref(l,峰距=1)*0.99*oo;跌1:=l<引跌一 and 峰距>0;a2:=跌1*峰距;a3:=count(跌1,峰距);一跌:=if(a3>1,a3=1,a2);跌距1:=barslast(一跌);b1:=ref(l,跌距1=1)*0.99...
xstk:=low>ref(high, 1);tt1:=barslast(xstk)+1;hh:=ref(high,tt1);:=tt1<-3 and count(xstk,tt)>=1 and low>hh and low<=hh*1.01 andnot(ex**t(cross(hh.low),tt1));count(low>ref(high,1),3)>...
根据题意,选股公式如下:(提示:由于条件苛刻,不是每天都能选出股票的)vara:=(close-ref(open,29))/ref(open,29)*100;varb:=ema(0.667*ref(vara,1)+0.333*vara,5);vol>=1.3*ma(vol,5) and count(vara>=varb and vara<-17,3) and ref(low,1)...