在线检测未来函数

通达信资金方向3指标公式

来源:Internet,编辑:股旁网,2013-03-20

N:=3;
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,NODRAW;
主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,NODRAW;
DDX:(主买+主卖)*10000/FINANCE(7),NODRAW;
资金动向:SUM(ABS(DDX)*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),N),LINETHICK0;
STICKLINE(资金动向>0,0,资金动向,2,0),COLORRED;
STICKLINE(资金动向<0,0,资金动向,2,0),COLORCYAN;

通达信资金方向3指标公式

 

相关文章