在线检测未来函数

突破近3天3个K线的

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

编写条件:

请老师帮忙写个突破近3天3个K线的最高点回踩最高点不破的选股。

编写方法:

 s1:=ref(hhv(h,3),1);

s2:=cross(c,s1);
s3:=ref(s1,barslast(s2));
回踩:ref(c,1)>s3 and s2=0 and L<s3 and c>s3;

相关文章