收盘:=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;{www.9m8.cn 九毛八公式指标网}
50,DOTLINE,COLORWHITE;
80,DOTLINE,COLOR0099FF;
STICKLINE(RSI 80,80,RSI,2,0),COLORGREEN;
STICKLINE(RSI 20,20,RSI,2,0),COLORRED;