主图上显示前5天换手率的和的公式
-
相关简介:编写要求: 主图上显示前5天换手率的和,前10天的和,前20天的,前30天的和,前60天的和,前120天的和,前250天的和! www.guhai.com.cn 股海网解答: 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日换手率累计:
-
文章来源:股海网作者:股海网发布时间:2017-12-01浏览次数:
编写要求:
主图上显示前5天换手率的和,前10天的和,前20天的,前30天的和,前60天的和,前120天的和,前250天的和!
www.guhai.com.cn股海网解答:
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;