在线检测未来函数

编个N天之内有两个涨停的选股公式

来源:Internet,编辑:股旁网,2012-04-03

编写条件:

编写方法:

 网友求助:

请老师帮忙编个N天之内有两个涨停选股公式
 
 
解答如下:
cond1:=between(close/ref(close,1),1.0975,1.105);
cond2:=hhv(close,天数)/ref(close,天数)>1.20;

dynainfo(8)>0 and strfind(stkname,'S',1)=0 and (ref(count(cond1,天数),1)>=数量 or ref(cond2,1)=1);
 

相关文章