通达信很火的量动力指标公式通达信公式
2017-07-30 来源:网络 编辑:翔博软件
VAR1:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN))); ZB:=IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*(HIGH-OPEN+CLOSE-LOW),VOL/2)); ZS:=ABS(IF(CLOSEOPEN,-VAR1*(HIGH-CLOSE
VAR1:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)));
ZB:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*(HIGH-OPEN+CLOSE-LOW),VOL/2));
ZS:=ABS(IF(CLOSE>OPEN,-VAR1*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,-VAR1*(HIGH-LOW),-VOL/2)));
主动买盘:=EMA(ZB,2);
主动卖盘:=EMA(ZS,2);
Z:=主动买盘-主动卖盘;
DIFF:=EMA(Z,144)-EMA(Z,189);
DEA:=EMA(DIFF,36);
3*(DIFF-DEA),COLORSTICK,LINETHICK1;