{基本信息副图指标}
{行业板块看盘幅图}
创业板:= INBLOCK('创业板');
中小企业:= INBLOCK('中小板');
上证A股:= INBLOCK('上证A股');
深证A股:= INBLOCK('深证A股');
INDEH:=IF(中小企业=1,"399005H",IF(上证A股=1,"999999H"))),NODRAW;
INDEO:=IF(中小企业=1,"399005O",IF(上证A股=1,"999999O"))),NODRAW;
INDEL:=IF(中小企业=1,"399005L",IF(上证A股=1,"999999L"))),NODRAW;
INDEC:=IF(中小企业=1,"399005C",IF(上证A股=1,"999999C"))),NODRAW;
板块名:=IF(中小企业=1,'中小板指数',
IF(创业板=1,'创业板指数',
IF(上证A股=1,'上证指数',
'深证指数')));
指数涨幅:=(INDEC-REF(INDEC,1))100/REF(INDEC,1);
A:=STRCAT(板块名,STRCAT(':',CON2STR(INDEC,2)));
B:=STRCAT(STRCAT('指数涨跌:',CON2STR(指数涨幅,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,A),COLOR0055FF;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,B),COLOR0055FF;
{涨跌家数}
沪A涨家数:="999999DECLINE",COLORGREEN,NODRAW;
深A涨家数:="399001DECLINE",COLORGREEN,NODRAW;
中小涨家数:="399005DECLINE",COLORGREEN,NODRAW;
创业涨家数:="399006DECLINE",COLORGREEN,NODRAW;
上涨总家数:=沪A涨家数+深A涨家数,COLORRED,NODRAW;
下跌总家数:=沪A跌家数+深A跌家数,COLORGREEN,NODRAW;
BBB1:=STRCAT('沪A涨家数: ',CON2STR(沪A涨家数,0));
DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,BBB1),COLORRED;
BBB2:=STRCAT('沪A跌家数: ',CON2STR(沪A跌家数,0));
DRAWTEXT_FIX(ISLASTBAR,0,0.12,0,BBB2),COLORGREEN;
BBB3:=STRCAT('深A涨家数: ',CON2STR(深A涨家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.1,0.06,0,BBB3),COLORRED;
BBB4:=STRCAT('深A跌家数: ',CON2STR(深A跌家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.1,0.12,0,BBB4),COLORGREEN;
BBB5:=STRCAT('中小涨家数: ',CON2STR(中小涨家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.2,0.06,0,BBB5),COLORRED;
BBB6:=STRCAT('中小跌家数:',CON2STR(中小跌家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.2,0.12,0,BBB6),COLORGREEN;
BBB7:=STRCAT('创业涨家数: ',CON2STR(创业涨家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.3,0.06,0,BBB7),COLORRED;
BBB8:=STRCAT('创业跌家数: ',CON2STR(创业跌家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.3,0.12,0,BBB8),COLORGREEN;
{涨跌家数比}
上涨总家数比:=上涨总家数/(上涨总家数+下跌总家数)100,COLORRED,NODRAW;
下跌总家数比:=下跌总家数/(上涨总家数+下跌总家数)100,COLORGREEN,NODRAW;
沪A上涨家数比:=沪A涨家数/(沪A涨家数+沪A跌家数)100,COLORRED,NODRAW;
沪A下跌家数比:=沪A跌家数/(沪A涨家数+沪A跌家数)100,COLORGREEN,NODRAW;
深A上涨家数比:=深A涨家数/(深A涨家数+深A跌家数)100,COLORRED,NODRAW;
深A下跌家数比:=深A跌家数/(深A涨家数+深A跌家数)100,COLORGREEN,NODRAW;
中小上涨家数比:=中小涨家数/(中小涨家数+中小跌家数)100,COLORRED,NODRAW;
中小下跌家数比:=中小跌家数/(中小涨家数+中小跌家数)100,COLORGREEN,NODRAW;
创业上涨家数比:=创业涨家数/(创业涨家数+创业跌家数)100,COLORRED,NODRAW;
创业下跌家数比:=创业跌家数/(创业涨家数+创业跌家数)*100,COLORGREEN,NODRAW;
AAA1:=STRCAT(STRCAT('上涨总家数比 ',CON2STR(上涨总家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.4,0.06,0,AAA1),COLORRED;
AAA2:=STRCAT(STRCAT('下跌总家数比 ',CON2STR(下跌总家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.4,0.12,0,AAA2),COLORGREEN;
AAA3:=STRCAT(STRCAT('沪A上涨家数比 ',CON2STR(沪A上涨家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.5,0.06,0,AAA3),COLORRED;
AAA4:=STRCAT(STRCAT('沪A下跌家数比 ',CON2STR(沪A下跌家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.5,0.12,0,AAA4),COLORGREEN;
AAA5:=STRCAT(STRCAT('深A上涨家数比 ',CON2STR(深A上涨家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.6,0.06,0,AAA5),COLORRED;
AAA6:=STRCAT(STRCAT('深A下跌家数比 ',CON2STR(深A下跌家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.6,0.12,0,AAA6),COLORGREEN;
AAA7:=STRCAT(STRCAT('中小上涨家数比 ',CON2STR(中小上涨家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.7,0.06,0,AAA7),COLORRED;
AAA8:=STRCAT(STRCAT('中小下跌家数比 ',CON2STR(中小下跌家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.7,0.12,0,AAA8),COLORGREEN;
AAA9:=STRCAT(STRCAT('创业上涨家数比 ',CON2STR(创业上涨家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.8,0.06,0,AAA9),COLORRED;
AAA10:=STRCAT(STRCAT('创业下跌家数比 ',CON2STR(创业下跌家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.8,0.12,0,AAA10),COLORGREEN;
{行业板块的高开低收}
CCC:=HY_INDEXC;
OOO:=HY_INDEXO;
LLL:=HY_INDEXL;
HHH:=HY_INDEXH;
DRAWKLINE(HHH,OOO,LLL,CCC);
{行业板MA}
MA1:MA(CCC,1);
MA5:MA(CCC,5);
MA20:MA(CCC,20);
MA60:MA(CCC,60);
上涨:=VARCAT('行业上涨:',VAR2STR(HY_INDEXADV,0));
下跌:=VARCAT('行业下跌:',VAR2STR(HY_INDEXDEC,0));
DRAWTEXT_FIX(ISLASTBAR,0.7,0,0,上涨),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.8,0,0,下跌),COLORYELLOW;
行业涨幅%:=(C-REF(C,1))/REF(C,1)100;
行业指数:=(CCC-REF(CCC,1))100/REF(CCC,1);
DD:=STRCAT('行业指数:',CON2STR(CCC,2));
E:=STRCAT(STRCAT('行业涨跌:',CON2STR(行业指数,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,DD),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.3,0,0,E),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,HYBLOCK),COLORYELLOW;{所属行业}
DRAWTEXT_FIX(ISLASTBAR AND 指数涨幅<=行业指数,0.5,0,0,'板块强'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND 指数涨幅>行业指数,0.5,0,0,'板块弱'),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR AND 行业涨幅%>=行业指数,0.6,0,0,'个股强'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND 行业涨幅%<行业指数,0.6,0,0,'个股弱'),COLORCYAN;
DRAWTEXT_FIX(1,0.0,0.43,0,'【说明:早盘如果持有的股票:板弱、股弱。遇到急拉,坚决高抛低吸。】'),COLOR0080FF;
DRAWTEXT_FIX(1,0.0,0.50,0,'【如果板强、股弱:等待股弱转股强。如果盘中一直处于板强、股弱:坚决做T】'),COLOR0080FF;
DRAWTEXT_FIX(1,0.0,0.57,0,'【遇到板强、股强:持股不动。遇到板弱、股强:看个股量,如果放量强持股不动。如果急拉不放量,应高抛低吸】'),COLOR0080FF;
DRAWTEXT_FIX(1,0.0,0.64,0,'【遇到上涨家数迅速增加:考虑补仓或者持股不动,反之减仓。】'),COLOR0080FF;
个股强弱:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)100,COLORWHITE;
行业强弱:=(HY_INDEXC-MA(HY_INDEXC,30))/MA(HY_INDEXC,30)100,COLORYELLOW,LINETHICK2;
大盘强弱:=(INDEXC-MA(INDEXC,30))/MA(INDEXC,30)100,COLORRED,LINETHICK4;
煤炭A:=("880301C",1))/REF("880301C"-REF("880305C",1)100;
石油A:=("880310C",1))/REF("880310C"-REF("880318C",1)100;
有色A:=("880324C",1))/REF("880324C"-REF("880330C",1)100;
化工A:=("880335C",1))/REF("880335C"-REF("880344C",1)100;
造纸A:=("880350C",1))/REF("880350C"-REF("880351C",1)100;
日用化工A:=("880355C",1))/REF("880355C"-REF("880360C",1)100;
纺织服饰A:=("880367C",1))/REF("880367C"-REF("880372C",1)100;
酿酒A:=("880380C",1))/REF("880380C"-REF("880387C",1)100;
汽车类A:=("880390C",1))/REF("880390C"-REF("880398C",1)100;
家居用品A:=("880399C",1))/REF("880399C"-REF("880400C",1)100;
商业连锁A:=("880406C",1))/REF("880406C"-REF("880414C",1)100;
传媒娱乐A:=("880418C",1))/REF("880418C"-REF("880421C",1)100;
文教休闲A:=("880422C",1))/REF("880422C"-REF("880423C",1)100;
旅游A:=("880424C",1))/REF("880424C"-REF("880430C",1)100;
船舶A:=("880431C",1))/REF("880431C"-REF("880432C",1)100;
通用机械A:=("880437C",1))/REF("880437C"-REF("880440C",1)100;
电气设备A:=("880446C",1))/REF("880446C"-REF("880447C",1)100;
电器仪表A:=("880448C",1))/REF("880448C"-REF("880452C",1)100;
公共交通A:=("880453C",1))/REF("880453C"-REF("880454C",1)100;
供气供热A:=("880455C",1))/REF("880455C"-REF("880456C",1)100;
运输服务A:=("880459C",1))/REF("880459C"-REF("880464C",1)100;
交通设施A:=("880465C",1))/REF("880465C"-REF("880471C",1)100;
证券类A:=("880472C",1))/REF("880472C"-REF("880473C",1)100;
多元金融A:=("880474C",1))/REF("880474C"-REF("880476C",1)100;
房地产A:=("880482C",1))/REF("880482C"-REF("880489C",1)100;
通信设备A:=("880490C",1))/REF("880490C"-REF("880491C",1)100;
元器件A:=("880492C",1))/REF("880492C"-REF("880493C",1)100;
互联网A:=("880494C",1))/REF("880494C"-REF("880497C",1)*100;
最大值1A:=MAX(煤炭A,MAX(电力A,MAX(石油A,MAX(钢铁A,MAX(有色A,MAX(化纤A,MAX(化工A,MAX(建材A,MAX(造纸A,MAX(矿物制品A,日用化工A))))))))));
最大值2A:=MAX(农林牧渔A,MAX(纺织服饰A,MAX(食品饮料A,MAX(酿酒A,MAX(家用电器A,MAX(汽车类A,MAX(医疗保健A,MAX(家居用品A,MAX(医药A,MAX(商业连锁A,商贸代理A))))))))));
最大值3A:=MAX(传媒娱乐A,MAX(广告包装A,MAX(文教休闲A,MAX(酒店餐饮A,MAX(旅游A,MAX(航空航天A,MAX(船舶A,MAX(运输设备A,MAX(通用机械A,MAX(工业机械A,电气设备A))))))))));
最大值4A:=MAX(工程机械A,MAX(电器仪表A,MAX(电信运营A,MAX(公共交通A,MAX(水务A,MAX(供气供热A,MAX(环境保护A,MAX(运输服务A,MAX(仓储物流A,MAX(交通设施A,银行类A))))))))));
最大值5A:=MAX(证券类A,MAX(保险类A,MAX(多元金融A,MAX(建筑A,MAX(房地产A,MAX(电脑设备A,MAX(通信设备A,MAX(半导体A,MAX(元器件A,MAX(软件服务A,MAX(互联网A,综合类A)))))))))));
ZZDZ:=CONST(MAX(最大值1A,MAX(最大值2A,MAX(最大值3A,MAX(最大值4A,最大值5A)))));
DRAWTEXT_FIX(ISLASTBAR,0.2,0.9,0,' ████████████████'),COLORRED;
XSWZ1:=CONST(IF(ZZDZ-煤炭A=0 OR ZZDZ-电力A=0 OR ZZDZ-石油A=0 OR ZZDZ-钢铁A=0 OR ZZDZ-有色A=0 OR ZZDZ-化纤A=0 OR ZZDZ-化工A=0 OR ZZDZ-建材A=0 OR ZZDZ-造纸A=0 OR ZZDZ-旅游A=0 OR ZZDZ-船舶A=0 OR ZZDZ-水务A=0 OR ZZDZ-建筑A=0 OR ZZDZ-医药A=0,614,IF(ZZDZ-汽车类A=0 OR ZZDZ-银行类A=0 OR ZZDZ-证券类A=0 OR ZZDZ-保险类A=0 OR ZZDZ-房地产A=0 OR ZZDZ-半导体A=0 OR ZZDZ-元器件A=0 OR ZZDZ-互联网A=0 OR ZZDZ-综合类A=0,627,643)));
DRAWTEXT_FIX(ISLASTBAR,0.2,0.9,0,IF(ZZDZ-煤炭A=0,'【今强势板块】:煤炭行业',IF(ZZDZ-电力A=0,'【今强势板块】:电力行业',IF(ZZDZ-石油A=0,'【今强势板块】:石油行业',IF(ZZDZ-钢铁A=0,'【今强势板块】:钢铁行业',IF(ZZDZ-有色A=0,'【今强势板块】:有色行业',IF(ZZDZ-化纤A=0,'【今强势板块】:化纤行业',IF(ZZDZ-化工A=0,'【今强势板块】:化工行业',IF(ZZDZ-建材A=0,'【今强势板块】:建材行业',IF(ZZDZ-造纸A=0,'【今强势板块】:造纸行业',IF(ZZDZ-矿物制品A=0,'【今强势板块】:矿物制品',IF(ZZDZ-日用化工A=0,'【今强势板块】:日用化工',
IF(ZZDZ-农林牧渔A=0,'【今强势板块】:农林牧渔',IF(ZZDZ-纺织服饰A=0,'【今强势板块】:纺织服饰',IF(ZZDZ-食品饮料A=0,'【今强势板块】:食品饮料',IF(ZZDZ-酿酒A=0,'【今强势板块】:酿酒行业',IF(ZZDZ-家用电器A=0,'【今强势板块】:家用电器',IF(ZZDZ-汽车类A=0,'【今强势板块】:汽车行业',IF(ZZDZ-医疗保健A=0,'【今强势板块】:医疗保健',IF(ZZDZ-家居用品A=0,'【今强势板块】:家居用品',IF(ZZDZ-医药A=0,'【今强势板块】:医药行业',IF(ZZDZ-商业连锁A=0,'【今强势板块】:商业连锁',IF(ZZDZ-商贸代理A=0,'【今强势板块】:商贸代理',DRAWNULL))))))))))))))))))))))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.2,0.9,0,IF(ZZDZ-传媒娱乐A=0,'【今强势板块】:传媒娱乐',IF(ZZDZ-广告包装A=0,'【今强势板块】:广告包装',IF(ZZDZ-文教休闲A=0,'【今强势板块】:文教休闲',IF(ZZDZ-酒店餐饮A=0,'【今强势板块】:酒店餐饮',IF(ZZDZ-旅游A=0,'【今强势板块】:旅游行业',IF(ZZDZ-航空航天A=0,'【今强势板块】:航空航天',IF(ZZDZ-船舶A=0,'【今强势板块】:船舶行业',IF(ZZDZ-运输设备A=0,'【今强势板块】:运输设备',IF(ZZDZ-通用机械A=0,'【今强势板块】:通用机械',IF(ZZDZ-工业机械A=0,'【今强势板块】:工业机械',IF(ZZDZ-电气设备A=0,'【今强势板块】:电气设备',
IF(ZZDZ-工程机械A=0,'【今强势板块】:工程机械',IF(ZZDZ-电器仪表A=0,'【今强势板块】:电器仪表',IF(ZZDZ-电信运营A=0,'【今强势板块】:电信运营',IF(ZZDZ-公共交通A=0,'【今强势板块】:公共交通',IF(ZZDZ-水务A=0,'【今强势板块】:水务行业',IF(ZZDZ-供气供热A=0,'【今强势板块】:供气供热',IF(ZZDZ-环境保护A=0,'【今强势板块】:环境保护',IF(ZZDZ-运输服务A=0,'【今强势板块】:运输服务',IF(ZZDZ-仓储物流A=0,'【今强势板块】:仓储物流',IF(ZZDZ-交通设施A=0,'【今强势板块】:交通设施',
IF(ZZDZ-银行类A=0,'【今强势板块】:银行板块',IF(ZZDZ-证券类A=0,'【今强势板块】:证券板块',IF(ZZDZ-保险类A=0,'【今强势板块】:保险板块',IF(ZZDZ-多元金融A=0,'【今强势板块】:多元金融',IF(ZZDZ-建筑A=0,'【今强势板块】:建筑行业',IF(ZZDZ-房地产A=0,'【今强势板块】:房产板块',IF(ZZDZ-电脑设备A=0,'【今强势板块】:电脑设备',IF(ZZDZ-通信设备A=0,'【今强势板块】:通信设备',IF(ZZDZ-半导体A=0,'【今强势板块】:半导体类',IF(ZZDZ-元器件A=0,'【今强势板块】:元器件类',IF(ZZDZ-软件服务A=0,'【今强势板块】:软件服务',IF(ZZDZ-互联网A=0,'【今强势板块】:互联网类',IF(ZZDZ-综合类A=0,'【今强势板块】:综合板块',DRAWNULL))))))))))))))))))))))))))))))))))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.2,0,'股东统计分析:'),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.7,0.2,0,'1、前十大股东持股合计:'),COLORRED ;
环比增减1:=(FINONE(245,0,0)-FINONE(245,0,1))/FINONE(245,0,1)100;
HG111:=IF(环比增减1>0,VARCAT(VARCAT( '增加 ' ,VAR2STR( 环比增减1,2)),' % '),IF(环比增减1<0,VARCAT(VARCAT( '减少 ' ,VAR2STR(-环比增减1,2)),' % '),' '));
HGH111:=STRCAT(STRCAT('占总股本 ',STRCAT(CON2STR(FINVALUE(245)/FINVALUE(238)100,2),' % ')),STRCAT('占流通盘 ',STRCAT(CON2STR(FINVALUE(245)/FINVALUE(239)*100,2),' % ')));
SDGDCGLXFX:=IF(FINONE(245,0,0)
DRAWTEXT_FIX(ISLASTBAR,0.7,0.294,0,HGH111),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.7,0.381,0,STRCAT('较上期 ',STRCAT(HG111,SDGDCGLXFX))),COLORYELLOW;
GDRSLXZJFX:=IF(FINONE(242,0,0)
DRAWTEXT_FIX(ISLASTBAR AND ((FINVALUE(242)-FINONE(242,0,1))/FINONE(242,0,1))<=0,0.7,0.468,0,STRCAT('2、本期股东人数较上期减: ',STRCAT(CON2STR((FINVALUE(242)-FINONE(242,0,1))/FINONE(242,0,1)100,2),STRCAT(' %,',GDRSLXZJFX)))),COLORFFAAFF;
DRAWTEXT_FIX(ISLASTBAR AND ((FINVALUE(242)-FINONE(242,0,1))/FINONE(242,0,1))> 0,0.7,0.468,0,STRCAT('2、本期股东人数较上期增: ',STRCAT(CON2STR((FINVALUE(242)-FINONE(242,0,1))/FINONE(242,0,1)100,2),STRCAT(' %,',GDRSLXZJFX)))),COLORFFAA00;
HGH222:=STRCAT(STRCAT('占总股本 ',STRCAT(CON2STR(FINVALUE(247)/FINVALUE(238)100,2),' % ')),STRCAT('占流通盘 ',STRCAT(CON2STR(FINVALUE(247)/FINVALUE(239)100,2),' % ')));
JGCGLXZJFX:=IF(FINONE(247,0,0)
DRAWTEXT_FIX(ISLASTBAR,0.7,0.555,0,STRCAT('3、共 ',STRCAT(CON2STR(FINVALUE(246),0),STRCAT(' 家机构,共持有 ',STRCAT(CON2STR(FINVALUE(247)/10000,2),' 万股'))))),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.7,0.642,0,HGH222),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.7,0.729,0,STRCAT('增幅 ',STRCAT(CON2STR((FINONE(247,0,0)-FINONE(247,0,1))/FINONE(247,0,1)*100,2),STRCAT(' % ',JGCGLXZJFX)))),COLORGREEN;
环比增减3:=(FINONE(284,0,0)-FINONE(284,0,1))/FINONE(284,0,1)100;
HG333:=IF(环比增减3>0,VARCAT(VARCAT( '增加 ' ,VAR2STR( 环比增减3,2)),' % '),IF(环比增减3<0,VARCAT(VARCAT( '减少 ' ,VAR2STR(-环比增减3,2)),' % '),' '));
GJDCGLXFX:=IF(FINONE(284,0,0)
DRAWTEXT_FIX(ISLASTBAR,0.7,0.816,0,STRCAT('4、国家队持 ',STRCAT(CON2STR(FINVALUE(284),2),STRCAT(' 万股,占总股本 ',STRCAT(CON2STR(FINVALUE(284)
DRAWTEXT_FIX(ISLASTBAR,0.7,0.903,0,STRCAT('较上期 ',STRCAT(HG333,GJDCGLXFX))),COLORWHITE;
商誉数值:=FINVALUE(35)/100000000;{亿}
净资产:=FINANCE(19)/100000000,NODRAW;{亿}
雷区:商誉数值/净资产*100,COLORWHITE,NODRAW;{大于30为高风险,低于30为低风险}
DRAWRECTREL(220,380,0,310,IF(雷区<30,RGB(200,0,0),RGB(0,0,255)));
DRAWTEXT_FIX(1,0.01,0.32,0,'商誉雷区:'),COLOR00FFFF;
DRAWTEXT_FIX(1,0.09,0.32,0,STRCAT(STRCAT(CON2STR(商誉数值,2),'亿 '),IF(雷区>30,'●高风险','低风险'))),COLORWHITE;
净资产收益率:=FINANCE(33)/FINANCE(34)100,NODRAW;
每股净资产:=FINANCE(34),NODRAW;
每股未分配利润:=FINANCE(32),NODRAW;
主营收入占比:=FINANCE(20)/(FINANCE(20)+FINANCE(22)+FINANCE(24)+FINANCE(25))100,NODRAW;
每股经营现金流:=FINANCE(25)/FINANCE(1),NODRAW;
现金流利润比:=FINANCE(25)/FINANCE(29),NODRAW;
每股总现金流:=FINANCE(26)/FINANCE(1),NODRAW;
股价现金流比:=FINANCE(1)C/FINANCE(25),NODRAW;
销售毛利率:=FINANCE(21)/FINANCE(20)100,NODRAW;
价值估值PEG:(C/FINANCE(33))/(FINANCE(21)/FINANCE(20)+0.038)/100,NODRAW;
每股公积金:=FINANCE(18),NODRAW;
AB1:=IF(现金流利润比>0.5,1+现金流利润比/1000,现金流利润比/1000),NODRAW;
AB21:=IF(主营收入占比>50,1+主营收入占比/1000,主营收入占比/1000),NODRAW;
AB31:=IF(净资产收益率>5,1+净资产收益率/1000,净资产收益率/1000),NODRAW;
A41:=IF(每股净资产>1.5,1+每股净资产/100,每股净资产/100),NODRAW;
A51:=IF(股价现金流比>0 AND 股价现金流比<80,1+股价现金流比/1000,0),NODRAW;
A61:=IF(每股未分配利润>0.2,1+每股未分配利润/1000,每股未分配利润/1000),NODRAW;
A71:=IF(销售毛利率>10,1+销售毛利率/1000,销售毛利率/1000),NODRAW;
A81:=IF(价值估值PEG<1,1,0),NODRAW;
综合得分:AB1+AB21+AB31+A41+A51+A61+A71+A81,NODRAW;
DRAWTEXT_FIX(1,0.01,0.82,0,' 财务评分:')COLORRED;
DRAWTEXT_FIX(1,0.08,0.82,0, CON2STR(综合得分,3))COLOR00FFFF;
DRAWTEXT_FIX(0.9,0.82,0,0,' 财务评级:')COLORRED;
DRAWTEXT_FIX( 综合得分<5 AND 综合得分<8,0.90,0,0,'差')COLOR00FFFF;
DRAWTEXT_FIX(0.9,0.82,0,0,' 财务评级:')COLORRED;
DRAWTEXT_FIX(综合得分>=5 AND 综合得分<8,0.90,0,0,'一般')COLOR00FFFF;
DRAWTEXT_FIX( 综合得分<8.25 AND 综合得分>=8,0.90,0,0,'良好')COLOR00FFFF;
DRAWTEXT_FIX( 综合得分>8.25,0.90,0,0,'优秀')COLOR00FFFF;