通达信十大股东副图指标 贴图
本指标需要十大股东自定义数据
{个股DDX}
DRAWRECTREL(0,0,998,998,RGB(0,0,10));
DRAWRECTREL(92,0,907,998,RGB(0,0,10));
DRAWRECTREL(182,0,816,998,RGB(0,0,10));
DRAWRECTREL(272,0,725,998,RGB(0,0,10));
DRAWRECTREL(362,0,634,998,RGB(0,0,10));
DRAWRECTREL(452,0,543,998,RGB(0,0,10));
DRAWRECTREL(0,200,998,200,RGB(255,255,0));
DRAWRECTREL(0,400,998,400,RGB(255,255,0));
DRAWRECTREL(0,600,998,600,RGB(255,255,0));
DRAWRECTREL(0,800,998,800,RGB(255,255,0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.03,0.03,0,'项 目'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.27,0,'持股数'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.46,0,'占流通股比'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.65,0,'股东性质'),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.84,0,'增减情况'),COLORGREEN;
{DRAWGBK(C>0, RGB(0,0,10),RGB(0,0,10),0,'',0)};
SH:=FINANCE(1)/10000,NODRAW;
SH102:=SIGNALS_USER(102,1),COLORMAGENTA,NODRAW;
SH103:=SIGNALS_USER(103,1),COLORMAGENTA,NODRAW;
SH112:=SIGNALS_USER(112,1);
SH113:=SIGNALS_USER(113,1);
SH122:=SIGNALS_USER(122,1);
SH123:=SIGNALS_USER(123,1);{十大股东持股数量}
SH132:=SIGNALS_USER(132,1);
SH133:=SIGNALS_USER(133,1);{机构持仓持股数量}
SH142:=SIGNALS_USER(142,1);
SH143:=SIGNALS_USER(143,1);
SH152:=SIGNALS_USER(152,1);
SH153:=SIGNALS_USER(153,1);
SH162:=SIGNALS_USER(162,1);
SH163:=SIGNALS_USER(163,1);{前十大流通股东持股数量}
SH172:=SIGNALS_USER(172,1);
SH173:=SIGNALS_USER(173,1);{十大股东持股数量}
SH182:=SIGNALS_USER(182,1);
SH183:=SIGNALS_USER(183,1);{机构持仓持股数量}
SH192:=SIGNALS_USER(192,1);
SH193:=SIGNALS_USER(193,1);{十大股东持股数量}
CURR:=CURRBARSCOUNT;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.105,0.03,0,'★第一股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.105,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH102/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.105,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH103,1)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.105,0.65,0,EXTERNSTR(0,104)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.105,0.84,0,EXTERNSTR(0,105)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.197,0.03,0,'★第二股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.197,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH112/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.197,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH113,1)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.197,0.65,0,EXTERNSTR(0,114)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.197,0.84,0,EXTERNSTR(0,115)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.287,0.03,0,'★第三股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.287,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH122/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.287,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH123,1)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.287,0.65,0,EXTERNSTR(0,124)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.287,0.84,0,EXTERNSTR(0,125)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.377,0.03,0,'★第四股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.377,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH132/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.377,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH133,1)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.377,0.65,0,EXTERNSTR(0,134)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.377,0.84,0,EXTERNSTR(0,135)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.467,0.03,0,'★第五股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.467,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH142/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.467,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH143,1)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.467,0.65,0,EXTERNSTR(0,144)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.467,0.84,0,EXTERNSTR(0,145)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.56,0.03,0,'★第六股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.56,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH152/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.56,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH153,1)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.56,0.65,0,EXTERNSTR(0,154)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.56,0.84,0,EXTERNSTR(0,155)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.645,0.03,0,'★第七股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.645,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH162/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.645,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH163,1)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.645,0.65,0,EXTERNSTR(0,164)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.645,0.84,0,EXTERNSTR(0,165)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.738,0.03,0,'★第八股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.738,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH172/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.738,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH173,1)),'%')),COLORMAGENTA;
- 上一篇公式:通达信波段王副图指标 贴图
- 下一篇公式:通达信突破前高选股源码 贴图