编写条件:
横盘整理天数为N天,要求: 1、振幅小于5%。 2、阳线涨幅小于3%。 3、阴线跌幅小于2%编写方法:
tj1:=h/l<1.05;
tj2:=c/ref(c,1)<1.03 and c/ref(c,1)>1;
tj3:=c/ref(c,1)>0.98 and c/ref(c,1)<1;
xg1:=tj1*(tj2+tj3);
every(xg1,N);
来源:Internet,编辑:股旁网,2013-03-29
编写条件:
横盘整理天数为N天,要求: 1、振幅小于5%。 2、阳线涨幅小于3%。 3、阴线跌幅小于2%编写方法:
tj1:=h/l<1.05;
tj2:=c/ref(c,1)<1.03 and c/ref(c,1)>1;
tj3:=c/ref(c,1)>0.98 and c/ref(c,1)<1;
xg1:=tj1*(tj2+tj3);
every(xg1,N);