通达信基本信息成交量源码

通达信指标:基本信息成交量

TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);
预量:ROUND(IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,VOL)),COLORYELLOW,LINETHICK;
预额(亿):IF(CURRBARSCOUNT=1,AMOUNT*TOTAL/CTIME/100000000,AMOUNT/100000000),COLOR0000FF,LINETHICK;
预换手:预量/CAPITAL*100,COLORYELLOW;
DRAWTEXT_FIX(C>0,0.01,0.03,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(C>0,0.065,0.03,0,HYBLOCK),COLORCYAN;
DRAWTEXT_FIX(C>0,0.12,0.03,0,'收益 :'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.15,0.03,0,FINANCE(38)),COLORYELLOW;
DRAWTEXT_FIX(C>0,0.19,0.03,0,'权益 :'),COLORYELLOW;
DRAWNUMBER_FIX(C>0,0.22,0.03,0,FINANCE(34)),COLORYELLOW;
DRAWTEXT_FIX(C>0,0.26,0.03,0,'A股 :'),COLORCYAN;
DRAWNUMBER_FIX(C>0,0.29,0.03,0,CAPITAL/1000000),COLORCYAN;
DRAWTEXT_FIX(C>0,0.35,0.03,0,'总股本 :'),COLORCYAN;
DRAWNUMBER_FIX(C>0,0.39,0.03,0,TOTALCAPITAL/1000000),COLORCYAN;




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

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

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