DRAWGBK(C>0, RGB(0,0,0),RGB(0,10,10),0,'123',0);{渐变背景} AAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主买:IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2)),POINTDOT,COLORRED; 主卖:=IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AAA*(HIGH-LOW),0-VOL /2)),LINETHICK0,COLORGREEN; 换手率%:VOL/CAPITAL*100,POINTDOT,COLORWHITE; 净流:主买-主卖,NODRAW; LS_JW:=(CLOSE+2*LOW+HIGH)/4; 力道:=(LS_JW-MA(CLOSE,20)),LINETHICK2,COLORWHITE; STICKLINE(力道>0 ,0,VOL,3,1),COLORRED; STICKLINE(力道<0,0,VOL,3,1),COLORGREEN; 做多:STICKLINE(主买>0,0,主买,3,0),COLORRED; STICKLINE(主买>0,0,主买,2.5,0),COLOR000077; STICKLINE(主买>0,0,主买,2,0),COLOR000099; STICKLINE(主买>0,0,主买,1.5,0),COLOR0000BB; 做空:STICKLINE(力道<0 AND 主买>0,0,主买,3,0),COLORGREEN; STICKLINE(力道<0 AND 主买>0,0,主买,2.5,0),COLOR004400; STICKLINE(力道<0 AND 主买>0,0,主买,2,0),COLOR007700; STICKLINE(力道<0 AND 主买>0,0,主买,1.5,0),COLOR009900; 五日量:MA(V,5); 三五日:MA(VOL,35),COLORWHITE; 一三五日:MA(VOL,135),COLORYELLOW; {} DRAWRECTREL(0,0,285,999.2,IF(120,RGB(0,10,10),0)); 超B:=L2_AMO(0,2)/10000.0; 大B:=L2_AMO(1,2)/10000.0; 中B:=L2_AMO(2,2)/10000.0; 小B:=L2_AMO(3,2)/10000.0; 超S:=L2_AMO(0,3)/10000.0; 大S:=L2_AMO(1,3)/10000.0; 中S:=L2_AMO(2,3)/10000.0; 小S:=L2_AMO(3,3)/10000.0; TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0); 净流入:=(超B+大B+中B+小B)-(超S+大S+中S+小S); 超大单:=(超B)-(超S); 大单:=(大B)-(大S); 中单:=(中B)-(中S); 小单:=(小B)-(小S); DAZHI:=CONST(MAX(ABS(净流入),MAX(ABS(超大单),MAX(ABS(大单),MAX(ABS(中单),ABS(小单)))))),NODRAW; DRAWRECTREL(0,CONST(880-(ABS(净流入)*500/DAZHI)),50,880,IF(CONST(净流入)>0,RGB(255,0,0),RGB(23,125,255))); DRAWRECTREL(58,CONST(880-(ABS(超大单)*500/DAZHI)),108,880,IF(CONST(超大单)>0,RGB(102,0,204),RGB(23,125,255))); DRAWRECTREL(116,CONST(880-(ABS(大单)*500/DAZHI)),166,880,IF(CONST(大单)>0,RGB(255,0,0),RGB(23,125,255))); DRAWRECTREL(174,CONST(880-(ABS(中单)*500/DAZHI)),224,880,IF(CONST(中单)>0,RGB(255,0,0),RGB(23,125,255))); DRAWRECTREL(232,CONST(880-(ABS(小单)*500/DAZHI)),282,880,IF(CONST(小单)>0,RGB(255,0,0),RGB(0,128,0))); DRAWTEXT_FIX(CURRBARSCOUNT=1,0.002,1,0,'净流入'),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.060,1,0,'超大单'),COLOR660099; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.126,1,0,'大单'),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.181,1,0,'中单'),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.241,1,0,'小单'),COLORGREEN; {DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0,0.001,0,'单位(万元)'),COLORYELLOW;} DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'资金博弈今日分类持仓 单位(万元)'),COLORYELLOW; {M:=0.53;M1:=0.33;}M:=0.58;M1:=0.39; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.001,0.790,0,CEILING(净流入)); DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.059,0.790,0,CEILING(超大单)); DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.116,0.790,0,CEILING(大单)); DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.175,0.790,0,CEILING(中单)); DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.232,0.790,0,CEILING(小单)); {} 总流入比:=(超B+大B+中B+小B)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW; DRAWRECTREL(50,110,285,55,RGB(0,100,0)); DRAWRECTREL(50,110,160,55,RGB(0,250,50)); DRAWRECTREL(50,110,90+CONST(总流入比*160/100),55,RGB(175,50,250)); DRAWTEXT_FIX(1,0.00,0.06,0,STRCAT(STRCAT('资金流入比 ',CON2STR(总流入比,2)),' %')),COLORYELLOW; 大单流入:=(超B+大B)/(超B+大B+超S+大S)*100,NODRAW; 大单流入限制:=IF((超B+大B+超S+大S)=0,0,大单流入); DRAWRECTREL(50,175,285,120,RGB(0,100,0)); DRAWRECTREL(50,175,160,120,RGB(0,250,50)); DRAWRECTREL(50,175,120+CONST(大单流入限制*160/100),120,RGB(200,0,50)); DRAWTEXT_FIX(1,0.00,0.12,0,STRCAT(STRCAT('大单流入比 ',CON2STR(大单流入限制,2)),' %买')),COLORYELLOW; 成交总量:=(超B+大B+中B+小B+超S+大S+中S+小S),NODRAW; 机构参与度:=(超B+超S+大B+大S)/成交总量*100,COLORYELLOW,NODRAW; DRAWRECTREL(50,240,285,191,RGB(0,100,0)); DRAWRECTREL(50,240,285,191,RGB(0,250,50)); DRAWRECTREL(50,240,60+CONST(机构参与度*160/100),191,RGB(200,0,50)); DRAWTEXT_FIX(1,0.00,0.19,0,STRCAT(STRCAT('机构参与度 ',CON2STR(机构参与度,2)),' %')),COLORYELLOW; 主买A:=ACTINVOL,COLORRED,NODRAW; 主卖A:=ACTOUTVOL,COLORGREEN,NODRAW; 主买C:=主买A*100/(主买A+主卖A),NODRAW,COLORRED; DRAWRECTREL(50,305,285,255,RGB(0,75,200)); DRAWRECTREL(50,305,160,255,RGB(0,250,50)); DRAWRECTREL(50,305,30+CONST(主买C*300/100),255,RGB(175,50,250)); DRAWTEXT_FIX(1,0.00,0.25,0,STRCAT(STRCAT('主动买卖比',CON2STR(主买C,2)),' %')),COLORYELLOW; |
- 软件大小:2.00 KB
- 推荐星级:
- 更新时间:2013-02-23 17:17:37
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!