编写一个股票公式第一天涨幅3%以上,然后5天内任意一天缩量至第一天的50%以内。tj1:=barslast(c/ref(c,1)>1.03);tj2:=v<=ref(v,1)*0.5;xg: count(tj2,tj1)=1 and tj2 and tj1<=5;这样的选股经常会碰到第二天就缩量的情况。
x:=ref(v,barslast(v=hhv(v,15)and c/ref(c,1)>1.015 and c>o))*0.2>v and not(c/ref(c,1)>1.097 and c=h)and not(ref(c,1)/c>1.097 and c=l) and not(namelike('st')or namelike('*st')or namelike(...
var1:=open;var2:=open(close,5)and open(close,10)and open(close,20);var3:=close>ma(close,5)and close>ma(close,10)and close>ma(close,20);var4:=cross(ma(close,5),ma(close,20));var1 and var2 and ...