通达信资金副图源码指标公式

2016-11-26 21:53:00来源:本站整理浏览:507

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.447,1,0,'小单'),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.260,0.790,0,CEILING(近3净入)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.301,0.710,0,CEILING(近3超)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.349,0.630,0,CEILING(近3大)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.397,0.550,0,CEILING(近3中)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.445,0.470,0,CEILING(近3小)),COLORYELLOW;

{5日}
DRAWRECTREL(500,0,750,999.3,IF(120,RGB(10,0,0),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.70,0.001,0,'5日'),COLORFFFFFF;
DRAWRECTREL(520,ABS(CONST(880-(ABS(近5净入)*25/DAZHI))),535,880,IF(CONST(近5净入)>0,RGB(180,0,180),RGB(000,155,000)));
DRAWRECTREL(565,ABS(CONST(880-(ABS(近5超)*25/DAZHI))),595,880,IF(CONST(近5超)>0,RGB(240,130,140),RGB(23,125,255)));
DRAWRECTREL(613,ABS(CONST(880-(ABS(近5大)*25/DAZHI))),645,880,IF(CONST(近5大)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(661,ABS(CONST(880-(ABS(近5中)*25/DAZHI))),693,880,IF(CONST(近5中)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(709,ABS(CONST(880-(ABS(近5小)*25/DAZHI))),741,876,IF(CONST(近5小)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(530,205,690,145,RGB(0,155,0));
{DRAWRECTREL(530,195,690,155,RGB(0,175,0));
DRAWRECTREL(530,185,690,165,RGB(0,195,0));
DRAWRECTREL(530,175,690,175,RGB(0,225,0));}
DRAWRECTREL(530,205,530+CONST(净流买比5*160/100),145,RGB(160,0,0));
{DRAWRECTREL(530,195,530+CONST(净流买比20*160/100),155,RGB(180,0,0));
DRAWRECTREL(530,185,530+CONST(净流买比20*160/100),165,RGB(200,0,0));
DRAWRECTREL(530,175,530+CONST(净流买比20*160/100),175,RGB(230,0,0));}
DRAWTEXT_FIX(1,0.55,0.01,0,STRCAT(STRCAT('净流买比',CON2STR(净流买比5,2)),'%')),COLORYELLOW;
DRAWRECTREL(610,205,610,145,RGB(250,250,0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.520,1,0,'净流'),COLORFFFFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.565,1,0,'超大'),COLOR00FFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.618,1,0,'大单'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.666,1,0,'中单'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.710,1,0,'小单'),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.520,0.79,0,CEILING(近5净入)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.565,0.71,0,CEILING(近5超)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.613,0.63,0,CEILING(近5大)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.661,0.55,0,CEILING(近5中)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.709,0.470,0,CEILING(近5小)),COLORYELLOW;

{10日}
DRAWRECTREL(750,0,1001,999.3,IF(120,RGB(10,0,0),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.95,0.001,0,'10日'),COLORFFFFFF;
DRAWRECTREL(770,ABS(CONST(880-(ABS(近10净入)*25/DAZHI))),785,880,IF(CONST(近10净入)>0,RGB(180,0,180),RGB(000,155,000)));
DRAWRECTREL(815,ABS(CONST(880-(ABS(近10超)*25/DAZHI))),845,880,IF(CONST(近10超)>0,RGB(240,130,140),RGB(23,125,255)));
DRAWRECTREL(863,ABS(CONST(880-(ABS(近10大)*25/DAZHI))),895,880,IF(CONST(近10大)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(911,ABS(CONST(880-(ABS(近10中)*25/DAZHI))),943,880,IF(CONST(近10中)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(959,ABS(CONST(880-(ABS(近10小)*25/DAZHI))),991,876,IF(CONST(近10小)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(800,205,960,145,RGB(0,155,0));
{DRAWRECTREL(800,195,960,155,RGB(0,175,0));
DRAWRECTREL(800,185,960,165,RGB(0,195,0));
DRAWRECTREL(800,175,960,175,RGB(0,225,0));}
DRAWRECTREL(800,205,800+CONST(净流买比10*160/100),145,RGB(160,0,0));
{DRAWRECTREL(800,195,800+CONST(净流买比20*160/100),155,RGB(180,0,0));
DRAWRECTREL(800,185,800+CONST(净流买比20*160/100),165,RGB(200,0,0));
DRAWRECTREL(800,175,800+CONST(净流买比20*160/100),175,RGB(230,0,0));}
DRAWTEXT_FIX(1,0.80,0.01,0,STRCAT(STRCAT('净流买比',CON2STR(净流买比10,2)),'%')),COLORYELLOW;
DRAWRECTREL(880,205,880,145,RGB(250,250,0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.770,1,0,'净流'),COLORFFFFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.815,1,0,'超大'),COLOR00FFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.863,1,0,'大单'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.911,1,0,'中单'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.959,1,0,'小单'),COLORGREEN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.770,0.79,0,CEILING(近10净入)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.815,0.71,0,CEILING(近10超)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.863,0.63,0,CEILING(近10大)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.911,0.55,0,CEILING(近10中)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.959,0.470,0,CEILING(近10小)),COLORYELLOW;
 


 


上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式