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;