手机端
当前位置:爱约股 > 公式技巧 > 主图上显示前5天换手率的和的公式

主图上显示前5天换手率的和的公式

主图上显示前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;

TAG:
分享至:

相关推荐