通达信资金流量对比副图指标 指标由资金总额曲线和柱状线组成 源码 贴图
2024-07-25 09:36:00来源:本站整理浏览:938
指标介绍:指标由资金总额曲线和柱状线组成,直观的显示1、3、5、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;{公式网WWW.GPXIAZAI.COM}
流进:=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);
CTA:=CONST(FINDHIGH(总额10,0,190,1));
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,30,0),ABS(CTA),DRAWNULL),RGB(0,30,50),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,27,26),CONST(总额),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,26,25),CONST(流进*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,25,24),CONST(流出*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,20,19),CONST(总额3),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,19,18),CONST(流进3*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,18,17),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,6,5),CONST(总额10),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,5,4),CONST(流进10*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,4,3),CONST(流出10*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.89,'总额亿'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.78,'流进亿'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.67,'流出亿'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.57,'净流亿'),COLOR0099FF;
DRAWTEXT(CURRBARSCOUNT=24,CTA*0.95,'1日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=18,CTA*0.95,'3日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=12,CTA*0.95,'5日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=6,CTA*0.95,'10日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.015,'(一)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=23,CTA*0.015,'(三)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=16,CTA*0.015,'(五)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=9,CTA*0.015,'(十)'),COLORMAGENTA;
DRAWNUMBER(CURRBARSCOUNT=25,CTA*0.89,CONST(总额/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,CTA*0.78,CONST(流进)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,CTA*0.67,CONST(流出)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,CTA*0.56,CONST(净流)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,CTA*0.89,CONST(总额3/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,CTA*0.78,CONST(流进3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,CTA*0.67,CONST(流出3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,CTA*0.56,CONST(净流3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=13,CTA*0.89,CONST(总额5/100000000)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,CTA*0.78,CONST(流进5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,CTA*0.67,CONST(流出5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,CTA*0.56,CONST(净流5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=7,CTA*0.89,CONST(总额10/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,CTA*0.78,CONST(流进10)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,CTA*0.67,CONST(流出10)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,CTA*0.56,CONST(净流10)),COLORYELLOW;
买:=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;{公式网WWW.GPXIAZAI.COM}
流进:=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);
CTA:=CONST(FINDHIGH(总额10,0,190,1));
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,30,0),ABS(CTA),DRAWNULL),RGB(0,30,50),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,27,26),CONST(总额),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,26,25),CONST(流进*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,25,24),CONST(流出*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,20,19),CONST(总额3),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,19,18),CONST(流进3*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,18,17),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,6,5),CONST(总额10),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,5,4),CONST(流进10*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL);
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,4,3),CONST(流出10*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.89,'总额亿'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.78,'流进亿'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.67,'流出亿'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.57,'净流亿'),COLOR0099FF;
DRAWTEXT(CURRBARSCOUNT=24,CTA*0.95,'1日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=18,CTA*0.95,'3日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=12,CTA*0.95,'5日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=6,CTA*0.95,'10日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=30,CTA*0.015,'(一)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=23,CTA*0.015,'(三)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=16,CTA*0.015,'(五)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=9,CTA*0.015,'(十)'),COLORMAGENTA;
DRAWNUMBER(CURRBARSCOUNT=25,CTA*0.89,CONST(总额/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,CTA*0.78,CONST(流进)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,CTA*0.67,CONST(流出)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,CTA*0.56,CONST(净流)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,CTA*0.89,CONST(总额3/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,CTA*0.78,CONST(流进3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,CTA*0.67,CONST(流出3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,CTA*0.56,CONST(净流3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=13,CTA*0.89,CONST(总额5/100000000)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,CTA*0.78,CONST(流进5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,CTA*0.67,CONST(流出5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,CTA*0.56,CONST(净流5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=7,CTA*0.89,CONST(总额10/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,CTA*0.78,CONST(流进10)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,CTA*0.67,CONST(流出10)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,CTA*0.56,CONST(净流10)),COLORYELLOW;
- 上一篇公式:通达信连板打妖选股指标 竞价抓妖是博弈涨停 源码 贴图
- 下一篇公式:通达信主力吸筹启动副图指标 源码 贴图