求涨幅大于8,前20日区间累计涨幅小于15%选股公式

1: 当日涨幅大于8%
2: 前20日区间累计涨幅小于15%
3:去除一字板, t子板

第1个回答  2014-07-31
tj1:=(c-ref(c,1))/ref(c,1)>0.08;
tj2:=(c-LLv(c,20))/LLv(c,20)<0.15;
tj3:=if((c=o and L=h) or (c=o and (c=l or c=h)) and (c-ref(c,1))/ref(c,1)<1,drawnull,tj2);

xg:tj1 and tj2 and tj3;