RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
TJ:=IF((RSV<5),0,RSV);
投机:=IF((TJ>95),100,TJ),COLOR008000,LINETHICK1;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
中期:=EMA(D,10);
STICKLINE((K>=D),D,REF(D,1),4,0),COLOR0000FF;
STICKLINE((K<D),D,REF(D,1),4,0),COLORFFF000;
RS1:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
RS2:=((CLOSE-LLV(LOW,(5)*(9)))/(HHV(HIGH,(5)*(9))-LLV(LOW,(5)*(9))))*(100);
RS3:=((CLOSE-LLV(LOW,(20)*(9)))/(HHV(HIGH,(20)*(9))-LLV(LOW,(20)*(9))))*(100);
K1:=SMA(RS1,3,1);
K2:=SMA(RS2,3+1,1);
K3:=SMA(RS3,3+2,1);
D1:=SMA(K1,3,1);
D2:=SMA(K2,3+1,1);
D3:=SMA(K3,3+2,1);
DRAWTEXT(CROSS(K1,D1),REF(D,1),'▲'),COLORFF00FF;