拉升主图做个选股
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: 好像这个分时主图没有未来函数,应该不会漂移吧 请老师把 拉升 为信号做个预警指标 谢谢 KP30:=TIME036000; KPGD:=H=HHV(H,0) AND KP30; GDSJ:=BARSLAST(KPGD); HH:REF(H,GDSJ),COLORFF00FF,POINTDOT,LINETHICK2; 过顶:IF(CROSS(C,HH),1,0),COLOR00FF00,POINTDOT,LINETHICK0
-
文章来源:股海网作者:股海网发布时间:2015-08-22浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
好像这个分时主图没有未来函数,应该不会漂移吧 请老师把 拉升 为信号做个预警指标 谢谢
KP30:=TIME0<36000;
KPGD:=H=HHV(H,0) AND KP30;
GDSJ:=BARSLAST(KPGD);
HH:REF(H,GDSJ),COLORFF00FF,POINTDOT,LINETHICK2;
过顶:IF(CROSS(C,HH),1,0),COLOR00FF00,POINTDOT,LINETHICK0;
冲高:IF(FILTER(CROSS(C,HH*1.01),15),1,0),COLOR00FFFF,POINTDOT,LINETHICK0;
DRAWTEXT(过顶,HH,'↑'),COLOR00FF00,ALIGN1;
DRAWTEXT(冲高,HH,'★拉升'),COLOR00FFFF,ALIGN1;
KP30:=TIME0<36000;
KPGD:=H=HHV(H,0) AND KP30;
GDSJ:=BARSLAST(KPGD);
HH:REF(H,GDSJ),COLORFF00FF,POINTDOT,LINETHICK2;
过顶:IF(CROSS(C,HH),1,0),COLOR00FF00,POINTDOT,LINETHICK0;
冲高:IF(FILTER(CROSS(C,HH*1.01),15),1,0),COLOR00FFFF,POINTDOT,LINETHICK0;
DRAWTEXT(过顶,HH,'↑'),COLOR00FF00,ALIGN1;
DRAWTEXT(冲高,HH,'★拉升'),COLOR00FFFF,ALIGN1;
解答如下:
KP30:=TIME0<36000;
KPGD:=H=HHV(H,0) AND KP30;
GDSJ:=BARSLAST(KPGD);
HH:=REF(H,GDSJ);
冲高:FILTER(CROSS(C,HH*1.01),15);
KPGD:=H=HHV(H,0) AND KP30;
GDSJ:=BARSLAST(KPGD);
HH:=REF(H,GDSJ);
冲高:FILTER(CROSS(C,HH*1.01),15);
上一篇:n天内连续m天收阳线
下一篇:顶底画线选股