同花顺寻底KD副图指标
源码
RSV:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
JJ:=19*(3*D-2*K);
J:=((3 * K) - (2 * D));
MAIRU:= CROSS(K,D) AND K
MAICHU:= CROSS(D,K) AND D
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,9);
VAR6:=HHV(VAR4,9);
VAR7:=IF(MA(CLOSE,21),1,0);
VAR8:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8 100,100,VAR8);
吸筹:VAR9,LINETHICK1,Color2626FF;
STICKLINE(VAR9 -120,0,VAR9,8,1),Color0000C6;
STICKLINE(VAR9 -120,0,VAR9,4,1),Color0202FF;
STICKLINE(VAR9 -120,0,VAR9,2,1),Color3333FF;
快线:(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,LINETHICK2,ColorFFFF0F;
慢线:SMA(快线,3,1),ColorFF17FF;
空:SMA(慢线,3,1),COLOR00FF00;
BB:=IF(BARSLAST(CROSS(慢线,快线)) =3 AND CROSS(快线,慢线) AND 慢线 30,20,0);
STICKLINE(BB,0,50,8,1),Color00D5D5;
STICKLINE(BB,0,50,4,1),Color00FBFB;
STICKLINE(BB,0,50,2,1),Color33FFFF;
AA:=IF(BARSLAST(CROSS(快线,慢线)) =4 AND CROSS(慢线,快线) AND 快线 50,20,0);
STICKLINE(AA,80,100,8,1),ColorD8D8D8;
STICKLINE(AA,80,100,4,1),ColorE8E8E8;
STICKLINE(AA,80,100,2,1),ColorFFFFFF;