资金分布(通达信公式 副图 源码 测试图)
平安主图,赏心悦目非常漂亮的主图,需要L2支持才可以显示,
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.260,0.790,0,CEILING(近40净入)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.301,0.710,0,CEILING(近40超)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.349,0.630,0,CEILING(近40大)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.397,0.550,0,CEILING(近40中)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.445,0.470,0,CEILING(近40小)),COLORYELLOW;
{ 50 }
DRAWRECTREL(500,0,750,999.3,IF(120,RGB(10,0,0),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.70,0.001,0,'50日'),COLORFFFFFF;
DRAWRECTREL(520,ABS(CONST(880-(ABS(近50净入)*25/DAZHI))),535,880,IF(CONST(近50净入)>0,RGB(180,0,180),RGB(000,155,000)));
DRAWRECTREL(565,ABS(CONST(880-(ABS(近50超)*25/DAZHI))),595,880,IF(CONST(近50超)>0,RGB(240,130,140),RGB(23,125,255)));
DRAWRECTREL(613,ABS(CONST(880-(ABS(近50大)*25/DAZHI))),645,880,IF(CONST(近50大)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(661,ABS(CONST(880-(ABS(近50中)*25/DAZHI))),693,880,IF(CONST(近50中)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(709,ABS(CONST(880-(ABS(近50小)*25/DAZHI))),741,876,IF(CONST(近50小)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(530,205,690,145,RGB(0,155,0));
DRAWRECTREL(530,205,530+CONST(净流买比50*160/100),145,RGB(160,0,0));
DRAWTEXT_FIX(1,0.55,0.01,0,STRCAT(STRCAT('净流买比',CON2STR(净流买比50,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(近50净入)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.565,0.71,0,CEILING(近50超)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.613,0.63,0,CEILING(近50大)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.661,0.55,0,CEILING(近50中)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.709,0.470,0,CEILING(近50小)),COLORYELLOW;
{ 60 }
DRAWRECTREL(750,0,1001,999.3,IF(120,RGB(10,0,0),0));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.95,0.001,0,'60日'),COLORFFFFFF;
DRAWRECTREL(770,ABS(CONST(880-(ABS(近60净入)*25/DAZHI))),785,880,IF(CONST(近60净入)>0,RGB(180,0,180),RGB(000,155,000)));
DRAWRECTREL(815,ABS(CONST(880-(ABS(近60超)*25/DAZHI))),845,880,IF(CONST(近60超)>0,RGB(240,130,140),RGB(23,125,255)));
DRAWRECTREL(863,ABS(CONST(880-(ABS(近60大)*25/DAZHI))),895,880,IF(CONST(近60大)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(911,ABS(CONST(880-(ABS(近60中)*25/DAZHI))),943,880,IF(CONST(近60中)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(959,ABS(CONST(880-(ABS(近60小)*25/DAZHI))),991,876,IF(CONST(近60小)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(800,205,960,145,RGB(0,155,0));
DRAWRECTREL(800,205,800+CONST(净流买比60*160/100),145,RGB(160,0,0));
DRAWTEXT_FIX(1,0.80,0.01,0,STRCAT(STRCAT('净流买比',CON2STR(净流买比60,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(近60净入)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.815,0.71,0,CEILING(近60超)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.863,0.63,0,CEILING(近60大)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.911,0.55,0,CEILING(近60中)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.959,0.470,0,CEILING(近60小)),COLORYELLOW;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!