股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信成交量指标,能显示地域行业板块、收益、权益,预测成交量、换手率。


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 20:01:35

以下是通达信成交量指标,能显示地域行业板块、收益、权益,预测成交量、换手率。

通达信成交量指标,能显示地域行业板块、收益、权益,预测成交量、换手率。

源码

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;





回复

举报

QQ|

GMT+8, 2024-11-20 19:39

快速回复 返回顶部 返回列表