万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 同花顺指标 正文

同花顺四线KDJ指标公式

admin 2023-10-15 15:56:49 同花顺指标 648 ℃

20,POINTDOT,colorred;

50,POINTDOT,colorred;

90,POINTDOT,colorred;

高位:=80,COLOR00AA00;

B:=zig(3,51/5)*100,colorwhite;

G:=ma(B,2),coloryellow;

D:=crOSS(B,G)*1000,colorred;

W:=CROSS(G,B)*1000,colorblue;

A30:=MA(C,30);

ANGLEA30:=ATAN((A30/REF(A30,1)-1)*100)*57.3;

ANGLE30:=ANGLEA30>40 OR ANGLEA30<-48;

A10:=MA(C,10);

ANGLEA10:=ATAN((A10/REF(A10,1)-1)*100)*57.3;

ANGLE10:=ANGLEA10>20 OR ANGLEA10<-25 AND CLOSE>MA(CLOSE,20) ;

A3010:=ANGLE30 OR ANGLE10;

AAZT:=COUNT(CLOSE>REF(CLOSE,1)*1.097 ,20)>0;

stICKLINE( W=1000 ,高位*0.01,高位*1.1,9,0),colorcyan;

STICKLINE( D=1000 ,高位*0.01,高位*1.1,9,0),COLOR0099FF;

STICKLINE( W=1000 AND AAZT,高位*0.2,高位*1.1,9,0),colorgreen;

STICKLINE( D=1000 AND AAZT,高位*0.2,高位*1.1,9,0),colorred;

DRAWTEXT(W=1000,(高位*1.2),空不介入),coloryellow;

DRAWTEXT(D=1000,(高位*1.2),多),colorred;

DRAWTEXT(TROUGHBARS(1,6,1)=0 AND HIGH>LOW+0,50, -短买),colorliblue;

DRAWTEXT(PEAKBARS(2,9,1)=1,80,短卖),colormagenta;

DRAWTEXT(TROUGHBARS(3,18,1)=0 AND HIGH>LOW+0.1,20, F中买),colorcyan;

DRAWTEXT(PEAKBARS(2,15,1)=0,90,中卖),colorred;

STICKLINE(ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)

STICKLINE(ZIG(3,35)REF(ZIG(3,35),2),0,90,3,0),colorgreen,;

VAR1V:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-3*SMA(SMA(

(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1),coloryellow,LINETHICK1;

VAR2V:=8,colorgreen,LINETHICK1;

STICKLINE(CROSS(VAR1V,VAR2V),0,20,5,0),colorwhite;

DRAWTEXT(CROSS(VAR1V,VAR2V),10, 准备买入),colorwhite;

买入:=FILTER(COUNT(CROSS((C-MA(C,5))/MA(C,5)*100,0),3)>=1 AND (C-MA(C,30))/MA(C,30)*100>REF((C-MA(C,30))/MA(C,30)*100,1) AND

MA(C,5)>REF(MA(C,5),1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)

STICKLINE(买入,20,40,5,0),colorred;

DRAWTEXT(买入=1,30,牛B),colorred;

A1:=MA(CLOSE,5);

A2:=MA(CLOSE,20);

B1:=REF(A1,1);

B2:=REF(A2,1);

D1:=REF(A1,2);

D2:=REF(A2,2);

E1:=REF(C,1);

XG:=C>E1 AND C>O AND D1B2;

STICKLINE(XG,60,40,5,0),colormagenta;

DRAWTEXT(XG=1,50,520),colormagenta;

AA:=(CROSS(CLOSE,((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004) AND ((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004>REF(((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004,1) AND CROSS(CLOSE,((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004) AND ((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004>REF(((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004,1));

STICKLINE(AA,60,80,5,0),coloryellow;

DRAWTEXT(AA=1,70,牛),coloryellow;

VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR5:=VAR3REF(VOL,1) AND CLOSE>REF(CLOSE,1);

STICKLINE(VAR5 AND COUNT(VAR5,30)=1,80,100,5,0),colorcyan;

DRAWTEXT(VAR5 AND COUNT(VAR5,30)=1,90,红牛),colorcyan;

RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;

K0:=SMA(RSV,3,1);

K:=K0;D0:=SMA(K0,2,1);

J1:(3*K0-2*D0),colorred;

J2:MA(J1,2),coloryellow;

MAV:=(2*C+H+L)/4;

VAR1:=LLV(LOW,21);

VAR2:=HHV(HIGH,21);

SK: ema((MAV-VAR1)/(VAR2-VAR1)*100,8),colormagenta;

SD: EMA(0.667*REF(SK,1)+0.333*SK,1),colorcyan;

SJ:=3*SK-2*SD;

买线:=ZIG(3,10);

卖线:=MA(买线,3);

VARF1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR101:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR111:=VARF1REF(VOL,1) AND CLOSE>REF(CLOSE,1);

游资:=(VAR111 AND COUNT(VAR111,30)=1 AND 买线>=卖线);

DRAWTEXT(游资,(SD*0.98),--游资进),colorliblue;

STICKLINE(游资,(SD*0.96),SD,9,0),colorliblue;

机构:=((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3))=1) AND (CROSS(ZIG(3,8),REF(ZIG(3,8),1))) AND (CROSS(ZIG(3,13),REF(ZIG(3,13),1)));

DRAWTEXT(机构,(SD*0.67),--机构进),coloryellow;

STICKLINE(机构,(SD*0.92),(SD*0.98),9,0),coloryellow;

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群