同花顺涨停趋势副图源码
2017-09-28网络 编 辑:翔博软件
鉴于有些朋友喜欢,没加说明,故取消密码。自己琢磨。
f:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
g:=SMA(f,3,1);
K:SMA(g,3,1),colorred;
D:SMA(K,2,1),coloryellow;
W:REVERSE(K),colorgreen;
R:REVERSE(D),colorgreen;
PS:=CROSS(K,D);
OPS:=K-W;
OPE:=D-R;
VARA:=CROSS(D,K) AND D>=70;
STICKLINE(VARA,K-6,100,1,0),coloryellow,LINETHICK4;
DRAWTEXT(VARA AND COUNT(VARA,8)=1,K+12,' 牛市震荡'), coloryellow;
DRAWTEXT(VARA AND COUNT(VARA,8)=1,K-5,' 熊市抛股'), coloryellow;
STICKLINE(K,K,0,1,0),colorred,LINETHICK1;
STICKLINE(W,W,0,1,0),colorgreen,LINETHICK1;
STICKLINE(CROSS(OPS,OPE) AND OPS<80 AND PS,25,0,3,0),colorgreen,LINETHICK2;
买入时间:IF(CROSS(OPS,OPE) AND OPS<80 AND PS,25,0),colorgreen,LINETHICK0,NODRAW;
DRAWTEXT(买入时间 AND COUNT(买入时间,10)=1,0,'短线抄'),colorwhite,LINETHICK2;
STICKLINE(CROSS(OPS,OPE) AND OPS<50 AND PS,20,0,3,0),colorblue;
时间买入:IF(CROSS(OPS,OPE) AND OPS<50 AND PS,15,0),colorblue,LINETHICK0,NODRAW;
YY:0,colorblue;
HH:90,colorred;
ED:-90,colorred;
BB:15,colorgreen,DOTLINE;
DH:-15,colorgreen,DOTLINE;