周R:".RSI1#WEEK";月R:"RSI.RSI1#MONTH";N1:=6;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(A(CLOSE-LC),N1,1)*100;全1:=COST(0.01);全套牢底1:L<全套牢1 AND RSI1<20 COLOR8977FF,NODRAW;STICKLINE(全套牢底1,0,38,2,0),COLOR8977FF;全套牢1:REF(全套牢底1,1)=1 RSI1<25,COLOR00FFFF,NODRAW;STICKLINE(全套牢底2,0,20,2,0),COLOR00FFFF;全套牢买点2:REF(全套牢底2,1)=1>全解套2 AND RSI1>83,COLORFFFFFF,NODRAW;STICKLINE(全解套顶2,0,38,2,0),COLORFFFFFF;全解套点2:REF(全解套顶2,1)=1 AND 全解套顶2 =0,COLORFFFF00,NODRAW;STICKLINE(全解套点2,0,50,2,0),COLORFFFF00;DRAWTEXT(全解