在线检测未来函数

通达信机构1日,3日,5日,10日资金指标公式

来源:Internet,编辑:股旁网,2010-09-05

AA:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*(HIGH-OPEN+CLOSE-LOW),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,-AA*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,-AA*(HIGH-LOW),-VOL/2));
买卖比:=主动买盘/主动卖盘;
卖盘:=VOL-主动买盘;
卖盘大:=(卖盘-主动买盘)/卖盘>0.6;
买盘大:=(主动买盘-卖盘)/主动买盘>0.6;
WJ:=(HIGH+LOW+CLOSE)/3;
VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
VD5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
VD6:=VD1*VD5;
VD7:=VD2*VD5;
VD8:=VD3*VD5;
VD9:=VD4*VD5;
买入量:=VD9+VD8;
卖出量:=VD6+VD7;
卖量:=VOL-买入量;
卖量大:=(卖量-买入量)/卖量>0.4;
买量大:=(买入量-卖量)/买入量>0.4;
买入资金:=买入量*CLOSE/1000000;
卖出资金:=卖出量*CLOSE/1000000;
资金进出:=买入资金-卖出资金;
买卖资金比:=买入资金/卖出资金;
十天资金:=SUM(资金进出,10),COLOR7D9585;
STICKLINE(十天资金>0,15,十天资金+15,3,0),COLORRED;
STICKLINE(十天资金<0,15,十天资金+15,3,0),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,IF(十天资金>=0,15,3.3),'十天'),COLORWHITE;
五天资金:=SUM(资金进出,5),COLORC0C0C0;
STICKLINE(五天资金>0,10,五天资金+10,3,0),COLORMAGENTA;
STICKLINE(五天资金<0,10,五天资金+10,3,0),COLORGRAY;
DRAWTEXT(ISLASTBAR=1,IF(五天资金>=0,10,10),'五天'),COLORWHITE;
三天资金:=SUM(资金进出,3),COLOR00971B;
STICKLINE(三天资金>0,5,三天资金+5,3,0),COLORLIBLUE;
STICKLINE(三天资金<0,5,三天资金+5,3,0),COLORYELLOW;
DRAWTEXT(ISLASTBAR=1,IF(三天资金>=0,5,5),'三天'),COLORWHITE;
{股旁网-股票公式网站 www.Gupang.com}
一天资金:=SUM(资金进出,1),COLOR4040A6;
STICKLINE(一天资金>0,一天资金,0,3,1),COLORRED;
STICKLINE(一天资金<0,一天资金,0,3,1),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,IF(一天资金>=0,0,0),'一天'),COLORWHITE;

通达信机构1日,3日,5日,10日资金指标公式

 

相关文章