通达信KDJ日周月指标公式
通达信KDJ日周月指标公式:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE,LINETHICK3;
D:=SMA(K,3,1),COLORYELLOW,LINETHICK3;
J:3*K-2*D,COLORYELLOW,LINETHICK2;
周K:"KDJ.K#WEEK"(9,3,3),COLORLIMAGENTA,LINETHICK2;
周J:"KDJ.J#WEEK"(9,3,3),COLORRED,LINETHICK2;
月K:"KDJ.K#MONTH"(9,3,3),COLORGRAY;
月J:"KDJ.J#MONTH"(9,3,3),COLORLIGRAY;
STICKLINE(周J>=周K,周K,周J,1,0),COLORRED;
STICKLINE(周J<周K,周K,周J,1,0),COLORLIGREEN;
STICKLINE(月J>=月K,月K,月J,0.6,-1),COLORYELLOW;
STICKLINE(月J<月K,月K,月J,0.6,-1),COLORBLUE;
K1:SMA(RSV,3,1),COLORWHITE,LINETHICK3;
J1:3*K-2*D,COLORYELLOW,LINETHICK3;
100,COLORGREEN;
80,DOTLINE,COLORMAGENTA;
50,DOTLINE,COLORRED;
20,DOTLINE,COLORGREEN;
0,COLORYELLOW;
日金叉:IF(CROSS(J,K),10,0),LINESTICK, COLORMAGENTA;
周金叉:IF(CROSS(周J,周K),15,0),LINESTICK, COLORRED;
月金叉:IF(CROSS(月J,月K),20,0),LINESTICK,COLORYELLOW;
通达信KDJ日周月指标公式实例图解:
通达信KDJ日周月指标公式