年份:=20;{2020年就是20 2021就是21 以此类推}
第一季18:=FINONE(232,年份-2,331)/10000;
第二季18:=FINONE(232,年份-2,630)/10000;
第三季18:=FINONE(232,年份-2,930)/10000;
第四季18:=FINONE(232,年份-2,1231)/10000;
第一季18扣:=FINONE(233,年份-2,331)/10000;
第二季18扣:=FINONE(233,年份-2,630)/10000;
第三季18扣:=FINONE(233,年份-2,930)/10000;
第四季18扣:=FINONE(233,年份-2,1231)/10000;
DRAWTEXT_FIX(ISLASTBAR,0.60,0,0,STRCAT(CON2STR(年份-2,0),’ 年’)),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.60,0.5,0,’扣非’),COLORRED;
STICKLINE(CURRBARSCOUNT=74 AND 第一季18>=0,0,第一季18,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=74 AND 第一季18<0,0,Abs(第一季18),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.10,0,STRCAT(‘[一季度] ‘,STRCAT(CON2STR(第一季18,2),’万元’))),COLORLIGRAY;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.60,0,STRCAT(‘[一季度] ‘,STRCAT(CON2STR(第一季18扣,2),’万元’))),COLORLIGRAY;
STICKLINE(CURRBARSCOUNT=73 AND 第二季18>=0,0,第二季18,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=73 AND 第二季18<0,0,ABS(第二季18),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.20,0,STRCAT(‘[二季度] ‘,STRCAT(CON2STR(第二季18,2),’万元’))),COLORLIGRAY;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.70,0,STRCAT(‘[二季度] ‘,STRCAT(CON2STR(第二季18扣,2),’万元’))),COLORLIGRAY;
STICKLINE(CURRBARSCOUNT=72 AND 第三季18>=0,0,第三季18,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=72 AND 第三季18<0,0,ABS(第三季18),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.30,0,STRCAT(‘[三季度] ‘,STRCAT(CON2STR(第三季18,2),’万元’))),COLORLIGRAY;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.80,0,STRCAT(‘[三季度] ‘,STRCAT(CON2STR(第三季18扣,2),’万元’))),COLORLIGRAY;
STICKLINE(CURRBARSCOUNT=71 AND 第四季18>=0,0,第四季18,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=71 AND 第四季18<0,0,ABS(第四季18),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.40,0,STRCAT(‘[四季度] ‘,STRCAT(CON2STR(第四季18,2),’万元’))),COLORLIGRAY;
DRAWTEXT_FIX(ISLASTBAR,0.55,0.90,0,STRCAT(‘[四季度] ‘,STRCAT(CON2STR(第四季18扣,2),’万元’))),COLORLIGRAY;
第一季19:=FINONE(232,年份-1,331)/10000;
第二季19:=FINONE(232,年份-1,630)/10000;
第三季19:=FINONE(232,年份-1,930)/10000;
第四季19:=FINONE(232,年份-1,1231)/10000;
第一季19扣:=FINONE(233,年份-1,331)/10000;
第二季19扣:=FINONE(233,年份-1,630)/10000;
第三季19扣:=FINONE(233,年份-1,930)/10000;
第四季19扣:=FINONE(233,年份-1,1231)/10000;
DRAWTEXT_FIX(ISLASTBAR,0.75,0,0,STRCAT(CON2STR(年份-1,0),’ 年’)),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.75,0.5,0,’扣非’),COLORRED;
STICKLINE(CURRBARSCOUNT=69 AND 第一季19>=0,0,第一季19,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=69 AND 第一季19<0,0,ABS(第一季19),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.10,0,STRCAT(‘[一季度] ‘,STRCAT(CON2STR(第一季19,2),’万元’))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.60,0,STRCAT(‘[一季度] ‘,STRCAT(CON2STR(第一季19扣,2),’万元’))),COLORWHITE;
STICKLINE(CURRBARSCOUNT=68 AND 第二季19>=0,0,第二季19,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=68 AND 第二季19<0,0,ABS(第二季19),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.20,0,STRCAT(‘[二季度] ‘,STRCAT(CON2STR(第二季19,2),’万元’))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.70,0,STRCAT(‘[二季度] ‘,STRCAT(CON2STR(第二季19扣,2),’万元’))),COLORWHITE;
STICKLINE(CURRBARSCOUNT=67 AND 第三季19>=0,0,第三季19,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=67 AND 第三季19<0,0,ABS(第三季19),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.30,0,STRCAT(‘[三季度] ‘,STRCAT(CON2STR(第三季19,2),’万元’))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.80,0,STRCAT(‘[三季度] ‘,STRCAT(CON2STR(第三季19扣,2),’万元’))),COLORWHITE;
STICKLINE(CURRBARSCOUNT=66 AND 第四季19>=0,0,第四季19,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=66 AND 第四季19<0,0,ABS(第四季19),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.40,0,STRCAT(‘[四季度] ‘,STRCAT(CON2STR(第四季19,2),’万元’))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.90,0,STRCAT(‘[四季度] ‘,STRCAT(CON2STR(第四季19扣,2),’万元’))),COLORWHITE;
第一季20:=FINONE(232,年份,331)/10000;
第二季20:=FINONE(232,年份,630)/10000;
第三季20:=FINONE(232,年份,930)/10000;
第四季20:=FINONE(232,年份,1231)/10000;
第一季20扣:=FINONE(233,年份,331)/10000;
第二季20扣:=FINONE(233,年份,630)/10000;
第三季20扣:=FINONE(233,年份,930)/10000;
第四季20扣:=FINONE(233,年份,1231)/10000;
DRAWTEXT_FIX(ISLASTBAR,0.9,0,0,STRCAT(CON2STR(年份,0),’ 年’)),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.9,0.5,0,’扣非’),COLORRED;
STICKLINE(CURRBARSCOUNT=64 AND 第一季20>=0,0,第一季20,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=64 AND 第一季20<0,0,ABS(第一季20),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.85,0.10,0,STRCAT(‘[一季度] ‘,STRCAT(CON2STR(第一季20,2),’万元’))),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.85,0.60,0,STRCAT(‘[一季度] ‘,STRCAT(CON2STR(第一季20扣,2),’万元’))),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=63 AND 第二季20>=0,0,第二季20,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=63 AND 第二季20<0,0,ABS(第二季20),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.85,0.20,0,STRCAT(‘[二季度] ‘,STRCAT(CON2STR(第二季20,2),’万元’))),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.85,0.70,0,STRCAT(‘[二季度] ‘,STRCAT(CON2STR(第二季20扣,2),’万元’))),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=62 AND 第三季20>=0,0,第三季20,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=62 AND 第三季20<0,0,ABS(第三季20),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.85,0.30,0,STRCAT(‘[三季度] ‘,STRCAT(CON2STR(第三季20,2),’万元’))),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.85,0.80,0,STRCAT(‘[三季度] ‘,STRCAT(CON2STR(第三季20扣,2),’万元’))),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=61 AND 第四季20>=0,0,第四季20,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=61 AND 第四季20<0,0,ABS(第四季20),2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.85,0.40,0,STRCAT(‘[四季度] ‘,STRCAT(CON2STR(第四季20,2),’万元’))),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.85,0.90,0,STRCAT(‘[四季度] ‘,STRCAT(CON2STR(第四季20扣,2),’万元’))),COLORYELLOW;
机构总家数:=FINONE(246,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(‘[机构总数] ‘,STRCAT(CON2STR(机构总家数,0),’ 家’))),COLORYELLOW;
机构占比:=100*FINVALUE(247)/FINVALUE(239);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.0,0,STRCAT(‘[机构占比] ‘,STRCAT(CON2STR(机构占比,2),’ %’))),COLORYELLOW;
QFII:=FINONE(248,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0.1,0,STRCAT(‘[QFII外资] ‘,STRCAT(CON2STR(QFII,0),’ 家’))),COLORYELLOW;
QFII占比:=100*FINVALUE(249)/FINVALUE(239);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.1,0,STRCAT(‘[QFII占比] ‘,STRCAT(CON2STR(QFII占比,2),’ %’))),COLORYELLOW;
券商:=FINONE(250,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0.2,0,STRCAT(‘[证券券商] ‘,STRCAT(CON2STR(券商,0),’ 家’))),COLORYELLOW;
券商占比:=100*FINVALUE(251)/FINVALUE(239);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.2,0,STRCAT(‘[券商占比] ‘,STRCAT(CON2STR(券商占比,2),’ %’))),COLORYELLOW;
保险:=FINONE(252,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0.3,0,STRCAT(‘[保险家数] ‘,STRCAT(CON2STR(保险,0),’ 家’))),COLORYELLOW;
保险占比:=100*FINVALUE(253)/FINVALUE(239);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.3,0,STRCAT(‘[保险占比] ‘,STRCAT(CON2STR(保险占比,2),’ %’))),COLORYELLOW;
基金:=FINONE(254,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0.4,0,STRCAT(‘[基金家数] ‘,STRCAT(CON2STR(基金,0),’ 家’))),COLORYELLOW;
基金占比:=100*FINVALUE(255)/FINVALUE(239);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.4,0,STRCAT(‘[基金占比] ‘,STRCAT(CON2STR(基金占比,2),’ %’))),COLORYELLOW;
社保:=FINONE(256,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0.5,0,STRCAT(‘[社保家数] ‘,STRCAT(CON2STR(社保,0),’ 家’))),COLORYELLOW;
社保占比:=100*FINVALUE(257)/FINVALUE(239);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.5,0,STRCAT(‘[社保占比] ‘,STRCAT(CON2STR(社保占比,2),’ %’))),COLORYELLOW;
私募:=FINONE(258,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0.6,0,STRCAT(‘[私募家数] ‘,STRCAT(CON2STR(私募,0),’ 家’))),COLORYELLOW;
私募占比:=100*FINVALUE(259)/FINVALUE(239);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.6,0,STRCAT(‘[私募占比] ‘,STRCAT(CON2STR(私募占比,2),’ %’))),COLORYELLOW;
年金:=FINONE(262,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0.7,0,STRCAT(‘[年金家数] ‘,STRCAT(CON2STR(年金,0),’ 家’))),COLORYELLOW;
银行:=FINONE(272,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0.8,0,STRCAT(‘[银行家数] ‘,STRCAT(CON2STR(银行,0),’ 家’))),COLORYELLOW;
信托:=FINONE(277,0,0);
DRAWTEXT_FIX(ISLASTBAR,0,0.9,0,STRCAT(‘[信托家数] ‘,STRCAT(CON2STR(信托,0),’ 家’))),COLORYELLOW;
财务公司:=FINONE(260,0,0);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.7,0,STRCAT(‘[财务公司] ‘,STRCAT(CON2STR(财务公司,0),’ 家’))),COLORYELLOW;
一般法人:=FINONE(274,0,0);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.8,0,STRCAT(‘[一般法人] ‘,STRCAT(CON2STR(一般法人,0),’ 人’))),COLORYELLOW;
特殊法人:=FINONE(279,0,0);
DRAWTEXT_FIX(ISLASTBAR,0.1,0.9,0,STRCAT(‘[特殊法人] ‘,STRCAT(CON2STR(特殊法人,0),’ 人’))),COLORYELLOW;
国家队持股数量:=FINONE(284,0,0);
DRAWTEXT_FIX(ISLASTBAR,0.25,0.5,0,STRCAT(‘[国家队持股] ‘,STRCAT(CON2STR(国家队持股数量,0),’ 股’))),COLORYELLOW;

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