RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(J REF(J,1),HHV(J,3),LLV(J,3),0,0),COLORRED;
STICKLINE(J REF(J,1),J,REF(J,1),3,0),COLORRED;
STICKLINE(J REF(J,1),HHV(J,3),LLV(J,3),0,0),COLORFFAA00;
STICKLINE(J REF(J,1),J,REF(J,1),3,0),COLORFF3300;
预警线:100,COLOR00FF00,DOTLINE;
启动线:0,COLORFF00FF,DOTLINE;
安全线:80,DOTLINE;
分界线:50,DOTLINE,COLORWHITE;
DRAWTEXT(ISLASTBAR,预警线,'预警')COLORRED;
DRAWTEXT(ISLASTBAR,启动线,'启动')COLORMAGENTA;
DRAWTEXT(ISLASTBAR,安全线,'安全')COLORMAGENTA;
DRAWTEXT(ISLASTBAR,分界线,'分界')COLORWHITE;