通达信十大股东副图指标 贴图
DRAWTEXT_FIX(ISLASTBAR,0.738,0.65,0,EXTERNSTR(0,174)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.738,0.84,0,EXTERNSTR(0,175)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.03,0,'★第九股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.83,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH182/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.83,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH183,1)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.83,0.65,0,EXTERNSTR(0,184)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.83,0.84,0,EXTERNSTR(0,185)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.923,0.03,0,'★第十股东★'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.923,0.27,0,STRCAT(STRCAT(' ',CON2STR(SH192/10000000,1)),'(万手)')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.923,0.46,0,STRCAT(STRCAT(' ',CON2STR(SH193,1)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.923,0.65,0,EXTERNSTR(0,194)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.923,0.84,0,EXTERNSTR(0,195)),COLORMAGENTA;
{参数设置}
AS:=SH103+SH113+SH123+SH133+SH143+SH153+SH163+SH173+SH183+SH193;
起点:=75;
均分:=起点/140;
{画柱状线}
{DRAWRECTREL(948,30,968,955,RGB(150,10,250));
DRAWRECTREL(918,115,938,955,RGB(150,10,250));
DRAWRECTREL(918,CONST(SH103/100*(955-0)),938,955,RGB(0,100,0));
DRAWRECTREL(948,CONST((AS-SH103)/100*(955-0)),968,955,RGB(0,100,0));
DRAWRECTREL(948,CONST((955-115)-SH102/100),968,955,RGB(0,100,0));
DRAWRECTREL(918,CONST((955-115)-SH112/FINANCE(1)),938,955,RGB(0,100,0));
DRAWRECTREL(888,CONST((955-115)-SH132/FINANCE(1)),908,955,RGB(0,100,0))};
{STICKLINE(CURR=起点-ROUND(92*均分),10.5,SH143+11,18,0),COLORFFFFFF;
STICKLINE(CURR=起点-ROUND(103*均分),10.5,SH133+11,18,0),COLORLIMAGENTA;
STICKLINE(CURR=起点-ROUND(114*均分),10.5,SH123+11,18,0),COLORLIMAGENTA;
STICKLINE(CURR=起点-ROUND(125*均分),10.5,SH113+11,18,0),COLOR18A4FF;
STICKLINE(CURR=起点-ROUND(136*均分),10.5,SH103+11,18,0),COLORFFFFFF;
STICKLINE(CURR=起点-ROUND(92*均分),10.5,SH193+11,18,0),COLOR00FF00;
STICKLINE(CURR=起点-ROUND(103*均分),10.5,SH183+11,18,0),COLOR00FF00;
STICKLINE(CURR=起点-ROUND(114*均分),10.5,SH173+11,18,0),COLOR00FF00;
STICKLINE(CURR=起点-ROUND(125*均分),10.5,SH163+11,18,0),COLOR00FF00;
STICKLINE(CURR=起点-ROUND(136*均分),10.5,SH153+11,18,0),COLOR880088};
{数字}
{DRAWNUMBER(CURR=起点-ROUND(61*均分),SH193+15,SH193),COLORRED;
DRAWNUMBER(CURR=起点-ROUND(70*均分),SH183+15,SH183),COLORRED;
DRAWNUMBER(CURR=起点-ROUND(78*均分),SH173+15,SH173),COLOR9732F6;
DRAWNUMBER(CURR=起点-ROUND(86*均分),SH163+15,SH163),COLORYELLOW;
DRAWNUMBER(CURR=起点-ROUND(84*均分),SH153+15,SH153),COLOR880088;
DRAWNUMBER(CURR=起点-ROUND(101*均分),SH143+15,SH143),COLORCYAN;
DRAWNUMBER(CURR=起点-ROUND(109*均分),SH133+15,SH133),COLOR00FF00;
DRAWNUMBER(CURR=起点-ROUND(116*均分),SH123+15,SH123),COLORLIMAGENTA;
DRAWNUMBER(CURR=起点-ROUND(124*均分),SH113+15,SH113),COLOR18A4FF;
DRAWNUMBER(CURR=起点-ROUND(131*均分),SH103+15,SH103),COLORWHITE};
{分类:=
IF(CURR=起点-ROUND(61*均分),'第十',
IF(CURR=起点-ROUND(71*均分),'第九',
IF(CURR=起点-ROUND(79*均分),'第八',
IF(CURR=起点-ROUND(85*均分),'第七',
IF(CURR=起点-ROUND(95*均分),'第六',
IF(CURR=起点-ROUND(102*均分),'第五',
IF(CURR=起点-ROUND(110*均分),'第四',
IF(CURR=起点-ROUND(118*均分),' 第三',
IF(CURR=起点-ROUND(125*均分),' 第二 ',
IF(CURR=起点-ROUND(132*均分),'第一',DRAWNULL))))))))))};
{画文字}
{DRAWTEXT(CURR=起点-ROUND(61*均分),8,分类),COLOR00FF00;
DRAWTEXT(CURR=起点-ROUND(71*均分),8,分类),COLORRED;
DRAWTEXT(CURR=起点-ROUND(79*均分),8,分类),COLOR9732F6;
DRAWTEXT(CURR=起点-ROUND(85*均分),8,分类),COLORYELLOW;
DRAWTEXT(CURR=起点-ROUND(95*均分),8,分类),COLOR880088;
DRAWTEXT(CURR=起点-ROUND(102*均分),8,分类),COLORCYAN;
DRAWTEXT(CURR=起点-ROUND(109*均分),8,分类),COLOR00FF00;
DRAWTEXT(CURR=起点-ROUND(118*均分),8,分类),COLORLIMAGENTA;
DRAWTEXT(CURR=起点-ROUND(125*均分),8,分类),COLOR18A4FF;
DRAWTEXT(CURR=起点-ROUND(132*均分),8,分类),COLORWHITE};
{STICKLINE(CURR=起点-ROUND(60*均分) OR CURR=起点-ROUND(138*均分)
,MAX(20*(小户/ZZ),20*(A1000WP/总价))+13.5,5,0,0),COLORCYAN};
{STICKLINE(CURR=起点-ROUND(61*均分) OR CURR=起点-ROUND(60*均分)
,MAX(SH103,SH103)+15.5,5,0,0),COLORCYAN};
- 上一篇公式:通达信波段王副图指标 贴图
- 下一篇公式:通达信突破前高选股源码 贴图