通达信用的变色KDJ
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE,LINETHICK2; D:SMA(K,3,1),COLORYELLOW,LINETHICK2; J:3*K-2*D,COLORYELLOW,LINETHICK2; IF(K<REF(K,1),K,DRAWNULL),COLORGREEN,LINETHICK2; IF(D<REF(D,1),D,DRAWNULL),COLORGREEN,LINETHICK2; IF(J<REF(J,1),J,DRAWNULL),COLORFFFF00,LINETHICK2; IF(K>REF(K,1),K,DRAWNULL),COLORRED,LINETHICK2; IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK2; IF(J>REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK2; |
