编写要求:
1: 当日5金叉13; 2: 金叉日,昨日或者前日任何一天里有一根涨幅大于3%且小于5%的阳线; 3: 往前倒推20个交易日里不能有涨停。
www.gszx.com.cn网解答:
A1:=cross(ma(c,,5),ma(c,13));
a2:=count(c/ref(c,1)>1.03 and c/ref(c,1)<1.05 and c>o,3)>0;
a3:=count(c/ref(c,1)>1.095 and c=h,20)=0;
a1 and a2 and a3;