LC:=REF(CLOSE,1);
rsi:SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
A1:20;
A2:85;
A3:90;
AA:=RSI<20;
BB:=RSI>80;
CC:=RSI>90;
STICKLINE(AA,A1,A1*0.9,3,0),COLORRED;
DRAWTEXT(AA,A1*0.92,'底');
STICKLINE(BB,A2,A2*1.03,3,0),COLORGREEN;
DRAWTEXT(BB,A2,'大顶');
STICKLINE(CC,A3,A3*1.05,3,0),COLORFFFFFF;
DRAWTEXT(CC,A3*1.03,'绝顶'),COLORFFFF00;
DRAWICON(CC,A3*1.09,6);