J0:=(CLOSE+LOW+OPEN+HIGH)/4;
J1:=MA(J0,11);
RSV:=(J1-LLV(J1,9))/(HHV(J1,9)-LLV(J1,9))*100;
K:SMA(RSV,3,1) ,linethick2,colorred;
D:SMA(K,3,1), linethick2,colorgreen;
J:3*K-2*D, linethick2,colorwhite;
DRAWTEXT((CROSS(k,d)),k,'买',d,),colorred;
DRAWTEXT((CROSS(d,k)),k,'卖',d,),colorgreen;