通达信风度DDX指标公式

ZF:=H-L;
CB:=IF(CAPITAL>0,AMOUNT/V/100,(H+L+O+C*3)/6);
DV1:=IF(ZF>0 AND C>CB,((H-C)/(H-CB))*((H-CB)/ZF*V),0);
UV1:=IF(ZF>0 AND C>CB,V-DV1 ,0);
UV2:=IF(ZF>0 AND C<CB,((C-L)/(CB-L))*((CB-L)/ZF*V),0);
DV2:=IF(ZF>0 AND C<CB,V-UV2 ,0);
UV3:=IF(ZF=0 AND C>REF(C,1),V,0);
DV3:=IF(ZF=0 AND C<REF(C,1),V,0);
UV:=UV1+UV2+UV3;
DV:=DV1+DV2+DV3;
ddx:(UV-DV),NODRAW,COLORRED;
五日红:COUNT(DDX>=0,5),NODRAW,COLORYELLOW;
十日红:COUNT(DDX>=0,10),NODRAW,COLORLIMAGENTA;
STICKLINE(DDX<0,0,V,3,1),COLORFF6600;
STICKLINE(DDX>0,0,V,3,1),COLOR000099;
STICKLINE(DDX<0,0,-DDX,3,0),COLORFF6600;
STICKLINE(DDX<0,0,-DDX,2,0),COLORFF9900;
STICKLINE(DDX<0,0,-DDX,1.5,0),COLORFFCC00;
STICKLINE(DDX<0,0,-DDX,0.5,0),COLORCYAN;
STICKLINE(DDX>0,0,DDX,3,0),COLOR000099;
STICKLINE(DDX>0,0,DDX,2,0),COLOR0000CC;
STICKLINE(DDX>0,0,DDX,1.5,0),COLOR0000FF;
STICKLINE(DDX>0,0,DDX,0.5,0),COLORCC66FF;
换手:V/CAPITAL*100,NODRAW;
DRAWTEXT(V/REF(MA(V,5),1)>=2,V*1.2,'★'),COLORYELLOW;
DDX1:EMA(SUM(DDX,13),2),COLORWHITE;
DDX2:EMA(DDX1,3),COLORYELLOW;
DDX3:EMA(DDX1,5}),COLORRED;




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图