N1:=6;
LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100;
全套牢:=COST(0.01);
全套牢底:L<全套牢 AND RSI1<20,COLORGREEN,NODRAW;
STICKLINE(全套牢底,0,0.5,1,0),COLORGREEN;
{ _通达信股票指标公式}
全套牢买点:REF(全套牢底,1)=1 AND 全套牢底=0,COLORRED,NODRAW;
STICKLINE(全套牢买点,0,1,1,0),COLORRED;