LC:= REF(C,1);
rsi:SMA(MAX(C-LC,0),14,1)/SMA(Abs(C-LC),14,1)*100,ColorFF00FF;
QS:=HHV(MA(RSI,3),13);
RS:=llV(MA(RSI,3),13);
Var1:=BacKSET(REF(QS,2)=HHV(QS,5),3);
Var2:=crOSS(Var1,0.9);
Var3:=BACKSET(REF(RS,2)=LLV(RS,5),3);
Var4:=CROSS(Var3,0.9);
压力:REF(QS,BArslAST(Var2)),POINTDOT,Color00ff00;
STICKLINE(RSI,REF(QS,BARSLAST(Var2)),REF(QS,BARSLAST(Var2)),5,0),Color00ff00;
DRAWTEXTABS(5,5,' '),linethick1,COLOR00EEff;
支撑:REF(RS,BARSLAST(Var4)),POINTDOT,Color0087FF;
STICKLINE(RSI,REF(RS,BARSLAST(Var4)),REF(RS,BARSLAST(Var4)),5,0),Color0087FF;
F1:=zig(3,15);
F3:IF((F1> REF(F1,1)),0,90);
DRAWTEXT(FILTER(F3,120),20,'下来就买'),COLORyellow;
DRAWTEXT(FILTER(F3,120),10,'上去就卖'),COLORyellow;