自动成交量指标 (源码)

2012-11-26 09:14:00来源:本站整理浏览:260

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;

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

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式