在线检测未来函数

缩量十字星选股公式

来源:Internet,编辑:股旁网,2012-07-11

编写条件:

选股思路 1、 昨天收阴线。昨天的量比前天小。 2、 今天收缩量十字星。涨幅正负1%。今日量比昨日小。 3、 5日内第一次碰5日均线,5在10日线上,5日线翘头向上。或者10日内第一次碰10日均线,10日线在20日线上,10日线翘头向上。或者20日内第一次碰20日均线。20日线在30日线上,20日线翘头向上。

编写方法:

&nbsp;s1:=ref(c<o and v/ma(ref(v,1),5)<ref(v/ma(ref(v,1),5),1),1);

s2:=abs(c-o)/c<=0.02 and v/ma(ref(v,1),5)<ref(v/ma(ref(v,1),5),1) and v<ref(v,1) and between(c/ref(c,1),0.99,1.01);
s3:=ref(every(l>ma(c,5),4),1) and ma(c,5)>ma(c,10) and l<ma(c,5) and ma(c,5)>ref(ma(c,5),1);
s4:=ref(every(l>ma(c,10),9),1) and ma(c,10)>ma(c,20) and l<ma(c,10) and ma(c,10)>ref(ma(c,10),1);
s5:=ref(every(l>ma(c,20),19),1) and ma(c,20)>ma(c,30) and l<ma(c,20) and ma(c,20)>ref(ma(c,20),1);
s1 and s2 and (s3 or s4 or s5);
 
 
主题回顾
吕鹏辉 发表于 2012-4-7 04:09 PM
选股思路
1、        昨天收阴线。昨天的量比前天小。
2、        今天收缩量十字星涨幅正负1%。今日量比昨日小。
3、        5日内第一次碰5日均线,5在10日线上,5日线翘头向上。或者10日内第一次碰10日均线,10日线在20日线上,10日线翘头向上。或者20日内第一次碰20日均线。20日线在30日线上,20日线翘头向上。

相关文章