通达信RSI吸筹指标公式

时间:2022-03-27 12:27:27    阅读:277

通达信RSI吸筹指标公式

 开盘:=INDEXO,NODRAW;
收盘:=INDEXC,NODRAW;
更高:=INDEXH,NODRAW;
更低:=INDEXL,NODRAW;
分:=CONst(LLV(更低,90));百:=CONST(HHV(更高,90))-分;
基点:=CONST(LLV(rsi,90)); 基:=CONST(HHV(RSI,90))-基点;
C比:=(收盘-分)/百;
大盘:C比*基+基点;
LC:=REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),7,1)/SMA(Abs(CLOSE-LC),7,1)*100,COLORFF00FF,LINETHICK2;
20,DOTLINE;
50,DOTLINE,COLORWHITE;
80,DOTLINE,COLOR0099FF;
STICKLINE(RSI>80,80,RSI,2,0),COLORGREEN;
STICKLINE(RSI<20,20,RSI,2,0),COLORRED;

关键词: RSI