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

网站首页 > 通达信公式 > 通达信主副图指标 正文

通达信八指共振指标公式源码副图

admin 2024-04-19 22:20:32 通达信主副图指标 493 ℃

通达信八指共振指标公式源码副图

N1:=3;N2:=5;N3:=8;N4:=13;DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);DEA:=EMA(DIFF,N2);DRAWICON(DIFF>DEA,1,1);DRAWICON(DIFF< DEA,1,2);GPZBGS1:=DIFF>DEA;RSGPZB21:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;K:=SMA(RSGPZB21,N1,1);D:=SMA(K,N1,1);DRAWICON(K>D,2,1);DRAWICON(K< D,2,2);GPZBGS2:=K>D;LC:=REF(CLOSE,1);rsi1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(Abs(CLOSE-LC),N2,1))*100;RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;DRAWICON(RSI1>RSI2,3,1);DRAWICON(RSI1< RSI2,3,2);GPZBGS3:=RSI1>RSI2;RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;Lwr1:=SMA(RSV,N1,1);LWR2:=SMA(LWR1,N1,1);DRAWICON(LWR1>LWR2,4,1);DRAWICON(LWR1< LWR2,4,2);GPZBGS4:=LWR1>LWR2;bbi:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;DRAWICON(CLOSE>BBI,5,1);DRAWICON(CLOSE< BBI,5,2);GPZBGS5:=CLOSE>BBI;GPZB:=CLOSE-REF(CLOSE,1);mms:=100*EMA(EMA(GPZB,N2),N1)/EMA(EMA(ABS(GPZB),N2),N1);MMM:=100*EMA(EMA(GPZB,N4),N3)/EMA(EMA(ABS(GPZB),N4),N3);DRAWICON(MMS>MMM,6,1);DRAWICON(MMS< MMM,6,2);GPZBGS6:=MMS>MMM;WJ:=(H+L+C)/3;GPZB21:=IF(H=L,1,H-MAX(O,C));GPZB22:=IF(H=L,1,MAX(C,O)-WJ);GPZB23:=IF(H=L,1,MIN(O,C)-L);GPZB24:=IF(H=L,1,WJ-MIN(C,O));GPZB25:=vol/IF(H=L,4,H-L);GPZB26:=(GPZB21*GPZB25);GPZB27:=(GPZB22*GPZB25);GPZB28:=(GPZB23*GPZB25);GPZB29:=(GPZB24*GPZB25);买盘:=(GPZB29+GPZB28);卖盘:=(GPZB26+GPZB27);买卖差:=买盘-卖盘;ddx:=买卖差;DX:=MA(买卖差,5)*20;DDX1:=SMA(DX,3,1);DDX2:=SMA(DDX1,3,1);DDX3:=(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;DRAWICON(DDX1>DDX2,7,1);DRAWICON(DDX1< DDX2,7,2);GPZBGS7:=DDX1>DDX2;量:=V;换手:=V/CAPITAL*100;VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买盘1:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE< OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));卖盘1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));GSKZ1:=(买盘1-(-卖盘1))/量*换手;GSKZ11:=SUM(GSKZ1,6);GSKZ12:=MA(GSKZ11,5);DRAWICON(GSKZ11>GSKZ12,8,1);DRAWICON(GSKZ11< GSKZ12,8,2);GPZBGS8:=GSKZ11>GSKZ12;买入:IF(GPZBGS1 AND GPZBGS2 AND GPZBGS3 AND GPZBGS4 AND GPZBGS5 AND GPZBGS6 AND GPZBGS7 AND GPZBGS8=1 AND REF(GPZBGS1 AND GPZBGS2 AND GPZBGS3 AND GPZBGS4 AND GPZBGS5 AND GPZBGS6 AND GPZBGS7 AND GPZBGS8,1)=0,8,0),COLORYELLOW,LINETHICK2;持有:IF(GPZBGS1 AND GPZBGS2 AND GPZBGS3 AND GPZBGS4 AND GPZBGS5 AND GPZBGS6 AND GPZBGS7 AND GPZBGS8,8,0),COLORMAGENTA,LINETHICK2;共振:=GPZBGS1 AND GPZBGS2 AND GPZBGS3 AND GPZBGS4 AND GPZBGS5 AND GPZBGS6 AND GPZBGS7 AND GPZBGS8;STICKLINE(买入,0,8,0.6,0),COLORYELLOW;DRAWICON(DIFF>DEA,1,1);DRAWICON(DIFF< DEA,1,2);DRAWICON(K>D,2,1);DRAWICON(K< D,2,2);DRAWICON(RSI1>RSI2,3,1);DRAWICON(RSI1< RSI2,3,2);DRAWICON(LWR1>LWR2,4,1);DRAWICON(LWR1< LWR2,4,2);DRAWICON(CLOSE>BBI,5,1);DRAWICON(CLOSE< BBI,5,2);DRAWICON(MMS>MMM,6,1);DRAWICON(MMS< MMM,6,2);DRAWICON(DDX1>DDX2,7,1);DRAWICON(DDX1< DDX2,7,2);DRAWICON(GSKZ11>GSKZ12,8,1);DRAWICON(GSKZ11< GSKZ12,8,2);

选股票看什么指标最好 >

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

其他说明

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


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


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