这个公式,可以把最近10日的资金进出,用图标的形式,清楚明了显示出来。
{资金出入表}
总额:=AMOUNT;
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:=买/AMOUNT*100;
流入:=AMOUNT*买%/10000000000;
流出:=AMOUNT/100000000-流入;
净流:=流入-流出;
总额3:=SUM(AMOUNT,3);
流入3:=SUM(流入,3);
流出3:=SUM(流出,3);
净流3:=SUM(流入-流出,3);
总额5:=SUM(AMOUNT,5);
流入5:=SUM(流入,5);
流出5:=SUM(流出,5);
净流5:=SUM(流入-流出,5);
总额10:=SUM(AMOUNT,10);
流入10:=SUM(流入,10);
流出10:=SUM(流出,10);
净流10:=SUM(流入-流出,10);
画:=CONST(FINDHIGH(总额10,0,190,1));
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,30,0),ABS(画),DRAWNULL),RGB(0,30,50),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,25,24),CONST(总额),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,24,23),CONST(流入*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,23,22),CONST(流出*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,19,18),CONST(总额3),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,18,17),CONST(流入3*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,17,16),CONST(流出3*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,13,12),CONST(总额5),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,12,11),CONST(流入5*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,11,10),CONST(流出5*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,7,6),CONST(总额10),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,6,5),CONST(流入10*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,5,4),CONST(流出10*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
DRAWTEXT(CURRBARSCOUNT=30,画*0.81,'总额(亿)'),COLOR000999;
DRAWTEXT(CURRBARSCOUNT=30,画*0.70,'流入(亿)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=30,画*0.59,'流出(亿)'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=30,画*0.48,'净流(亿)'),COLOR0099FF;
DRAWTEXT(CURRBARSCOUNT=25,画*0.92,'1 日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=19,画*0.92,'3 日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=13,画*0.92,'5 日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=7,画*0.92,'10 日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=28,画*0.015,'(一)'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=21,画*0.015,'(三)'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=14,画*0.015,'(五)'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=7,画*0.015,'(十)'),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,画*0.84,CONST(总额/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,画*0.73,CONST(流入)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,画*0.62,CONST(流出)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,画*0.51,CONST(净流)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,画*0.84,CONST(总额3/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,画*0.73,CONST(流入3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,画*0.62,CONST(流出3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,画*0.51,CONST(净流3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=13,画*0.84,CONST(总额5/100000000)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,画*0.73,CONST(流入5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,画*0.62,CONST(流出5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,画*0.51,CONST(净流5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=7,画*0.84,CONST(总额10/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,画*0.73,CONST(流入10)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,画*0.62,CONST(流出10)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,画*0.51,CONST(净流10)),COLORYELLOW;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!