N:=5;N1:=10;P:=3;M:=21;RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);TJ:=IF((RSV<5>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;分界线:50,Color00FF00,POINTDOT;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)