在线检测未来函数

通达信自动成交量指标公式

来源:Internet,编辑:股旁网,2012-11-24

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
STICKLINE(VOL>0,VOL,0,2,1),COLORWHITE;
STICKLINE(买盘>0,0,买盘,2,0),COLORRED;
STICKLINE(卖盘<0,0,卖盘,2,0),COLOR00FF00;
主买:=IF(C>O,VAR1*(H-L),IF(C<O,VAR1*((H-O)+(C-L)),VOL/2)),COLORRED,NODRAW;
主卖:=IF(C>O,0-VAR1*((H-C)+(O-L)),IF(C<O,0-VAR1*(H-L),0+V/2)),COLOR00FF00,NODRAW;
差:(主买+主卖),NODRAW,COLOR0000FF;
买:=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,COLORRED;
入亿:AMOUNT*买%/10000000000,COLORMAGENTA;
出亿:AMOUNT/100000000-入亿,COLORGREEN;
净亿:入亿-出亿,COLORCYAN,NODRAW;
净亿5:SUM(入亿-出亿,5),COLORCYAN;
成交:VOL,NODRAW,COLOR0000FF;
A:MA(VOL,3)COLORYELLOW;
B:MA(VOL,8)COLORMAGENTA;

通达信自动成交量指标公式

 

相关文章