别人给的一个挺简单的kdj指标 主要包含kdj选股 和 5日内2次金叉买入 参数如下 n 1 100 9 m1 1 100 3 m2 1 100 3 指标名字【乱云kdj2金】 RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:SMA(RSV,M1,1),colorwhite; D:SMA(K,M2,1),coloryellow; J:3*K-2*D,colorff00ff ; 二次金叉:=COUNT(CROSS(k,d),5)=2; DRAWTEXT(COUNT(CROSS(k,d),5)=2,k,'▲'),color00FF00; DRAWTEXT(COUNT(CROSS(k,d),5)=2,k,'△'),color00FF00; KDJ金叉:if(CROSS(k,d),30,-10),Colorblue; |
