所属板块:=STRCAT('所属板块:',STRCAT(STRCAT(STRCAT('',HYBLOCK),STRCAT('',DYBLOCK)),STRCAT('',GNBLOCK)));
总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,3)),'亿股');
DRAWTEXT_FIX(ISLASTBAR,0.002,0.05,0,所属板块),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.002,0.10,0,总股本),COLORCYAN;
{停牌天数>8}
停牌天数:=DATETODAY(DATE) - DATETODAY(REF(DATE,1));
DRAWTEXT(停牌天数>8,L*0.98,'停'),COLORRED;
DRAWNUMBER(停牌天数>8,L*0.97,停牌天数),COLORRED;
直接复制进去新建主图就可以用了,更多内容也可以百度搜索 明阳程序化 学习~