RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:3*K-2*D,COLORMAGENTA;
J涨:=J>REF(J,1);
DRAWICON(J涨,J*0.98,1);
J跌:=J<REF(J,1);
DRAWICON(J跌,J*0.98,2);
LC:=REF(CLOSE,1);
rsi1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100,COLORWHITE;
RSI1涨:=RSI1>REF(RSI1,1);
DRAWICON(RSI1涨,RSI1*0.98,1);
RSI1跌:=RSI1<REF(RSI1,1);
DRAWICON(RSI1跌,RSI1*0.98,2);
RSI1平:=RSI1=REF(RSI1,1);
DRAWICON(RSI1平,RSI1*0.98,7);