通达信新趋势KDJ指标金叉死叉买卖指标公式:
ZK:="KDJ.K"(18,3,3)+EMA(SLOPE("KDJ.K"(18,3,3),13),5)*5,COLORRED;
ZD:="KDJ.D"(18,3,3)+EMA(SLOPE("KDJ.D"(18,3,3),13),5)*5,COLORYELLOW;
ZJ:="KDJ.J"(18,3,3)+EMA(SLOPE("KDJ.J"(18,3,3),13),5)*5,COLORWHITE;
KK:=EMA(ZK,21)*1.2,COLORBLACK,LINETHICK0;
K:EMA(EMA(((SLOPE(KK,2) *5) + KK),3),3),COLORGREEN,LINETHICK1;
DD:=EMA(ZD,21)*1.2,COLORYELLOW;
D:EMA(EMA(((SLOPE(DD,2) *5) + DD),3),3),COLORRED,LINETHICK1;
金叉:DRAWICON(CROSS(K,D) AND K<65,40,1);
死叉:DRAWICON(CROSS(D,K),80,2);
D降:IF(K<REF(D,1),D,DRAWNULL),COLORGREEN,LINETHICK2;
K升:IF(K>REF(K,1),K,DRAWNULL),COLORRED,LINETHICK2;
通达信新趋势KDJ指标金叉死叉买卖指标公式