当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:能在分时主图上显示大单买卖和小单买卖的柱形图(代码及图)
软件名称:[B]能在分时主图上显示大单买卖和小单买卖的柱形图(代码及图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2013-06-27 02:11:36
软件简介:
实量:=SUM(VOL,FROMOPEN); 虚拟量:=实量/240*FROMOPEN; SZB:=实量/10000; XZB:=虚拟量/10000; DRAWRECTREL(500,CONST(100-XZB)*1000/100,530,1000,RGB(0,0,0)); DRAWRECTREL(500,CONST(100-SZB)*1000/100,530,1000,90); 大单买:=SUM(IF(CLOSE>=REF(CLOSE,1) AND VOL>=500,VOL,0),FROMOPEN); 大单卖:=SUM(IF(CLOSE<REF(CLOSE,1) AND VOL>=500,VOL,0),FROMOPEN); ZB1:=大单买/实量*100; ZB2:=大单卖/实量*100; DRAWRECTREL(530,CONST(100-ZB1)*1000/100,560,1000,90); DRAWRECTREL(560,CONST(100-ZB2)*1000/100,590,1000,RGB(0,255,0)); DRAWTEXT_FIX(1,0.500,0.20,0,STRCAT(STRCAT('【大单买】',CON2STR(ZB1,2)),'%')),COLORYELLOW; DRAWTEXT_FIX(1,0.500,0.30,0,STRCAT(STRCAT('【大单卖】',CON2STR(ZB2,2)),'%')),COLORYELLOW; 小单买:=SUM(IF(CLOSE>=REF(CLOSE,1) AND VOL<500,VOL,0),FROMOPEN); 小单卖:=SUM(IF(CLOSE<REF(CLOSE,1) AND VOL<500,VOL,0),FROMOPEN); ZB3:=小单买/实量*100; ZB4:=小单卖/实量*100; DRAWRECTREL(590,CONST(100-ZB3)*1000/100,620,1000,90); DRAWRECTREL(620,CONST(100-ZB4)*1000/100,650,1000,RGB(0,255,0)); DRAWTEXT_FIX(1,0.600,0.40,0,STRCAT(STRCAT('【小单买】',CON2STR(ZB3,2)),'%')),COLORYELLOW; DRAWTEXT_FIX(1,0.600,0.50,0,STRCAT(STRCAT('【小单卖】',CON2STR(ZB4,2)),'%')),COLORYELLOW; 均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW; 现价:C,COLORWHITE; DRAWTEXT_FIX(1,0.450,0.80,0,STRCAT(STRCAT('【实量】',CON2STR(实量/10000,2)),'万')),COLORYELLOW; DRAWTEXT_FIX(1,0.450,0.60,0,STRCAT(STRCAT('【虚拟量】',CON2STR(虚拟量/10000,2)),'万')),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-56588.html]能在分时主图上显示大单买卖和小单买卖的柱形图(代码及图)[/url]