申万宏源技术指标测试大全之三十二— Relative Strength Index
由crisvalentine创建,最终由crisvalentine 被浏览 44 用户
指标介绍
相对强弱指标(Relative Strength Index):简称Rsi
所需数据和参数:Rsi(close,nDay,mDay )
指标伪码:
DIFF:=CLOSE-REF(CLOSE,1);
RSI1:=SMA(MAX(DIFF,0),MDAY,1)/SMA(ABS(DIFF),MDAY,1);
RSI2:=SMA(MAX(DIFF,0),NDAY,1)/SMA(ABS(DIFF),NDAY,1);
RSISHORT:100RSI1/(1+RSI1);
RSILONG:100RSI2/(1+RSI2);
指标含义
/wiki/static/upload/a7/a7eb9dfe-3252-4826-becd-358407974cd2.pdf
\