主图上显示前5天换手率的和的公式
2020/11/26 18:39:55
公式编写说明:
主图上显示前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;
投股票 网 ww w.tou18.cn
股市公式下载推荐