公式的用法:
大致等同于普通KDJ,同时注意KDJ,尤其是J值大于100,是风险,注意逃顶,
小于0,是超卖,关注抄底机会
J线共振 修改彩带版
N1:=27;N2:=7;
RSV1:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K1:=SMA(RSV1,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
K:AA1,NODRAW;
D:AA2,NODRAW;
J:J1,COLORWHITE;
IF(AA1>AA2,AA2,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(AA1<=AA2,AA2,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWBAND(AA2,RGB(0,0,220),AA1,RGB(252,10,265));
{FILLRGN(中K27,中D27,中K27>中D27),COLORYELLOW;DRAWBAND(红带2,RGB(0,0,220),红带1,RGB(252,10,265)); }
超卖:0,NODRAW;
超买:100,NODRAW;
{RSV2:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:3*K2-2*D2;
BB1:EMA(J2,5);
BB2:REF(BB1,1);
DRAWBAND(BB1,RGB(255,0,0),BB2,RGB(0,0,255));};