同花顺解KD副图指标
源码
aa:(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100,coloryellow,linethick2;
买卖:= EMA((-3)*(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30))+2.7,9);
地:EMA(CAPITAL /VOL/CLOSE,10)/CLOSE,linethick0;
趋势: EMA(WINNER(CLOSE)*100,10)/50,linethick0;
天:POW(ATAN(EMA(CAPITAL/VOL/CLOSE,10)),2),linethick0;
STICKLINE(CROSS(买卖,天) OR CROSS(趋势,天),-20,3,5,0), Color0098FF;
STICKLINE(买卖<0,-33,-27,5,0), colorred;
STICKLINE(买卖<0.1 AND 买卖>0,-33,-27,5,0), colorgreen;
STICKLINE(买卖<0.25 AND 买卖>0.1,-33,-27,5,0), coloryellow;
STICKLINE(买卖>1.95,100,95,15,1),colorgreen;
穿透筹码:(100*WINNER(CLOSE)-100*WINNER(REF(CLOSE,1)*1)),linethick0;
套牢盘:100*(1-WINNER(CLOSE)),linethick0;
DRAWICON(CROSS(10,套牢盘),-16,12);
RSVD:=(INDEXC-LLV(INDEXL,12))/(HHV(INDEXH,12)-LLV(INDEXL,12))*100;
KD:=SMA(RSVD,3,1);
DD:=SMA(KD,3,1);
J1:"KDJ.J"(27,5,3),colorred;
STICKLINE(KD>=DD,KD,DD,5,0),COLOR0080FF;
STICKLINE(KD<DD,KD,DD,5,0),COLOR007A00;
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K:SMA(RSV,3,1),colorwhite;
D:SMA(K,3,1),coloryellow;
STICKLINE(K>=D,K,D,2,0),colormagenta;
STICKLINE(K<D,K,D,2,0),colorgreen;
技术低位:-20,colorwhite;
超买线:80;
中间线:50;
超卖线:20,COLORFFCC00;
3,colorwhite;95;