RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),colorwhite;
D:SMA(K,M2,1),coloryellow;
J:3*K-2*D,colorred;
KD开口:K-D,colorwhite,NODRAW;
顶:100,colorred;
超买:80,coloryellow,DOTLINE;
界:50,colorwhite,DOTLINE;
超卖:20,colorgreen,DOTLINE;
底:0,colorcyan;
DRAWTEXT(CROSS(K,D) AND D<=33,D-5,'买'), colorred;
DRAWTEXT(J<10,-6,'O'), coloryellow;
STICKLINE(K<D AND K<20,0,K,5,0),colorred;
DRAWTEXT(CROSS(D,K) AND D>=68,D+15,'卖'), colormagenta;
DRAWTEXT(J>100 AND K>80 AND K-D>=10,105,' 走'), coloryellow;
DRAWTEXT(CROSS(K,D) AND D>33 AND D<90,D-5,'X'), coloryellow;
DRAWTEXT(CROSS(D,K) AND D>10 AND D<68,D+15,'X'), colorgreen;