公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

KDJ暴涨背离启动 同花顺副图指标 源码 贴图 无未来

2021-3-16 13:48| 发布者: admin| 查看: 89| 评论: 0

KDJ暴涨背离启动 同花顺副图指标 源码 贴图 无未来

KDJ暴涨背离启动 同花顺副图指标 源码 贴图 无未来


CC:=VOL*100/CAPITAL;
AA:=(CC-LLV(CC,89))/(HHV(CC,89)-LLV(CC,89))*100;
BB:=(CC-LLV(CC,144))/(HHV(CC,144)-LLV(CC,144))*100;
N:=6;
M1:=5;
M2:=5;
VARQS4:=IF(REF(AA,1)=100 AND AA<100,1,0),NODRAW;
VARQS5:=IF(REF(BB,1)=100 AND BB<100,1,0),NODRAW;
VARQS6:=IF(REF(AA,1)=0 AND AA>0,-1,0),NODRAW;
VARQS7:=IF(REF(BB,1)=0 AND BB>0,-1,0),NODRAW;
ZERO:0,NODRAW;
天量89:=VARQS4,COLORRED;
地量89:=VARQS6,COLORGREEN;
地量144:=VARQS7,COLORGREEN;
天量144:=VARQS5,,COLORRED;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),COLORYELLOW,LINETHICK1;
D:SMA(K,M2,1),COLORCYAN,LINETHICK1;
J:3*K-2*D,COLORMAGENTA,LINETHICK1;
暴涨启动:ABS(VARQS4)+ABS(VARQS5),NODRAW;
高安全区:0,COLORRED;
安全区:20,COLORCYAN;
风险区:100,COLORGREEN;
U1:=BARSLAST(REF(CROSS(K,D),1));
U2:=REF(C,U1+1)>C AND REF(K,U1+1)底背离:=IF(U2>0,1,0);
DRAWLINE(U1=0,D,底背离,REF(D,U1),0),COLORRED,LINETHICK2;
DRAWLINE(底背离,D,底背离,REF(D,U1),0),COLORRED,LINETHICK2;
DRAWTEXT(底背离,REF(D,U1)*1.00,'底背离'),COLORYELLOW;
DRAWICON(暴涨启动,J-0.75*(J-REF(J,1)),'BUY');
DRAWICON(暴涨启动,J-1.25*(J-REF(J,1)),'BUY');
DRAWTEXT(暴涨启动,0,' 暴涨'),COLORWHITE;
RR:=MAX(C,O);
Q1:=HHV(RR,5);
Q2:=DREF(D,2);
A2:=BARSLAST(REF(Q2,1));
DRAWLINE(暴涨启动,0,暴涨启动,J,0),COLORMAGENTA,LINETHICK1;
顶背离:= REF(Q1,A2+1)DRAWLINE(A2=0 ,D,顶背离,REF(D,A2),0),COLORWHITE,LINETHICK2;
DRAWLINE(顶背离,D,顶背离,REF(D,A2),0),COLORWHITE,LINETHICK2;
DRAWTEXT(顶背离,REF(D,A2)*1.02,'顶背离'),COLORGREEN;
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VARA:=HHV(HIGH,34);
VARB:=EMA((VAR3-VAR4)/(VARA-VAR4)*100,13);
VARC:=EMA(0.667*REF(VARB,1)+0.333*VARB,2);
暴跌来临:ABS(VARQS6)+ABS(VARQS7),NODRAW;
OO:=VARB-VARC;{WWW.GPXIAZAI.COM}
STICKLINE(OO>0,VARB,VARC,8,0),COLORRED;
STICKLINE(OO<0,VARB,VARC,8,0),COLORGREEN;
WWWCHNMONEYCOM:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
DRAWICON(暴跌来临,J+0.75*ABS((J-REF(J,1))),'SELL');
DRAWICON(暴跌来临,J+1.25*ABS((J-REF(J,1))),'SELL');
DRAWTEXT(暴跌来临,110,'暴跌'),COLORLIGREEN;
DRAWLINE(暴跌来临,100,暴跌来临,J,100),COLORLIGREEN,LINETHICK1;

鲜花

握手

雷人

路过

鸡蛋
返回顶部