RSV:=(V-LLV(LLV(V,1),N))/(HHV(HHV(V,1),N)-LLV(LLV(V,1),N))*100;
K:SMA(RSV,M1,1),COLORWHITE;
D:SMA(K,M2,1),COLORYELLOW;
J:3*K-2*D,COLORMAGENTA;
PP:=V>REF(V,1);
F:=C>O AND HIGH>REF(HIGH,1);
G:=C>O AND LOW>REF(LOW,1) AND C>REF(C,1);
X:=(ATAN((MA(C,1)/REF(MA(C,1),1)-1)*100)*180/3.14115926)>45;
R:=J>REF(J,2) AND J<100;
OK:F AND G AND X AND R AND PP;
JJ:=crOSS(J,OK);
DD:COUNT(CROSS(J,OK),6)<0;
STICKLINE(OK,50,0,0.1,0), ,COLORRED;
DRAWTEXT(OK,20,'买'),COLOR00FFFF;
STICKLINE(J<-10,-10,0,0.1,0), ,COLORRED;
DRAWTEXT(J<-10,-10,'底'),COLOR00FFFF;
STICKLINE(JJ,30,0,0.1,0), ,COLORYELLOW;
DRAWTEXT(JJ,20,'关注'),COLOR00FFFF;