新KDJ指标(J线躺底3天)KDJ的经典用法

标签:
股票 |
分类: 创新 |
现在介绍J值涨跌因子买卖法:股价经过一轮下跌,J值下穿0(高安全区)后再上穿0时为买入时机(这里排除底背离情况),
若J值没有下穿0(即小于20却大于0),当J值上穿20(安全区)时为买入点;同理股价经过一轮上涨,J值上穿100(高风险区),
后下跌100时(这里排除顶背离情况)为卖出点,若J值上穿80(风险区)而没有上穿100(高风险区)就掉头向下下穿80(风
险区)
源码:RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
0,COLORGREEN,LINETHICK2;
选股公式源码:
K:=SMA(RSV,M1,1),LINETHICK1;
D:=SMA(K,M2,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
COUNT(J<0,8)>=3 AND CROSS(J,1) AND
K>=REF(K,1);
2、60分钟小时线;
60分钟1:=" KDJ.K#MIN60";
60分钟2:=" KDJ.D#MIN60";
60分钟金叉:IF(CROSS(60分钟1,
60分钟2),0.4,0),,COLORFFFFFF;