以下是通达信三锋主图源码副图

M5:MA(C,5);

M10:MA(C,10);

M20:MA(C,20);

M30:MA(C,30),COLORRED;

M60:MA(C,60);

M120:MA(C,120),DOTLINE;

每股公积:FINANCE(18)/1,NODRAW,COLORGREEN;

未分利润:FINANCE(32)/1,NODRAW,COLORGREEN;

所属板块:=STRCAT(‘所属板块: ‘,STRCAT(STRCAT(STRCAT(‘[行业]-‘,HYBLOCK),STRCAT(‘ [地域]-‘,DYBLOCK)),STRCAT(‘ [概念]-‘,GNBLOCK)));

总股本:=STRCAT(STRCAT(‘总股本: ‘,CON2STR(TOTALCAPITAL/1000000,2)),’亿’);

流通盘:=STRCAT(STRCAT(‘ 流通盘: ‘,CON2STR(CAPITAL/1000000,2)),’亿’);

全流通:=STRCAT(‘ 全流通: ‘,CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));

市值:=STRCAT(STRCAT(‘ 流通市值: ‘,CON2STR((CAPITAL/1000000)*C,2)),’亿’);

股本市值:=STRCAT(‘股本市值: ‘,STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值));

{业绩}

净资收益率:=STRCAT(‘ 净资收益率: ‘,CON2STR(FINANCE(29)/FINANCE(19)*100,2));

毛利率:=STRCAT(‘ 毛利率: ‘,CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));

主营利润率:=STRCAT(‘ 主营利润率 ‘,CON2STR(FINANCE(23)/FINANCE(20)*100,2));

当前业绩:=STRCAT(‘当前业绩: ‘,STRCAT(STRCAT(净资收益率,毛利率),主营利润率));

{主图显示}

DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,所属板块),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,股本市值),COLORGREEN;

DRAWTEXT_FIX(ISLASTBAR,0.005,0.18,0,当前业绩),COLORGREEN;

 
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。