RSV:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
短线:ma(j,5);
中线:MA(k,7);
长线:ma(d,25),Linethick2;
DRAWTEXT(CROSS(短线,长线) ,长线+0.19,'强');
DRAWTEXT(CROSS(短线,中线) ,短线-0.03,'买');
DRAWTEXT(CROSS(长线,短线),长线-0.03,'卖')