大智慧操盘KDJ副图指标
源码
varr1:=(sum(h,8)-sum(l,8))/2;
RSVc:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Kc:=sMA(RSVc,3,1);
varr2:=varr1*kc;
varr3:=(varr2+sum(l,8))/150;
压力价:c+varr3/10,Color6E7378;
varr4:=(ref(kc,7)+ref(kc,6)+ref(kc,5)+ref(kc,4)+ref(kc,3)+ref(kc,2)+ref(kc,1)+kc)/8;
varr5:=(kc+varr4)*varr1/150;
拉升价:c+varr5,Color6E7378;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸筹:STICKLINE(VAR9>-120,0,VAR9,6,1),COLORblue;
RSV:=(CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100;
K:SMA(RSV,3,1),COLORWHITE;
D1:=SMA(K,3,1),COLORYELLOW;
K1:=SMA(RSV,10,1),COLORWHITE;
D:SMA(K1,10,1),COLORRED;
J:3*K-2*D1,COLORFF00FF;
stickline(d<ref(d,1),d,d,6,0),color00ff00;
20,POINTDOT,COLOR4455EF,LINETHICK2;
50,POINTDOT,COLOR4455EF,LINETHICK2;
80,POINTDOT,COLOR4455EF,LINETHICK2;
周RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
周k:=SMA(周RSV,15,1);
周D:=SMA(周k,15,1);
kd:(周k-周D),colorstick;
压力线:ref(hhv(k,20),20),coloryellow;