飞狐KDJ主图指标
源码
{HZKDJ}
stickline(c>=o,c,o,8,1),COLORred;
stickline(c>=o,o,l,0.1,0),COLORRED;
stickline(c>=o,c,h,0.1,0),COLORRED;
stickline(c<=o,c,o,8,0),COLORcyan;;
stickline(c<=o,h,O,0.1,0),COLORcyan;
stickline(c<=o,C,l,0.1,0),COLORcyan;
MA6:EMA(C,3),LINETHICK1,colorGREEN;
RSV:=(CLOSE-LLV(LOW,1))/(HHV(HIGH,1)-LLV(LOW,1))*6;
K:=SMA(RSV,13,1);
D:=SMA(K,12,1);
KK:=(RSV+REF(K,1)*2-K*2)*(HHV(H,1)-LLV(L,1))/100+LLV(L,1);
DD:=(D*3-K*2)*(HHV(H,1)-LLV(L,1))/68+LLV(L,1);
J:EMA(DD,6),LINETHICK2,colorWHITE;
K转折:EMA(DD,9),LINETHICK2,colorred;
D交:EMA(DD,2),LINETHICK2,coloryellow;