给kdj加条反j线介绍
给kdj加条反j线
给kdj加条反j线,很实用的
用法:JG上穿或接近注意线,关注;JG下穿或接近小心线,小心。
RSVg:=(C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100;
Kg:=SMA(RSVg,3,1);
Dg:=SMA(Kg,3,1);
j1:-(3*Kg-2*Dg)+100,LINETHICK2,Color00FF00;
j2:(if(j1<0 ,0 ,j1)),LINETHICK2,colorred;
jg:if(j2>100,100,j2),ColorFFFFFF,LINETHICK2;
if(REF(J,1)<0.5 AND J>0,30,0),stick,COLORcyan;
if(REF(J,1)<0.5 AND J>0,30,0),COLORcyan;
小心线:0,ColorFF0000;
注意线:93,coloryellow;
partline(j,j>ref(j,1),rgb(255,0,0),j<ref(j,1),rgb(0,255,0)),LINETHICK1,LAYER0;
PARTLINE(jg,jg>92,RGB(255,0,255),jg<0,RGB(0,255,0)),LINETHICK2;
PARTLINE(j1,j1<0,RGB(0,255,0),j1<0,RGB(0,255,0)),LINETHICK2;
gd27240