通达信简单明了的ddx成交量源码副图

运用简单的黄金分割分配DDX成交量
预量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预量,0,-1,-1),COLOR00C0C0;
实量:VOL,VOLSTICK,COLORLIGREEN;
STICKLINE(C=REF(C,1),0,V,0,0),COLORWHITE;
STICKLINE(C>REF(C,1) AND C<O,0,V,0,0),COLORRED;
STICKLINE(C<REF(C,1) AND C>O,0,V,0,0),COLORGREEN;

 

ZDF:=(C-REF(C,1))/REF(C,1)*100;
CON1:=ZDF>0 AND ZDF<3.82;
CON2:=ZDF>=3.82;
CON3:=ZDF<0 AND ZDF>-3.82;
CON4:=ZDF<=-3.82;
BUY:=IF(CON1,V*0.618,IF(CON2,V*0.809,IF(CON3,V*0.382,IF(CON4,V*0.191,V/2))));
SALE:=V-BUY;
STICKLINE(BUY>SALE,0,BUY-SALE,0.1,0),COLOR00F7F7;
STICKLINE(BUY<SALE,0,SALE-BUY,0.1,0),COLORFF1717;

DDX:=BUY-SALE;
MADDX:=MA(DDX,5)*5;
DDX1:SMA(MADDX,3,1),COLORFFFFFF,LINETHICK1;
DDX2:SMA(DDX1,3,1),COLORF100F1,LINETHICK1;
DDX3:SMA(DDX2,3,1),COLOR00D900,LINETHICK1;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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