版块F10资料(版块行业地域流通盘业绩等F10资料)

2015-12-14 21:45:00来源:本站整理浏览:188

自己加入到通达信的其他的公式中,方便看F10

源码:

 所属板块:=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;




 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式