第一个公式:要求upper,lower,ene指标线均向上,收盘价下破lower线n:=25;m1:=6;m2:=6;upper:=(1+m1/100)*ma(close,n);lower:=(1-m2/100)*ma(close,n);ene:=(upper+lower)/2;x1:=upper>=ref(upper,1) and lower>=ref(lower,1) and en...
根据题意,选股公式如下:(提示:由于条件苛刻,不是每天都能选出股票的)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)...