资金流量图表记录资金流入流出
总额:=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);
GS:=CONST(FINDHIGH(总额10,0,190,1));
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,30,0),ABS(GS),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,GS*0.89,'总额亿'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=30,GS*0.78,'流进亿'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=30,GS*0.67,'流出亿'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=30,GS*0.57,'净流亿'),COLOR0099FF;
DRAWTEXT(CURRBARSCOUNT=24,GS*0.95,'1日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=18,GS*0.95,'3日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=12,GS*0.95,'5日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=6,GS*0.95,'10日'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=30,GS*0.015,'(一)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=23,GS*0.015,'(三)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=16,GS*0.015,'(五)'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=9,GS*0.015,'(十)'),COLORMAGENTA;
DRAWNUMBER(CURRBARSCOUNT=25,GS*0.89,CONST(总额/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,GS*0.78,CONST(流进)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,GS*0.67,CONST(流出)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=25,GS*0.56,CONST(净流)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,GS*0.89,CONST(总额3/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,GS*0.78,CONST(流进3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,GS*0.67,CONST(流出3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=19,GS*0.56,CONST(净流3)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=13,GS*0.89,CONST(总额5/100000000)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,GS*0.78,CONST(流进5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,GS*0.67,CONST(流出5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=13,GS*0.56,CONST(净流5)), COLORDDFFFF;
DRAWNUMBER(CURRBARSCOUNT=7,GS*0.89,CONST(总额10/100000000)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,GS*0.78,CONST(流进10)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,GS*0.67,CONST(流出10)),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=7,GS*0.56,CONST(净流10)),COLORYELLOW;
未来函数检测结果如下:
该公式包含未来函数:DHIGH
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
总额赋值:成交额
买赋值:IF(O=C AND (C-1日前的C)/1日前的C*100>9.8,成交额,成交额/((H-L)*2-O-C的绝对值)*(C-L))
买%:=买/成交额*100
流进赋值:成交额*买%/10000000000
流出赋值:成交额/100000000-流进
净流赋值:流进-流出
总额3:=3的成交额日累和
流进3:=3的流进日累和
流出3:=3的流出日累和
净流3:=3的流进-流出日累和
总额5:=5的成交额日累和
流进5:=5的流进日累和
流出5:=5的流出日累和
净流5:=5的流进-流出日累和
总额10:=10的成交额日累和
流进10:=10的流进日累和
流出10:=10的流出日累和
净流10:=10的流进-流出日累和
GS赋值:CONST(FIND最高价(总额10,0,190,1))
DRAWBAND(IF(BETWEEN( 到最后交易的周期,30,0),GS的绝对值,DRAWNULL),RGB(0,30,50),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,27,26),CONST(总额),DRAWNULL),RGB(150,10,0),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,26,25),CONST(流进*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,25,24),CONST(流出*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,20,19),CONST(总额3),DRAWNULL),RGB(150,10,0),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,19,18),CONST(流进3*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,18,17),CONST(流出3*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,13,12),CONST(总额5),DRAWNULL),RGB(150,10,0),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,12,11),CONST(流进5*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,11,10),CONST(流出5*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,6,5),CONST(总额10),DRAWNULL),RGB(150,10,0),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,5,4),CONST(流进10*100000000),DRAWNULL),RGB(250,0,250),0,DRAWNULL)
DRAWBAND(IF(BETWEEN( 到最后交易的周期,4,3),CONST(流出10*100000000),DRAWNULL),RGB(0,255,255),0,DRAWNULL)
当满足条件 到最后交易的周期=30时,在GS*0.89和'总额亿'位置书写文字
当满足条件 到最后交易的周期=30时,在GS*0.78和'流进亿'位置书写文字
当满足条件 到最后交易的周期=30时,在GS*0.67和'流出亿'位置书写文字
当满足条件 到最后交易的周期=30时,在GS*0.57和'净流亿'位置书写文字
当满足条件 到最后交易的周期=24时,在GS*0.95和'1日'位置书写文字
当满足条件 到最后交易的周期=18时,在GS*0.95和'3日'位置书写文字
当满足条件 到最后交易的周期=12时,在GS*0.95和'5日'位置书写文字
当满足条件 到最后交易的周期=6时,在GS*0.95和'10日'位置书写文字
DRAWTEXT( 到最后交易的周期=30,GS*0.015,'(一)'),画洋红色
DRAWTEXT( 到最后交易的周期=23,GS*0.015,'(三)'),画洋红色
DRAWTEXT( 到最后交易的周期=16,GS*0.015,'(五)'),画洋红色
DRAWTEXT( 到最后交易的周期=9,GS*0.015,'(十)'),画洋红色
DRAWNUMBER( 到最后交易的周期=25,GS*0.89,CONST(总额/100000000)),画黄色
DRAWNUMBER( 到最后交易的周期=25,GS*0.78,CONST(流进)),画黄色
DRAWNUMBER( 到最后交易的周期=25,GS*0.67,CONST(流出)),画黄色
DRAWNUMBER( 到最后交易的周期=25,GS*0.56,CONST(净流)),画黄色
DRAWNUMBER( 到最后交易的周期=19,GS*0.89,CONST(总额3/100000000)),画黄色
DRAWNUMBER( 到最后交易的周期=19,GS*0.78,CONST(流进3)),画黄色
DRAWNUMBER( 到最后交易的周期=19,GS*0.67,CONST(流出3)),画黄色
DRAWNUMBER( 到最后交易的周期=19,GS*0.56,CONST(净流3)),画黄色
DRAWNUMBER( 到最后交易的周期=13,GS*0.89,CONST(总额5/100000000)), COLORDDFFFF
DRAWNUMBER( 到最后交易的周期=13,GS*0.78,CONST(流进5)), COLORDDFFFF
DRAWNUMBER( 到最后交易的周期=13,GS*0.67,CONST(流出5)), COLORDDFFFF
DRAWNUMBER( 到最后交易的周期=13,GS*0.56,CONST(净流5)), COLORDDFFFF
DRAWNUMBER( 到最后交易的周期=7,GS*0.89,CONST(总额10/100000000)),画黄色
DRAWNUMBER( 到最后交易的周期=7,GS*0.78,CONST(流进10)),画黄色
DRAWNUMBER( 到最后交易的周期=7,GS*0.67,CONST(流出10)),画黄色
DRAWNUMBER( 到最后交易的周期=7,GS*0.56,CONST(净流10)),画黄色