联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

资金观改

2016/12/11 21:27:18点击:

总体分析资金趋势,查看近期是否有资金流入,参考买卖盘
 

//DRAWGBK(DATE>900103,STRIP(RGB(100,180,255),RGB(120,120,255),1));
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0;
进出量:=买量+卖量;
STICKLINE(进出量<0,0,进出量,10,0),COLORFFCC00;
/*
STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900;
STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00;
STICKLINE(进出量<0,0,进出量,0.5,0),colorcyan;
STICKLINE(进出量>0,0,进出量,8,0),COLOR000099;
STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC;
STICKLINE(进出量>0,0,进出量,1.5,0),COLOR0000FF;   */
STICKLINE(进出量>0,0,进出量,10,0),COLOR0000FF;
N:=5;
M:=13;
M日内翻红天:COUNT(进出量>0,M);
N日内净流入:SUM(进出量,N),LINETHICK2,colorgreen;
流入:IF(N日内净流入>REF(N日内净流入,1),N日内净流入,NULL),colorred,LINETHICK2;
连红天:BARSCOUNT(进出量>0);
走熊天:BARSCOUNT(N日内净流入<0),colorcyan;
走牛天:BARSCOUNT(N日内净流入>0),colorred;
强势天:BARSCOUNT((N日内净流入>REF(N日内净流入,1))>0 AND
N日内净流入>0);
弱势天:BARSCOUNT((N日内净流入<REF(N日内净流入,1))>0 AND
N日内净流入<0);