• 18976542384

    工作时间

    周一至周五:9:00-21:00

    周末及节日:9:00-18:00

  • 手机版二维码

    手机快速找资源

  • 扫描二维码

    加入官方qq群

股东人数技术指标源码

15
回复
1848
查看
[复制链接]

1

主题

4

回帖

24

积分

新手上路

Rank: 1

积分
24
发表于 2023-4-21 14:13:05 | 显示全部楼层 |阅读模式
{股东人数占比}
流通股:=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(人数<REF(人数,1),T1+1),NODRAW;
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(人数<REF(人数,1),人数,VAR2STR(连降,0)),COLORWHITE;
DRAWTEXT(人数<REF(人数,1) AND 连降>=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);
WRSI:=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;

彩虹桥-投资充电站

回复

使用道具 举报

0

主题

11

回帖

34

积分

新手上路

Rank: 1

积分
34
发表于 2023-6-5 20:10:12 | 显示全部楼层
路过,帮顶一下!
回复

使用道具 举报

0

主题

10

回帖

32

积分

新手上路

Rank: 1

积分
32
发表于 2023-6-8 13:56:11 | 显示全部楼层
好贴不能沉!
回复

使用道具 举报

0

主题

9

回帖

29

积分

新手上路

Rank: 1

积分
29
发表于 2023-6-19 20:03:13 | 显示全部楼层
群众力量就是大,分享万岁!
回复

使用道具 举报

0

主题

17

回帖

44

积分

新手上路

Rank: 1

积分
44
发表于 2023-6-29 16:39:38 | 显示全部楼层
thanks for the sharing!
回复

使用道具 举报

0

主题

14

回帖

40

积分

新手上路

Rank: 1

积分
40
发表于 2023-7-5 12:44:39 | 显示全部楼层
好好 学习了 确实不错
回复

使用道具 举报

0

主题

12

回帖

37

积分

新手上路

Rank: 1

积分
37
发表于 2023-7-14 08:14:39 | 显示全部楼层
路过,学习下
回复

使用道具 举报

0

主题

11

回帖

35

积分

新手上路

Rank: 1

积分
35
发表于 2023-7-29 03:51:43 | 显示全部楼层
一切尽在不言中,谢谢!
回复

使用道具 举报

0

主题

8

回帖

26

积分

新手上路

Rank: 1

积分
26
发表于 2023-8-23 23:09:33 | 显示全部楼层
good!vevy good!
回复

使用道具 举报

0

主题

6

回帖

22

积分

新手上路

Rank: 1

积分
22
发表于 2023-9-16 01:38:51 | 显示全部楼层
有道理。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

全国统一客服电话
18976542384

24x7小时免费咨询

  • 官方在线客服

    QQ客服:股海浪子

    点击交谈

    QQ客服:beyond

    点击交谈

    QQ客服:明月

    点击交谈
  • 广东省深圳市福田区深南大道2012号

  • 添加客服微信

    可领取网站任一指标一个

  • 加入指标qq分享群

    免费领取资源

Powered by Discuz!X3.4 ©2001-2013 Comsenz Inc.彩虹桥投资充电站( 粤ICP备19084539号 )|网站地图