在线检测未来函数

上下影线选股公式

来源:Internet,编辑:股旁网,2013-04-16

编写条件:

要求选出的股票是:昨天是一根长长的上影K线(小阴或小阳),今天是一根长长的下影K线(小阴或小阳),特别说明的是,上/下影线长度都要大于或等于K线实体的长度。

编写方法:

ref(h,1)-max(ref(c,1),ref(o,1))>=abs(ref(c,1)-ref(o,1)) and abs(ref(c,1)-ref(c,2))/ref(c,2)*100<2 and abs(l-min(c,o))>=abs(c-o) and abs(c-ref(c,1))/ref(c,2)*100<2 and abs(ref(l,1)-min(ref(c,1),ref(o,1)))>abs(ref(c,1)-ref(o,1)) and abs(h-max(c,o))<abs(c-o));

相关文章