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

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

通达信主力量能副图指标公式源码

admin 2024-05-07 21:00:37 通达信主副图指标 491 ℃

通达信主力量能副图指标公式源码

{}
N:=30;
M:=60;
散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*10000,COLORGREEN;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
主力线:EMA(J,6)*10000,COLORRED;
N2:=5;
K1:=IF(CLOSE>=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW);
K2:=IF(CLOSE<=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE);
DT:=VOL*K1/(K1+K2);
KT:=VOL-DT;
进出量:SUM(DT,N)+SUM(KT,N2),POINTDOT,COLOR00FFFF;
STICKLINE(进出量>=0,0,进出量,6/3,1),COLOR0000FF;
STICKLINE(进出量<0,0,进出量,6/3,1),COLORFFFF00;
黄蓝为成交量:0,COLORYELLOW;
量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
净量:=买量-卖量>0;
STICKLINE(买量,0,VOL,3/3,0),COLORBLUE;
STICKLINE(净量,0,VOL,3/3,0),COLORYELLOW;
ZZ:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C<O*1.02,1,3);
V5:=MA(V,5);
V12:=MA(V,12);
V34:=MA(V,34);
C6:=MA(C,6);
DRAWTEXT (VOL>MA(VOL,5)*2 AND V>V34*3 AND C<REF(C,1)*1.05,V,天),COLORWHITE;
DRAWTEXT (VOL<MA(VOL,5)/2 AND V<V12/2,(V5+V)/0.7,地),COLORWHITE;
DRAWTEXT (CROSS(C,C6) AND V>V5*1.2 AND V>V12*1.2 AND ZZ>2 AND C>H*0.975,V,吸),COLORWHITE;
DRAWTEXT (CROSS(C6,C) AND V>V5*1.2 AND V>V12*1.2,V,出),COLORWHITE;
VAR19:=(HIGH - LOW);
VAR13:=ABS((OPEN - CLOSE));
VAR14:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR15:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
VAR16:=((VAR13 / VAR19) * VOL);
VAR17:=((VAR14 / VAR19) * VOL);
VAR18:=((VAR15 / VAR19) * VOL);
VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);
高:DRAWTEXT(((((((((VAR17 > VAR16) AND (VARA > 2)) AND (VAR17 > VAR18)) AND (CLOSE > MA(CLOSE,5))) AND (CLOSE > MA(CLOSE,30))) AND (HIGH > MA(CLOSE,60))) AND (VOL > MA(VOL,5))) AND (VAR17 >= MA(VOL,5))),VOL,高),COLORGREEN;
选股票看什么指标最好 >

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

其他说明

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


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


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