使用前请务必了解如下事项:
1、本指标引用同花顺系统的官方数据,自动跟随同花顺更新,无需人工操作。
2、为了避免显示数字太多而产生重叠,“人均持股”及其“较上期变化”被隐藏到三角形里面,鼠标移到三角形上即可显示查看。绿数字是“股东人数”,如图上的数字被阻挡看不清楚,可把鼠标移到它上面,自然会在顶部显示出来。
3、实际流通市值同样引用同花顺官方数据,一般说是比较准确的,请自己验证。
4、有时绿色数字后面会出现一个"☆",表示此前至少有1次期间官方没有公布数据。
5、只要把k线稍向前移动,“股东明细”便会自动消失,便于观察股东人数变化历史。
--大牙书生2016.09.22
本次日期:=repdate(&gdzs,1,0);
上次日期:=repdate(&gdzs,2,0);
本次人数:=gdzs;
上次人数:=lastrep(&gdzs,2);
人均持股:=shgzg/本次人数;
人数变比:=100*(本次人数/上次人数-1);
人均持股变比:=100*(上次人数/本次人数-1);
公告中断:=if(counttime(上次日期,date,3)>25,'☆','');
con1:=gdzs!=ref(gdzs,1);
polyline(con1,gdzs);
/*以下为股东人数字符显示位置定位的一系列判断,避免数字和线重叠*/
t1:=gdzs!=ref(gdzs,1);/*股东人数变动日*/
t2:=if(t1,if(refx(&gdzs,1)!=gdzs,1,if(refx(&gdzs,2)!=gdzs,2,if(refx(&gdzs,3)!=gdzs,3,
if(refx(&gdzs,4)!=gdzs,4,if(refx(&gdzs,5)!=gdzs,5,if(refx(&gdzs,6)!=gdzs,6,if(refx(&gdzs,7)!=gdzs,7,
if(refx(&gdzs,8)!=gdzs,8,if(refx(&gdzs,9)!=gdzs,9,if(refx(&gdzs,10)!=gdzs,10,if(refx(&gdzs,11)!=gdzs,11,
if(refx(&gdzs,12)!=gdzs,12,0)))))))))))),0);/*在人数变动日判断下一个变动日离现在的天数*/
t3:=(refx(&gdzs,t2)-gdzs);
t4:=if(t3>0,0.95,1.05);
drawtext(con1,t4*gdzs,'←'+tostring(gdzs,0)+公告中断),colorgreen;
tiptext(con1,gdzs,tostring(人均持股,0)+'股,较上期变动'+tostring(人均持股变比,0)+'%'),colorgray;
鼠标所在:tostring(gdzs,0)+'人(较上期变动'+人数变比+'%'+')';
实际流通市值:if(islastbar,tostring(zyltgb*c/100000000,2)+'亿元',null);
温馨提示:if(islastbar,null,'▲鼠标移到今天k线位置才能显示实际流通市值 ▲k线图往右移动一点可以隐藏左侧的股东明细 ▲鼠标停留在白色“△”上可显示人均持股数据');
/*股东名称*/
drawtext_fix(islastbar,0.01,0,0,strmid(ltgdmc1,0,58)),rgb(255,255,255);
drawtext_fix(islastbar,0.01,0.10,0,strmid(ltgdmc2,0,58)),rgb(255,255,255);
drawtext_fix(islastbar,0.01,0.20,0,strmid(ltgdmc3,0,58)),rgb(255,255,255);
drawtext_fix(islastbar,0.01,0.30,0,strmid(ltgdmc4,0,58)),rgb(255,255,255);
drawtext_fix(islastbar,0.01,0.40,0,strmid(ltgdmc5,0,58)),rgb(255,255,255);
drawtext_fix(islastbar,0.01,0.50,0,strmid(ltgdmc6,0,58)),rgb(255,255,255);
drawtext_fix(islastbar,0.01,0.60,0,strmid(ltgdmc7,0,58)),rgb(255,255,255);
drawtext_fix(islastbar,0.01,0.70,0,strmid(ltgdmc8,0,58)),rgb(255,255,255);
drawtext_fix(islastbar,0.01,0.80,0,strmid(ltgdmc9,0,58)),rgb(255,255,255);
drawtext_fix(islastbar,0.01,0.90,0,strmid(ltgdmc10,0,58)),rgb(255,255,255);
/*持股占比*/
drawtext_fix(islastbar,0.35,0,1,tostring(ltcgs1/shgzg*100,2)+'%'),rgb(255,255,255);
drawtext_fix(islastbar,0.35,0.10,1,tostring(ltcgs2/shgzg*100,2)+'%'),rgb(255,255,255);
drawtext_fix(islastbar,0.35,0.20,1,tostring(ltcgs3/shgzg*100,2)+'%'),rgb(255,255,255);
drawtext_fix(islastbar,0.35,0.30,1,tostring(ltcgs4/shgzg*100,2)+'%'),rgb(255,255,255);
drawtext_fix(islastbar,0.35,0.40,1,tostring(ltcgs5/shgzg*100,2)+'%'),rgb(255,255,255);
drawtext_fix(islastbar,0.35,0.50,1,tostring(ltcgs6/shgzg*100,2)+'%'),rgb(255,255,255);
drawtext_fix(islastbar,0.35,0.60,1,tostring(ltcgs7/shgzg*100,2)+'%'),rgb(255,255,255);
drawtext_fix(islastbar,0.35,0.70,1,tostring(ltcgs8/shgzg*100,2)+'%'),rgb(255,255,255);
drawtext_fix(islastbar,0.35,0.80,1,tostring(ltcgs9/shgzg*100,2)+'%'),rgb(255,255,255);
drawtext_fix(islastbar,0.35,0.90,1,tostring(ltcgs10/shgzg*100,2)+'%'),rgb(255,255,255);
/*持股变化*/
drawtext_fix(islastbar and lastrep(<gdmc1,2)=ltgdmc1,0.36,0,0,'变'+tostring((ltcgs1-lastrep(<cgs1,2))/lastrep(<cgs1,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc1,2)!=ltgdmc1,0.36,0,0,'新进'),rgb(255,255,255);
drawtext_fix(islastbar and lastrep(<gdmc2,2)=ltgdmc2,0.36,0.10,0,'变'+tostring((ltcgs2-lastrep(<cgs2,2))/lastrep(<cgs2,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc2,2)!=ltgdmc2,0.36,0.10,0,'新进'),rgb(255,255,255);
drawtext_fix(islastbar and lastrep(<gdmc3,2)=ltgdmc3,0.36,0.20,0,'变'+tostring((ltcgs3-lastrep(<cgs3,2))/lastrep(<cgs3,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc3,2)!=ltgdmc3,0.36,0.20,0,'新进'),rgb(255,255,255);
drawtext_fix(islastbar and lastrep(<gdmc4,2)=ltgdmc4,0.36,0.30,0,'变'+tostring((ltcgs4-lastrep(<cgs4,2))/lastrep(<cgs4,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc4,2)!=ltgdmc4,0.36,0.30,0,'新进'),rgb(255,255,255);
drawtext_fix(islastbar and lastrep(<gdmc5,2)=ltgdmc5,0.36,0.40,0,'变'+tostring((ltcgs5-lastrep(<cgs5,2))/lastrep(<cgs5,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc5,2)!=ltgdmc5,0.36,0.40,0,'新进'),rgb(255,255,255);
drawtext_fix(islastbar and lastrep(<gdmc6,2)=ltgdmc6,0.36,0.50,0,'变'+tostring((ltcgs6-lastrep(<cgs6,2))/lastrep(<cgs6,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc6,2)!=ltgdmc6,0.36,0.50,0,'新进'),rgb(255,255,255);
drawtext_fix(islastbar and lastrep(<gdmc7,2)=ltgdmc7,0.36,0.60,0,'变'+tostring((ltcgs7-lastrep(<cgs7,2))/lastrep(<cgs7,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc7,2)!=ltgdmc7,0.36,0.60,0,'新进'),rgb(255,255,255);
drawtext_fix(islastbar and lastrep(<gdmc8,2)=ltgdmc8,0.36,0.70,0,'变'+tostring((ltcgs8-lastrep(<cgs8,2))/lastrep(<cgs8,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc8,2)!=ltgdmc8,0.36,0.70,0,'新进'),rgb(255,255,255);
drawtext_fix(islastbar and lastrep(<gdmc9,2)=ltgdmc9,0.36,0.80,0,'变'+tostring((ltcgs9-lastrep(<cgs9,2))/lastrep(<cgs9,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc9,2)!=ltgdmc9,0.36,0.80,0,'新进'),rgb(255,255,255);
drawtext_fix(islastbar and lastrep(<gdmc10,2)=ltgdmc10,0.36,0.90,0,'变'+tostring((ltcgs10-lastrep(<cgs10,2))/lastrep(<cgs10,2)*100,0)+'%'),rgb(255,255,255);drawtext_fix(islastbar and lastrep(<gdmc10,2)!=ltgdmc10,0.36,0.90,0,'新进'),rgb(255,255,255);
上一指标公式:敢死MACD指标公式详解 同花顺敢死
下一指标公式:逍遥资金出入指标公式详解 同花顺逍遥资金
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文大牙股东人数大屏指标公式详解 同花顺股东人数仅供学习研究。