缺口主图指标
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: LL:=REF(L,1); HH:=REF(H,1); SQK:=LHH; XQK:=HLL; 向上跳几元:IF(SQK=1,L-HH,DRAWNULL),COLORGREEN,CROSSDOT,LINETHICK3,NODRAW; 逃命跳空元:IF(XQK=1,H-LL,DRAWNULL),COLORYELLOW,CROSSDOT,LINETHICK3,NODRAW; DRAWTEXT(SQK,L-0.02,'向上'),
-
文章来源:股海网作者:股海网发布时间:2015-08-25浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
LL:=REF(L,1);
HH:=REF(H,1);
SQK:=L>HH;
XQK:=H<LL;
向上跳几元:IF(SQK=1,L-HH,DRAWNULL),COLORGREEN,CROSSDOT,LINETHICK3,NODRAW;
逃命跳空元:IF(XQK=1,H-LL,DRAWNULL),COLORYELLOW,CROSSDOT,LINETHICK3,NODRAW;
DRAWTEXT(SQK,L-0.02,'向上'),COLORGREEN;
DRAWTEXT(XQK,H+0.02,'逃命'),COLORYELLOW;
STICKLINE(SQK,L,HH,4*N,1),COLORGREEN;
STICKLINE(XQK,H,LL,4*N,2),COLORYELLOW;
HH:=REF(H,1);
SQK:=L>HH;
XQK:=H<LL;
向上跳几元:IF(SQK=1,L-HH,DRAWNULL),COLORGREEN,CROSSDOT,LINETHICK3,NODRAW;
逃命跳空元:IF(XQK=1,H-LL,DRAWNULL),COLORYELLOW,CROSSDOT,LINETHICK3,NODRAW;
DRAWTEXT(SQK,L-0.02,'向上'),COLORGREEN;
DRAWTEXT(XQK,H+0.02,'逃命'),COLORYELLOW;
STICKLINE(SQK,L,HH,4*N,1),COLORGREEN;
STICKLINE(XQK,H,LL,4*N,2),COLORYELLOW;
解答如下:
N:=10;
LL:=REF(L,1);
HH:=REF(H,1);
SQK:=L>HH;
XQK:=H<LL;
向上跳几元:IF(SQK=1,L-HH,0),COLORGREEN,CROSSDOT,LINETHICK0;
逃命跳空元:IF(XQK=1,H-LL,0),COLORYELLOW,CROSSDOT,LINETHICK0;
DRAWTEXT(SQK,L-0.02,'向上'),COLORGREEN;
DRAWTEXT(XQK,H+0.02,'逃命'),COLORYELLOW;
STICKLINE(SQK,L,HH,4*N,1),COLORGREEN;
STICKLINE(XQK,H,LL,4*N,2),COLORYELLOW;
LL:=REF(L,1);
HH:=REF(H,1);
SQK:=L>HH;
XQK:=H<LL;
向上跳几元:IF(SQK=1,L-HH,0),COLORGREEN,CROSSDOT,LINETHICK0;
逃命跳空元:IF(XQK=1,H-LL,0),COLORYELLOW,CROSSDOT,LINETHICK0;
DRAWTEXT(SQK,L-0.02,'向上'),COLORGREEN;
DRAWTEXT(XQK,H+0.02,'逃命'),COLORYELLOW;
STICKLINE(SQK,L,HH,4*N,1),COLORGREEN;
STICKLINE(XQK,H,LL,4*N,2),COLORYELLOW;