在线检测未来函数

把“七伤拳“公式做成选股功能”

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

编写条件:

盘整天数:=5;{盘整天数自己调,以5--7日为最佳} 下探幅度:=5; 上冲幅度:=25; 涨停:=(c-ref(c,1))/ref(c,1)>0.09;{涨幅大于9个点} 缩量:=hhv(vol,盘整天数-2)2* sum(vol, 盘整天数-2); 七伤拳:=缩量 and ref(涨停,盘整天数) and count(涨停,盘整天数+1)=1 and (HHV(h,盘整天数)-ref(c,盘整天数))/ref(c,盘整天数)*100<上冲幅度 and (LLV(L,盘整天数)-ref(c,盘整天数))/ref(c,盘整天数)*100>(下探幅度*-1); DRAWTEXT(七伤拳,LOW*0.98,'七伤拳'),colorred;

编写方法:

&nbsp;盘整天数:=5;{盘整天数自己调,以5--7日为最佳}

下探幅度:=5; 上冲幅度:=25;
涨停:=(c-ref(c,1))/ref(c,1)>0.09;{涨幅大于9个点}
缩量:=hhv(vol,盘整天数-2)<ref(VOL,盘整天数-1) and sum(vol, 盘整天数)>2* sum(vol, 盘整天数-2);
七伤拳:缩量 and ref(涨停,盘整天数) and count(涨停,盘整天数+1)=1 and  (HHV(h,盘整天数)-ref(c,盘整天数))/ref(c,盘整天数)*100<上冲幅度 and (LLV(L,盘整天数)-ref(c,盘整天数))/ref(c,盘整天数)*100>(下探幅度*-1);
 

相关文章