通达信资金动能指标公式
通达信资金动能指标公式:
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD := 2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:IF(X2>0,X2,0),COLORRED;
STICKLINE(X2>0,0,X2,2,-1),COLORRED;
X4:IF(X2<0,X2,0),COLORGREEN;
STICKLINE(X2<0,0,X2,2,-1),COLORGREEN;
资金动能A:X2,LINETHICK1,COLORBROWN;
资金动能B:X1,LINETHICK1,COLORBLUE;
选股:IF(CROSS(资金动能A,资金动能B) AND 资金动能B<-0.25,1,0);
DRAWICON((CROSS(资金动能A,资金动能B) AND 资金动能B<-0.25),资金动能B,1);
DRAWICON((CROSS(资金动能A,资金动能B) AND 资金动能B<-0.25),选股,26);
通达信资金动能指标公式实例图解:
通达信资金动能指标公式