编写要求:
主图上显示前5天换手率的和,前10天的和,前20天的,前30天的和,前60天的和,前120天的和,前250天的和!
解答:
DRAWTEXT_FIX(ISLASTBAR,0.965,0.01,1.0,STRCAT('5日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,5),2))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.965,0.05,1.0,STRCAT('10日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,10),2))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.965,0.09,1.0,STRCAT('20日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,20),2))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.965,0.13,1.0,STRCAT('30日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,30),2))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.965,0.17,1.0,STRCAT('60日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,60),2))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.965,0.21,1.0,STRCAT('120日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,120),2))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.965,0.25,1.0,STRCAT('250日换手率累计: ', CON2STR(SUM(DYNAINFO(37)*100,250),2))),COLORWHITE;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!