DRAWTEXT_FIX(1,0.168,0.382,1,'价值投资必备'),COLORLIMAGENTA;
DRAWTEXT_FIX(1,0.33,0.25,1,'◇顺其自然◇'),COLORYELLOW;
DRAWTEXT_FIX(1,0.33,0.4,1,'◇得之坦然◇'),COLORRED;
DRAWTEXT_FIX(1,0.33,0.55,1,'◇失之淡然◇'),COLORGREEN;
DRAWTEXT_FIX(1,0.33,0.7,1,'◇争其必然◇'),COLORWHITE;
DRAWTEXT_FIX(C>0,0.0618,0.55,0,'云枫添外 2016/12/1 作'),COLORWHITE;
{基本资料}
创业:=CODELIKE('30');
中小:=CODELIKE('002');
沪A:=CODELIKE('60');
深A:=CODELIKE('00');
大盘类型:=IF(中小=1,'中小板',IF(创业=1,'创业板',IF(沪A=1,'上证A股','深证A股')));
所属板块:=HYBLOCK;
上市天数:=FINANCE(42)+1;
交易天数:=CONST(BARSSINCE(C)+1);
股总市值:={ROUND(FINANCE(41)}CONST(FINANCE(1)/100000000);
流通市值:={ROUND(FINANCE(40)}CONST(FINANCE(7)/100000000);
股东人数:=FINANCE(8);
人均持股:=ROUND(FINANCE(7)/FINANCE(8));
DRAWTEXT_FIX(1,0.48,0.01,1,'股东股份:'),COLORRED;
DRAWTEXT_FIX(1,0.48,0.15,1,'品属板指:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.48,0.25,1,'所属板块:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.48,0.35,1,'上市天数:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.48,0.45,1,'交易天数:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.48,0.55,1,'股本总计:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.48,0.65,1,'市场流通:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.48,0.75,1,'股东人数:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.48,0.85,1,'人均持股:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.54,0.35,1,上市天数),COLORWHITE;
DRAWNUMBER_FIX(1,0.54,0.45,1,交易天数),COLORWHITE;
DRAWNUMBER_FIX(1,0.54,0.55,1,股总市值),COLORWHITE;
DRAWNUMBER_FIX(1,0.54,0.65,1,流通市值),COLORWHITE;
DRAWNUMBER_FIX(1,0.54,0.75,1,股东人数),COLORWHITE;
DRAWNUMBER_FIX(1,0.54,0.85,1,人均持股),COLORWHITE;
DRAWTEXT_FIX(1,0.56,0.25,1,HYBLOCK),COLOR00AAAA;
DRAWTEXT_FIX(ISLASTBAR,0.56,0.15,1,大盘类型),COLORRED;
DRAWTEXT_FIX(1,0.56,0.35,1,'天'),COLORCYAN;
DRAWTEXT_FIX(1,0.56,0.45,1,'天'),COLORCYAN;
DRAWTEXT_FIX(1,0.56,0.55,1,'亿'),COLORCYAN;
DRAWTEXT_FIX(1,0.56,0.65,1,'亿'),COLORCYAN;
DRAWTEXT_FIX(1,0.56,0.75,1,'人'),COLORCYAN;
DRAWTEXT_FIX(1,0.56,0.85,1,'股'),COLORCYAN;
季度业绩:=STRCAT(IF(CONST(FINANCE(37))=1,'一',IF(CONST(FINANCE(37))=2,'二',IF(CONST(FINANCE(37))=3,'三',IF(CONST(FINANCE(37))=4,'四',DRAWNULL)))),'季度业绩:');
净资收益率:=(FINANCE(33)/FINANCE(34)*100);
销售毛利率:=((FINANCE(20)-FINANCE(21))/FINANCE(20)*100);
净利润比率:=(FINANCE(30)/FINANCE(20)*100);
主营利润率:=(FINANCE(23)/FINANCE(20)*100);
优质资产率:=((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19));{理论上越大越好但不同行业有不同标准};
现金负债比:=(FINANCE(25)/FINANCE(15));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};
净利同增率:=FINANCE(43);
总收入同比:=FINANCE(44);
DRAWTEXT_FIX(1,0.7,0.01,1,季度业绩),COLORRED;
DRAWTEXT_FIX(1,0.7,0.15,1,'净资收益率:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.7,0.25,1,'销售毛利率:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.7,0.35,1,'净利润率 :'),COLORYELLOW;
DRAWTEXT_FIX(1,0.7,0.45,1,'主营利润率:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.7,0.55,1,'优质资产率:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.7,0.65,1,'现金负债比:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.7,0.75,1,'净利同增率:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.7,0.85,1,'总收入同比:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.76,0.15,1,净资收益率),COLORWHITE;
DRAWNUMBER_FIX(1,0.76,0.25,1,销售毛利率),COLORWHITE;
DRAWNUMBER_FIX(1,0.76,0.35,1,净利润比率),COLORWHITE;
DRAWNUMBER_FIX(1,0.76,0.45,1,主营利润率),COLORWHITE;
DRAWNUMBER_FIX(1,0.76,0.55,1,优质资产率),COLORWHITE;
DRAWNUMBER_FIX(1,0.76,0.65,1,现金负债比),COLORWHITE;
DRAWNUMBER_FIX(1,0.76,0.75,1,净利同增率),COLORWHITE;
DRAWNUMBER_FIX(1,0.76,0.85,1,总收入同比),COLORWHITE;
DRAWTEXT_FIX(1,0.9,0.01,1,'财务指标:'),COLORRED;
市净率:=CONST(DYNAINFO(7) / FINANCE(34));
市销率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));
每股收益季:=CONST(FINANCE(33)/(5-FINANCE(37)));
每股收益年:=CONST(FINANCE(33));
每股现金流:=CONST((FINANCE(25)/FINANCE(1)));
每股未分配:=CONST(FINANCE(32));
每股公积金:=CONST(FINANCE(18));
每股净资产:=CONST(FINANCE(34));
DRAWTEXT_FIX(1,0.9,0.15,1,'市净率 :'),COLORYELLOW;
DRAWTEXT_FIX(1,0.9,0.25,1,'市销率 :'),COLORYELLOW;
DRAWTEXT_FIX(1,0.9,0.35,1,'每股收益季:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.9,0.45,1,'每股收益年:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.9,0.55,1,'每股现金流:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.9,0.65,1,'每股未分配:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.9,0.75,1,'每股公积金:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.9,0.85,1,'每股净资产:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.96,0.15,1,市净率),COLORWHITE;
DRAWNUMBER_FIX(1,0.96,0.25,1,市销率),COLORWHITE;
DRAWNUMBER_FIX(1,0.96,0.35,1,每股收益季),COLORWHITE;
DRAWNUMBER_FIX(1,0.96,0.45,1,每股收益年),COLORWHITE;
DRAWNUMBER_FIX(1,0.96,0.55,1,每股现金流),COLORWHITE;
DRAWNUMBER_FIX(1,0.96,0.65,1,每股未分配),COLORWHITE;
DRAWNUMBER_FIX(1,0.96,0.75,1,每股公积金),COLORWHITE;
DRAWNUMBER_FIX(1,0.96,0.85,1,每股净资产),COLORWHITE;