编写要求:
股票网解答:
网友求助:
请老师帮忙编个N天之内有两个涨停的选股公式
解答如下:
cond1:=between(close/ref(close,1),1.0975,1.105);
cond2:=hhv(close,天数)/ref(close,天数)>1.20;
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);
- 0
- 顶一下