{人數占比}
流通股:=FINVALUE(239),COLORWHITE;
總股本:=FINANCE(1);
{商譽:FINVALUE(35);}
總量:=FINVALUE(246);
國家隊數量:=FINVALUE(248);
業績預告:=FINVALUE(284);
第一股東持股數:=FINVALUE(243),COLORYELLOW;
十大股東持股計:=FINVALUE(244),COLORGREEN;{245}
第一占比:=(第一股東持股數/總股本)*100,COLORMAGENTA;
十東占比:=(十大股東持股計/總股本)*100,COLORCYAN;
DRAWTEXT_FIX(1,0.9,0.6,0,'天下智慧皆舍得'),COLORCYAN;
人數:=FINVALUE(242),COLORCYAN;
T1:=BARSLAST(人數>REF(人數,1));
連降:=SUM(人數[ T2:=BARSLAST(人數<>REF(人數,1));
]
人數變化:=REF(人數,T2)/REF(人數,T2+1)*100-100,NODRAW;{幅度};
連降幅度:=IF(連降>=1,人數/REF(人數,T1)*100-100,0),NODRAW;
人均持股:FINVALUE(239)/FINVALUE(242),COLORRED;
持股變化:=REF(人均持股,T2)/REF(人均持股,T2+1)*100-100,COLORRED,NODRAW;{幅度};
集中度:=(FINVALUE(239)/FINVALUE(242))/FINVALUE(239)*10000,COLORRED,NODRAW;
DRAWTEXT(人數[ DRAWTEXT(人數][=3,人數,VAR2STR(連降,0)),COLORMAGENTA;
]
NOTEXT:IF(連降>=4,人數,DRAWNULL),COLORCYAN;
{股東人數變化列表}
流通A股:=FINONE(239,0,0);
前期機構占比:=FINONE(247,0,331)/總股本*100;
本期機構占比:=FINONE(247,0,0)/總股本*100;
機構持股增減:=本期機構占比-前期機構占比;
前期股東占比:=FINONE(264,0,331)/總股本*100;
本期股東占比:=FINONE(264,0,0)/總股本*100;
股東持股增減:=本期股東占比-前期股東占比,COLORFFFFFF;
前股東人數:=FINONE(242,0,331);
本股東人數:=FINVALUE(242);{FINONE(242,0,0)}
持股人數增減:=(本股東人數-前股東人數)/前股東人數*100;
前期機構家:=FINONE(246,0,331);
本期機構家:=FINVALUE(246);{FINONE(246,0,0)}
商譽:=IF(FINVALUE(35)<0,1,FINVALUE(35)/100000000);{億}
淨資産:=FINANCE(19)/100000000,NODRAW;{億}
雷區:商譽/淨資産*100,COLORWHITE,NODRAW;{大于30為高風險,低于30為低風險}
{風險系數}
X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;
X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈餘公積用資本公積金代替}
X3:=FINANCE(23)/FINANCE(10)*3.3;
X4:=FINANCE(19)/FINANCE(15)*0.6;{缺長期負債或負債總額}
X5:=FINANCE(20)/FINANCE(15)*0.999;
Z值:(X1+X2+X3+X4+X5),COLORCYAN,NODRAW;
DRAWRECTREL(990,150,500,050,IF(( 雷區>30 OR Z值<1.2 ),RGB(0,0,225),RGB(225,0,0)));
DRAWTEXT_FIX(1,0.88,0.06,1,'财務:'),COLORYELLOW;
DRAWTEXT_FIX(Z值<1.2,0.87,0.11,1,' ●重 警●'),COLORYELLOW;
DRAWTEXT_FIX( BETWEEN(Z值,1.2,2.6),0.87,0.11,1,' ○輕 警○'),COLOR0099FF;
DRAWTEXT_FIX(Z值>2.6,0.87,0.11,1,' ◎無 警◎'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.55,0.09,0,'商譽雷區:'),COLOR00FFFF;
DRAWTEXT_FIX(1,0.59,0.09,0,STRCAT(STRCAT(CON2STR(雷區,2),'億 '),IF(雷區>30,'●高風險','低風險'))),COLORWHITE;
DRAWTEXT_FIX(1,0.0,0.05,0,STRCAT('流通股:',CON2STR(流通股,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.05,0,STRCAT('總股本:',CON2STR(總股本,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.30,0.05,0,STRCAT('商譽:',CON2STR(商譽,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.40,0.05,0,STRCAT('淨資産:',CON2STR(淨資産,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.0,0.10,0,STRCAT('機構總量:',CON2STR(機構總量,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.10,0,STRCAT('國家隊持股數量:',CON2STR(國家隊持股數量,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.0,0.30,0,STRCAT('第一股東持股數:',CON2STR(第一股東持股數,2))),COLORCYAN;
DRAWTEXT_FIX(1,0.15,0.30,0,STRCAT('第一占比:',CON2STR(第一占比,2))),COLORRED;
DRAWTEXT_FIX(1,0.0,0.35,0,STRCAT('十大股東持股計:',CON2STR(十大股東持股計,2))),COLORCYAN;
DRAWTEXT_FIX(1,0.15,0.35,0,STRCAT('十東占比:',CON2STR(十東占比,2))),COLORRED;
DRAWTEXT_FIX(1,0.0,0.45,0,STRCAT('人數:',CON2STR(人數,0))),COLORWHITE;
DRAWTEXT_FIX(1,0.15,0.45,0,STRCAT('人數變化:',CON2STR(人數變化,2))),COLORWHITE;
DRAWTEXT_FIX(1,0.30,0.45,0,STRCAT('連降幅度:',CON2STR(連降幅度,2))),COLORWHITE;
DRAWTEXT_FIX(1,0.00,0.50,0,STRCAT('人均持股:',CON2STR(人均持股,2))),COLORRED;
DRAWTEXT_FIX(1,0.15,0.50,0,STRCAT('持股變化:',CON2STR(持股變化,2))),COLORWHITE;
DRAWTEXT_FIX(1,0.30,0.50,0,STRCAT('集中度:',CON2STR(集中度,2))),COLORRED;
DRAWTEXT_FIX(1,0.0,0.15,0,STRCAT('前期機構持股占比:',CON2STR(前期機構占比,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.15,0,STRCAT('本期機構持股占比:',CON2STR(本期機構占比,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.20,0,STRCAT('前期 機構(家):',CON2STR(前期機構家,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.20,0,STRCAT('本期 機構(家):',CON2STR(本期機構家,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.30,0.20,0,STRCAT('機構持股占比增減:',CON2STR(機構持股增減,2))),COLORRED;
DRAWTEXT_FIX(1,0.30,0.35,0,STRCAT('前期十大流東股東持股占比:',CON2STR(前期股東占比,2))),COLORCYAN;
DRAWTEXT_FIX(1,0.50,0.35,0,STRCAT('本期十大流東股東持股占比:',CON2STR(本期股東占比,2))),COLORCYAN;
DRAWTEXT_FIX(1,0.70,0.35,0,STRCAT('十大流東股東持股占比增減:',CON2STR(股東持股增減,2))),COLORRED;
DRAWTEXT_FIX(1,0.0,0.55,0,STRCAT('前股東人數:',CON2STR(前股東人數,0))),COLORWHITE;
DRAWTEXT_FIX(1,0.15,0.55,0,STRCAT('本股東人數:',CON2STR(本股東人數,0))),COLORWHITE;
DRAWTEXT_FIX(1,0.30,0.55,0,STRCAT('持股人數增減比:',CON2STR(持股人數增減,2))),COLORRED;
{}
主力籌碼估算:=EMA(WINNER(CLOSE)*70,3),NODRAW,LINETHICK0;
籌碼估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;
散戶套牢比率:=散戶籌碼估算/(主力籌碼估算+散戶籌碼估算)*100,NODRAW;
主力比率:=主力籌碼估算/(主力籌碼估算+散戶籌碼估算)*100,NODRAW,LINETHICK0;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.64,0,'■ 主力籌碼估算:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.17,0.64,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.12,0.64,0,主力籌碼估算),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.30,0.64,0,'■ 主力控盤比率:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.45,0.64,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.40,0.64,0,主力控盤比率),COLORRED;
{三參數條}
LC:=REF(CLOSE,1);
W:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
獲利籌碼:=CONST(WINNER(C)*100);
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
飽和:=(IF(SAT>1,1,SAT)*100);
WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;
活躍:=(WRSI-WR10);
活躍度比:=IF(活躍>=0,(活躍+100)/2,100-ABS((活躍-100)/2));
DRAWTEXT_FIX(1,0.74,0.70,1,STRCAT(STRCAT('量能飽和: ',CON2STR(量能飽和,2)),'%')),COLORYELLOW;
DRAWTEXT_FIX(1,0.74,0.80,1,STRCAT(STRCAT('活躍度比: ',CON2STR(活躍度比,2)),'%')),COLORYELLOW;
DRAWTEXT_FIX(1,0.74,0.90,1,STRCAT(STRCAT('獲利籌碼: ',CON2STR(獲利籌碼,2)),'%')),COLORYELLOW;
DRAWRECTREL(970,770,80,740,RGB(150,10,250));
DRAWRECTREL(970,870,80,840,RGB(150,10,250));
DRAWRECTREL(970,970,80,940,RGB(150,10,250));
DRAWRECTREL(970,770,80+CONST(量能飽和*(970-80)/100),740,RGB(0,100,0));
DRAWRECTREL(970,870,80+CONST(活躍度比*(970-80)/100),840,RGB(0,100,0));
DRAWRECTREL(970,970,80+CONST(獲利籌碼*(970-80)/100),940,RGB(0,100,0));
{}
品種類型:=FINANCE(3);
所屬:=HYBLOCK;
上市天數:=FINANCE(42);
{股總市值:=ROUND(FINANCE(41)/100000000);}
流通盤:=(CAPITAL/1000000);
流通市值:=ROUND(FINANCE(40)/100000000);
股東人數戶:=FINANCE(8);
人均持股股:=FINVALUE(239)/FINVALUE(242);{ROUND(FINANCE(7)/FINANCE(8))}
總市值:=FINANCE(41);
{DRAWTEXT_FIX(1,0.14,0.45,1,'總市值:'),COLORYELLOW;}
DRAWTEXT_FIX(1,0.05,0.0,1,'品種類型:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.0,1,'所屬闆塊:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.25,0.0,1,'上市天數:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.35,0.0,1,'流通盤:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.45,0.0,1,'流通市值:'),COLORYELLOW;
{DRAWTEXT_FIX(1,0.69,0.0,1,'股東人數戶:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.85,0.0,1,'人均持股股:'),COLORYELLOW;}
DRAWTEXT_FIX(1,0.19,0.0,1,HYBLOCK),COLORLIGREEN;
DRAWNUMBER_FIX(1,0.27,0.0,1,上市天數),COLORWHITE;
DRAWNUMBER_FIX(1,0.37,0.0,1,流通盤),COLORWHITE;
DRAWNUMBER_FIX(1,0.47,0.0,1,流通市值),COLORWHITE;
{DRAWNUMBER_FIX(1,0.75,0.0,1,股東人數戶),COLORWHITE;
DRAWNUMBER_FIX(1,0.89,0.0,1,人均持股股),COLORWHITE;}
DRAWTEXT_FIX(1,0.30,0.0,1,'天'),COLORCYAN;
DRAWTEXT_FIX(1,0.40,0.0,1,'億元'),COLORCYAN;
DRAWTEXT_FIX(1,0.50,0.0,1,'億元'),COLORCYAN;
{DRAWTEXT_FIX(1,0.77,0.0,1,'人'),COLORCYAN;
DRAWTEXT_FIX(1,0.92,0.0,1,'股'),COLORCYAN;}
DRAWTEXT_FIX(品種類型=1,0.09,0.0,1,'滬 深 A 股'),COLORMAGENTA;
DRAWTEXT_FIX(品種類型=2,0.09,0.0,1,' 中 小 闆'),COLORMAGENTA;
DRAWTEXT_FIX(品種類型=3,0.09,0.0,1,' 創 業 闆'),COLORMAGENTA;
淨資收益率:=(FINANCE(33)/FINANCE(34)*100);
銷售毛利率:=CONST(((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(41)/100000000,NODRAW;
淨資産2:=FINANCE(34),NODRAW;
銷淨利率:=FINVALUE(199),NODRAW;
淨利潤(萬):=FINANCE(30)/10000,NODRAW;
淨利增長率:=FINVALUE(184),NODRAW;
市淨率:=CONST(DYNAINFO(7) / FINANCE(34));
市銷率:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));
{每股收益季:=CONST(FINANCE(33)/(5-FINANCE(37)));}
每股收益:=CONST(FINANCE(38));{最近一期}
每股現金流:=CONST((FINANCE(25)/FINANCE(1)));
每股未分配:=CONST(FINANCE(32));
每股公積金:=CONST(FINANCE(18));
市盈率:=CONST(C/FINANCE(33));
{-----優秀-------}
ER1:=淨資收益率>=13.58;
ER2:=主營利潤率>=22.4;
ER5:=淨利潤比率>=19.42;
SAX1:=每股收益>=0.175;
SAX4:=每股未分配>=2.57;
SAX5:=每股公積金>=3.53;
DP3:=銷售毛利率>=49.13;
ZL:=IF((EMA(WINNER(CLOSE)*70,3))>41 AND ISLASTBAR,1,0);
優秀:=ER1 AND ER2 AND ER5 AND SAX1
AND SAX4 AND SAX5 AND DP3 AND ZL ;
DRAWTEXT_FIX(1,0.97,0.06,1,'基本面評估:'),COLORYELLOW;
DRAWTEXT_FIX(優秀 AND ISLASTBAR,0.95,0.11,1,'優秀'),COLORYELLOW;
{較好}
ER12:=淨資收益率<13.59 AND 淨資收益率>6.23;
ER22:=主營利潤率>=8.34;
ER52:=淨利潤比率>=7.31;
SAX12:= 每股收益>=0.061;
SAX42:=每股未分配>=1.185;
SAX52:=每股公積金>1.62;
DP32:=銷售毛利率>=28.68;
ZL1:=IF((EMA(WINNER(CLOSE)*70,3))>=11.26 AND ISLASTBAR,1,0);
較好:=ER12 AND ER22 AND ER52 AND SAX12
AND SAX42 AND SAX52 AND DP32 AND ZL1;
DRAWTEXT_FIX(較好 AND ISLASTBAR,0.95,0.11,1,'較好'),COLORYELLOW;
{指标偏低}
ER偏低:=淨資收益率<=0.27;
ER2偏低:=主營利潤率<=-1.27;
ER3偏低:=淨利潤比率<=0.34;
SAX偏低:=每股收益<=0.002;
SAX2偏低:=每股未分配<=0.26;
SAX3偏低:=每股公積金<=0.39;
DP偏低:=銷售毛利率<=4.2;{排名後100}
ZL偏低:=IF(((EMA(WINNER(CLOSE)*70,3))<2.81 AND ISLASTBAR),1,0);
偏低:=IF((ER偏低 OR ER2偏低 OR ER3偏低 OR SAX偏低
OR SAX2偏低 OR SAX3偏低 OR DP偏低 OR ZL偏低) AND ISLASTBAR=1,1,0) ;
DRAWTEXT_FIX( 偏低 AND ISLASTBAR=1 ,0.97,0.20,1,'有些指數偏低'),COLORYELLOW;
{一般};
一般:=IF((較好!=1 AND 優秀!=1 AND ZL偏低!=1 AND ISLASTBAR=1),1,0);
DRAWTEXT_FIX(一般 AND ISLASTBAR=1,0.95,0.11,1,'一般'),COLORYELLOW;
SY17:=每股未分配>=2 AND 每股公積金>=2;
SY18:=每股未分配<2 OR 每股公積金<2;
DRAWTEXT_FIX(SY17,0.68,0.09,0,'是否具備高送轉潛力:是!'),COLORYELLOW;
DRAWTEXT_FIX(SY18,0.68,0.09,0,'是否具備高送轉潛力:否!'),COLORGREEN;
股東人數:FINVALUE(242),COLORCYAN,LINETHICK5;
股東人均持股:FINVALUE(239)/FINVALUE(242),COLORRED,LINETHICK5;
有話要說...