通达信《DDX》净流入副图指标公式源码

通达信《DDX》净流入副图指标公式源码:

AA:=IF(CLOSE<0,0,SUM(IF(CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1),VOL,0),2));
BB:=IF(CLOSE<0,0,SUM(IF(CLOSE<REF(CLOSE,1) AND VOL<REF(VOL,1),VOL,0),2));
DD:=IF(CLOSE<0,0,AA-BB);
X0:=IF(CLOSE<0,0,IF(DD>0 AND (CLOSE/REF(CLOSE,1)-1)*100>0,AMOUNT/100,0));
X1:=IF(CLOSE<0,0,IF(DD<0 AND (CLOSE/REF(CLOSE,1)-1)*100<0,AMOUNT/100,0));
DDX:IF(CLOSE<0,0,(X0-X1)/CAPITAL*CLOSE/100),NODRAW;
选股:IF(CLOSE<0,0,DDX>=0 AND (CLOSE/REF(CLOSE,1)-1)*100>4),NODRAW;
DRAWTEXT(选股,DDX*1.06,'★买'),LINETHICK2,COLORYELLOW;
STICKLINE(DDX>0,0,DDX,3.5,0),COLOR00AAAA;
STICKLINE(DDX>0,0,DDX,3,0),COLOR00BBBB;
STICKLINE(DDX>0,0,DDX,2.5,0),COLOR00CCCC;
STICKLINE(DDX>0,0,DDX,2,0),COLOR00DDDD;
STICKLINE(DDX>0,0,DDX,1,0),COLOR00EEEE;
STICKLINE(DDX>0,0,DDX,0.3,0),COLOR00FFFF;
STICKLINE(DDX<0,0,DDX,3.5,0),COLORFF9900;
STICKLINE(DDX<0,0,DDX,3,0),COLORFFAA00;
STICKLINE(DDX<0,0,DDX,2.5,0),COLORFFBB00;
STICKLINE(DDX<0,0,DDX,2,0),COLORFFCC00;
STICKLINE(DDX<0,0,DDX,1,0),COLORFFDD00;
STICKLINE(DDX<0,0,DDX,0.3,0),COLORFFEE00;
周净流入:SUM(X0-X1,5),COLOR6622FF,NODRAW;
DDX1:=EMA(DDX,60)*15.367;
DDX2:=MA(DDX1,5);
DDX3:=MA(DDX1,10);
天:=COUNT(X0-X1>0,5);
SNJW:="KDJ.J" - REF("KDJ.J",1) > 30 AND CLOSE / REF(CLOSE,1) > 1.043 AND "MACD.MACD" > 0 AND "MACD.DEA" > 0;
DRAWTEXT(SNJW,DDX*0.6,'★九稳'),LINETHICK2,COLORYELLOW;
上影部分:=(H-C)/(H-L);
实体部分:=(C-O)/(H-L);
下影部分:=(O-L)/(H-L);
拉中:=实体部分*0.8*V;
拉上:=上影部分*0.2*V;
拉下:=下影部分*0.2*V;
洗中:=实体部分*0.2*V;
洗上:=上影部分*0.8*V;
洗下:=下影部分*0.8*V;
Z:=拉中+拉上+拉下;
F:=洗中+洗上+洗下;
燃料:(Z-F)/10000,NODRAW;
温度:(C-MA(C,24))/MA(C,240)*100,NODRAW;
STICKLINE( 燃料>0,0,DDX/2,2,0),COLORRED;
{黑马庄现}{WWW.ZHIBIAO123.CN}
VAR260:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR270:=EMA(VAR260,100);
VAR280:=2*(VAR260-VAR270);
VAR290:=POW(VAR280,3)*0.1+POW(VAR280,1);
龙抬头:=IF( VAR280>0.1,VAR290,0)*5;
TSWR:=REF(龙抬头,1)=0 AND REF(龙抬头,2)=0 AND REF(龙抬头,3)=0 AND 龙抬头>0;
SC:=100*(CLOSE-MA(CLOSE,26));
MAO:=EMA(SC,9);{WWW.ZHIBIAO123.CN}
VAR1G:=(CLOSE*2+HIGH+LOW)/4;
VAR2G:=EMA(VAR1G,13)-EMA(VAR1G,26);
VAR3G:=EMA(VAR2G,2);
A11:=(-2)*(VAR2G-VAR3G)*10000;
B11:=2*(VAR2G-VAR3G)*10000;
必涨A:=CROSS(B11,A11);
DRAWTEXT(TSWR>0.1 AND CROSS(SC,MAO),0,'↑ 马'),COLORMAGENTA;
DRAWTEXT(TSWR>0.1 AND 必涨A,0,'↑庄'),COLORMAGENTA;

 

负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/159570.html,转载请注明出处。
通达信龙头股强龙战法688版本全套14个指标公式源码无加密全部开放,手机可用
通达信龙头股强龙战法688版本全套14个指标公式源码无加密全部开放,手机可用
3分钟前 有人购买 去瞅瞅看
温馨提示:本站暂不支持手机端在线支付,请您在电脑端扫码完成支付!
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录