N1:=3;
xx:= 30;
sx:= 66;
LC := REF(CLOSE,1);
rsi1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100;
抄底线:xx;
逃顶线:sx;
DRAWTEXT(crOSS(RSI1,XX),XX,'出击');
DRAWTEXT(CROSS(SX,RSI1),SX,'逃跑');
N1:=3;
xx:= 30;
sx:= 66;
LC := REF(CLOSE,1);
rsi1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100;
抄底线:xx;
逃顶线:sx;
DRAWTEXT(crOSS(RSI1,XX),XX,'出击');
DRAWTEXT(CROSS(SX,RSI1),SX,'逃跑');